|
1 | | -vlib/v/checker/tests/unwrapped_option_result_in_operation_err.vv:3:6: error: unwrapped result cannot be used with `!in` |
| 1 | +vlib/v/checker/tests/unwrapped_option_result_in_operation_err.vv:3:6: error: unwrapped Result cannot be used with `!in` |
2 | 2 | 1 | fn main() { |
3 | 3 | 2 | list := ['string'] |
4 | 4 | 3 | _ = return_string_or_error() !in list |
5 | 5 | | ~~~~~~~~~~~~~~~~~~~~~~~~ |
6 | 6 | 4 | _ = return_string_or_error() in list |
7 | 7 | 5 | _ = return_string_or_none() in list |
8 | | -vlib/v/checker/tests/unwrapped_option_result_in_operation_err.vv:4:6: error: unwrapped result cannot be used with `in` |
| 8 | +vlib/v/checker/tests/unwrapped_option_result_in_operation_err.vv:4:6: error: unwrapped Result cannot be used with `in` |
9 | 9 | 2 | list := ['string'] |
10 | 10 | 3 | _ = return_string_or_error() !in list |
11 | 11 | 4 | _ = return_string_or_error() in list |
12 | 12 | | ~~~~~~~~~~~~~~~~~~~~~~~~ |
13 | 13 | 5 | _ = return_string_or_none() in list |
14 | 14 | 6 | _ = return_string_or_error() !in list |
15 | | -vlib/v/checker/tests/unwrapped_option_result_in_operation_err.vv:5:6: error: unwrapped option cannot be used with `in` |
| 15 | +vlib/v/checker/tests/unwrapped_option_result_in_operation_err.vv:5:6: error: unwrapped Option cannot be used with `in` |
16 | 16 | 3 | _ = return_string_or_error() !in list |
17 | 17 | 4 | _ = return_string_or_error() in list |
18 | 18 | 5 | _ = return_string_or_none() in list |
19 | 19 | | ~~~~~~~~~~~~~~~~~~~~~~~ |
20 | 20 | 6 | _ = return_string_or_error() !in list |
21 | 21 | 7 | } |
22 | | -vlib/v/checker/tests/unwrapped_option_result_in_operation_err.vv:6:6: error: unwrapped result cannot be used with `!in` |
| 22 | +vlib/v/checker/tests/unwrapped_option_result_in_operation_err.vv:6:6: error: unwrapped Result cannot be used with `!in` |
23 | 23 | 4 | _ = return_string_or_error() in list |
24 | 24 | 5 | _ = return_string_or_none() in list |
25 | 25 | 6 | _ = return_string_or_error() !in list |
|
0 commit comments