<commit_before>Field projections should be handled the same way, regardless of whether we've
selected:

- the whole expression

  $ $MERLIN single case-analysis -start 2:2 -end 2:11 -filename test.ml <<EOF
  > let f (x : int ref) =
  >   x.contents
  > EOF
  {
    "class": "return",
    "value": [
      {
        "start": {
          "line": 2,
          "col": 2
        },
        "end": {
          "line": 2,
          "col": 12
        }
      },
      "match x.contents with | 0 -> _ | _ -> _"
    ],
    "notifications": []
  }

- just the label

  $ $MERLIN single case-analysis -start 2:4 -end 2:11 -filename test.ml <<EOF
  > let f (x : int ref) =
  >   x.contents
  > EOF
  {
    "class": "error",
    "value": "Destruct not allowed on record_field",
    "notifications": []
  }<commit_msg>destruct: test fields in record expressions<commit_after>Field projections should be handled the same way, regardless of whether we've
selected:

- the whole expression

  $ $MERLIN single case-analysis -start 2:2 -end 2:11 -filename test.ml <<EOF
  > let f (x : int ref) =
  >   x.contents
  > EOF
  {
    "class": "return",
    "value": [
      {
        "start": {
          "line": 2,
          "col": 2
        },
        "end": {
          "line": 2,
          "col": 12
        }
      },
      "match x.contents with | 0 -> _ | _ -> _"
    ],
    "notifications": []
  }

- just the label

  $ $MERLIN single case-analysis -start 2:4 -end 2:11 -filename test.ml <<EOF
  > let f (x : int ref) =
  >   x.contents
  > EOF
  {
    "class": "error",
    "value": "Destruct not allowed on record_field",
    "notifications": []
  }

However, when calling on the field of a record literal, we should destruct the
whole record expression (even though it's pointless):

  $ $MERLIN single case-analysis -start 2:4 -end 2:11 -filename test.ml <<EOF
  > let f () =
  >   { contents = 3 }
  > EOF
  {
    "class": "error",
    "value": "Destruct not allowed on record_field",
    "notifications": []
  }
{'fraction_non_alphanumeric': 0.14385614385614387, 'fraction_numerical': 0.01898101898101898, 'mean_word_length': 2.0440729483282674, 'pattern_counts': {'":': 27, '<': 13, '<?xml version=': 0, '>': 22, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2471172', 'n_tokens_mistral': 708, 'n_tokens_neox': 660, 'n_words': 210}