---
source: full-moon/tests/fail_cases.rs
expression: result.errors
input_file: full-moon/tests/cases/fail/parser/index-4
---
- AstError:
    token:
      start_position:
        bytes: 11
        line: 1
        character: 12
      end_position:
        bytes: 12
        line: 1
        character: 13
      token_type:
        type: Symbol
        symbol: "["
    additional: "expected expression after `[`"
- AstError:
    token:
      start_position:
        bytes: 12
        line: 1
        character: 13
      end_position:
        bytes: 15
        line: 1
        character: 16
      token_type:
        type: Symbol
        symbol: end
    additional: "unexpected token, this needs to be a statement"

