---
source: full-moon/tests/fail_cases.rs
expression: result.errors
input_file: full-moon/tests/cases/fail/parser/if-6
---
- AstError:
    token:
      start_position:
        bytes: 15
        line: 2
        character: 6
      end_position:
        bytes: 19
        line: 2
        character: 10
      token_type:
        type: Symbol
        symbol: then
    additional: "expected `end` to conclude `if`"
- AstError:
    token:
      start_position:
        bytes: 15
        line: 2
        character: 6
      end_position:
        bytes: 19
        line: 2
        character: 10
      token_type:
        type: Symbol
        symbol: then
    additional: "unexpected token, this needs to be a statement"

