---
source: full-moon/tests/fail_cases.rs
expression: result.errors
input_file: full-moon/tests/cases/fail/tokenizer/wrong-place-shebang
---
- AstError:
    token:
      start_position:
        bytes: 1
        line: 2
        character: 1
      end_position:
        bytes: 2
        line: 2
        character: 2
      token_type:
        type: Symbol
        symbol: "#"
    additional: "unexpected token, this needs to be a statement"
- TokenizerError:
    error:
      UnexpectedToken: "!"
    range:
      - bytes: 2
        line: 2
        character: 2
      - bytes: 3
        line: 2
        character: 3
- AstError:
    token:
      start_position:
        bytes: 3
        line: 2
        character: 3
      end_position:
        bytes: 4
        line: 2
        character: 4
      token_type:
        type: Symbol
        symbol: /
    additional: "unexpected token, this needs to be a statement"
- AstError:
    token:
      start_position:
        bytes: 7
        line: 2
        character: 7
      end_position:
        bytes: 8
        line: 2
        character: 8
      token_type:
        type: Symbol
        symbol: /
    additional: unexpected expression when looking for a statement
- AstError:
    token:
      start_position:
        bytes: 7
        line: 2
        character: 7
      end_position:
        bytes: 8
        line: 2
        character: 8
      token_type:
        type: Symbol
        symbol: /
    additional: "unexpected token, this needs to be a statement"
- AstError:
    token:
      start_position:
        bytes: 11
        line: 2
        character: 11
      end_position:
        bytes: 12
        line: 2
        character: 12
      token_type:
        type: Symbol
        symbol: /
    additional: unexpected expression when looking for a statement
- AstError:
    token:
      start_position:
        bytes: 11
        line: 2
        character: 11
      end_position:
        bytes: 12
        line: 2
        character: 12
      token_type:
        type: Symbol
        symbol: /
    additional: "unexpected token, this needs to be a statement"
- AstError:
    token:
      start_position:
        bytes: 16
        line: 2
        character: 16
      end_position:
        bytes: 22
        line: 2
        character: 22
      token_type:
        type: Identifier
        identifier: luajit
    additional: unexpected expression when looking for a statement
- AstError:
    token:
      start_position:
        bytes: 24
        line: 4
        character: 1
      end_position:
        bytes: 29
        line: 4
        character: 6
      token_type:
        type: Identifier
        identifier: print
    additional: unexpected expression when looking for a statement

