/ tests / expectations / parser-statement / statement / expression_fail.out
expression_fail.out
 1  Error [EPAR0370005]: expected an identifier, a program id, an address literal, an integer literal, a static string, '!', '-', '(', ')', '[', ',', 'true', 'false', 'async', 'block', 'network', 'self' -- found ']'
 2      --> test_0:1:2
 3       |
 4     1 | (];
 5       |  ^
 6  Error [EPAR0370005]: expected an identifier, a program id, an address literal, an integer literal, a static string, '!', '-', '(', '[', ']', ',', 'true', 'false', 'async', 'block', 'network', 'self' -- found ')'
 7      --> test_1:1:2
 8       |
 9     1 | [);
10       |  ^
11  Error [EPAR0370050]: Could not lex the following content: `\`.
12  
13      --> test_2:1:2
14       |
15     1 | x\y;
16       |  ^
17  Error [EPAR0370005]: expected an identifier, a program id, an address literal, an integer literal, a static string, '!', '-', '(', '[', 'true', 'false', 'async', 'block', 'network', 'self' -- found ';'
18      --> test_3:1:6
19       |
20     1 | (x,y|;
21       |      ^
22  Error [EPAR0370005]: expected an identifier, a program id, an address literal, an integer literal, a static string, '!', '-', '(', '[', 'true', 'false', 'async', 'block', 'network', 'self' -- found '}'
23      --> test_4:1:3
24       |
25     1 | x[};
26       |   ^
27  Error [EPAR0370005]: expected ')', ',' -- found ']'
28      --> test_5:1:6
29       |
30     1 | (x, y];
31       |      ^