Gitly
English
Русский
Español
日本語
中文
Português
Log in
Register
v2
/
vlib
/
v
/
slow_tests
/
repl
/
error_and_continue_print.repl
15
lines
·
15
sloc
·
255 bytes
·
510500d21bb7ba298ecfd4d98d7510311be7dd0e
Raw
1
a = 3
2
b
3
[4, 5].filter(it < 5)
4
===output===
5
error: undefined ident: `a` (use `:=` to declare a variable)
6
5 | import math
7
6 |
8
7 | a = 3
9
| ^
10
error: undefined ident: `b`
11
5 | import math
12
6 |
13
7 | println(b)
14
| ^
15
[4]
16