Gitly
English
Русский
Español
日本語
中文
Português
Pricing
Log in
Register
vxx
/
vlib
/
v
/
checker
/
tests
/
wrong_option_unwrap_err.out
7
lines
·
7
sloc
·
265 bytes
·
e253256c304b032a9dbc04867d40707ea6e34b8b
Raw
1
vlib/v/checker/tests/wrong_option_unwrap_err.vv:3:14: error: `or` block must provide a value of type `string`, not `none`
2
1 | fn main() {
3
2 | a := ?string('c')
4
3 | b := a or { none }
5
| ~~~~
6
4 | println(b)
7
5 | }
8