v2 / vlib / v / slow_tests / repl / error_and_continue_print.repl
15 lines · 15 sloc · 255 bytes · 510500d21bb7ba298ecfd4d98d7510311be7dd0e
Raw
1a = 3
2b
3[4, 5].filter(it < 5)
4===output===
5error: undefined ident: `a` (use `:=` to declare a variable)
6 5 | import math
7 6 |
8 7 | a = 3
9 | ^
10error: undefined ident: `b`
11 5 | import math
12 6 |
13 7 | println(b)
14 | ^
15[4]
16