leo/tests/expectations/parser/statement/expression_fail.out
2022-07-28 14:14:25 -07:00

11 lines
729 B
Plaintext

---
namespace: ParseStatement
expectation: Fail
outputs:
- "Error [EPAR0370009]: unexpected string: expected 'expression', found ']'\n --> test:1:2\n |\n 1 | (];\n | ^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found '['\n --> test:1:1\n |\n 1 | [);\n | ^"
- "Error [EPAR0370017]: Could not lex the following content: `\\y`.\n"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found ';'\n --> test:1:6\n |\n 1 | (x,y|;\n | ^"
- "Error [EPAR0370005]: expected ; -- found '['\n --> test:1:2\n |\n 1 | x[};\n | ^"
- "Error [EPAR0370005]: expected ) -- found ']'\n --> test:1:6\n |\n 1 | (x, y];\n | ^"