v: add selector option unwrapping on if != none
#2959
Annotations
10 errors
Test V fixed tests:
vlib/v/checker/tests/assign_type_mismatch_with_generics_err.vv#L13
cannot assign to `b`: expected `bool`, not `fn (Bar) bool`
|
Test V fixed tests:
vlib/v/checker/tests/assign_type_mismatch_with_generics_err.vv#L13
unexpected `or` block, the field `f` is not an Option or a Result
|
Test V fixed tests:
vlib/v/checker/tests/assign_type_mismatch_with_generics_err.vv#L13
cannot assign to `b`: expected `bool`, not `fn (Bar) bool`
|
Test V fixed tests
unexpected `or` block, the field `f` is not an Option or a Result
|
Test V fixed tests
cannot assign to `b`: expected `bool`, not `fn (Bar) bool`
|
Test V fixed tests:
vlib/v/checker/tests/option_ptr_without_unwrapp_err.vv#L7
cannot use `?&Node` as `Node`, it must be unwrapped first in argument 1 to `set_trace`
|
Test V fixed tests
cannot use `?&Node` as `Node`, it must be unwrapped first in argument 1 to `set_trace`
|
Test V fixed tests:
vlib/v/tests/generics/generics_chans_select_test.v#L38
unexpected `or` block, the field `check` is not an Option or a Result
|
Test V fixed tests:
vlib/v/tests/options/option_unwrap_test.v#L9
unexpected `or` block, the field `parent` is not an Option or a Result
|
Test V fixed tests
Process completed with exit code 1.
|
Loading