leo/tests/expectations/parser/finalize/finalize_statement_fail.out

12 lines
1.0 KiB
Plaintext
Raw Normal View History

2022-09-07 20:39:00 +03:00
---
namespace: ParseStatement
expectation: Fail
outputs:
2022-11-13 03:35:54 +03:00
- "Error [EPAR0370009]: unexpected string: expected 'expression', found 'finalize'\n --> test:1:1\n |\n 1 | finalize(;\n | ^^^^^^^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found 'finalize'\n --> test:1:1\n |\n 1 | finalize(foo, ,);\n | ^^^^^^^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found 'finalize'\n --> test:1:1\n |\n 1 | finalize(foo, bar)\n | ^^^^^^^^"
- "Error [EPAR0370005]: expected ; -- found 'async'\n --> test:1:7\n |\n 1 | async async finalize(foo);\n | ^^^^^"
- "Error [EPAR0370009]: unexpected string: expected 'expression', found 'finalize'\n --> test:1:1\n |\n 1 | finalize;\n | ^^^^^^^^"
2022-09-21 23:18:50 +03:00
- "Error [EPAR0370005]: expected ; -- found 'finalize'\n --> test:1:6\n |\n 1 | asyn finalize(foo);\n | ^^^^^^^^"
2022-11-13 03:35:54 +03:00
- "Error [EPAR0370005]: expected finalize -- found 'fin'\n --> test:1:13\n |\n 1 | return then fin;\n | ^^^"