Gitly
English
Русский
Español
日本語
中文
Português
Log in
Register
v2
/
vlib
/
v
/
checker
/
tests
/
fn_result_option_call_infix_err.out
6
lines
·
6
sloc
·
279 bytes
·
69b4b41273d5e8c8caa5ca75896b9ba402609bbd
Raw
1
vlib/v/checker/tests/fn_result_option_call_infix_err.vv:7:14: error: propagating a Result like an Option is deprecated, use `foo()!` instead of `foo()?`
2
5 | fn main() {
3
6 | assert foo()! == 'foo'
4
7 | assert foo()? == 'foo'
5
| ^
6
8 | }
7