v/vlib/v/checker/tests/expression_should_return_an...

8 lines
286 B
Plaintext

vlib/v/checker/tests/expression_should_return_an_option.vv:28:10: error: expression should return an option
26 | }
27 | // should be an checker error:
28 | if x := return_string() {
| ~~~~~~~~~~~~~~~
29 | println('x: $x')
30 | }