Gitly
English
Русский
Español
日本語
中文
Português
Pricing
Log in
Register
vxx2
/
vlib
/
v
/
checker
/
tests
/
wrong_or_expr_err.out
6
lines
·
6
sloc
·
263 bytes
·
0059ca856e83f869a4dc16c1f4d26175d502a0a7
Raw
1
vlib/v/checker/tests/wrong_or_expr_err.vv:7:31: error: wrong return type `string` in the `or {}` block, expected `i16`
2
5 | return 1
3
6 | }
4
7 | println('${get_number() or { '1' }}')
5
| ~~~
6
8 | }
7