Skip to content

checker: fix mut var option unwrap with != none #8061

checker: fix mut var option unwrap with != none

checker: fix mut var option unwrap with != none #8061

Triggered via pull request November 23, 2024 00:11
Status Failure
Total duration 51m 57s
Artifacts

windows_ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

18 errors
tcc: vlib/v/tests/generics/generic_selector_test.v#L30
cannot use `?` on non-option variable
tcc: vlib/v/tests/generics/generic_selector_test.v#L31
`curr_node` is immutable, declare it with `mut` to make it mutable
tcc: vlib/v/tests/generics/generic_selector_test.v#L33
cannot use `?` on non-option variable
tcc: vlib/v/tests/generics/generic_selector_test.v#L33
`curr_node` is immutable, declare it with `mut` to make it mutable
tcc: vlib/v/tests/options/option_var_test.v#L208
cannot use `?` on non-option variable
tcc
Process completed with exit code 1.
msvc: vlib/v/tests/generics/generic_selector_test.v#L30
cannot use `?` on non-option variable
msvc: vlib/v/tests/generics/generic_selector_test.v#L31
`curr_node` is immutable, declare it with `mut` to make it mutable
msvc: vlib/v/tests/generics/generic_selector_test.v#L33
cannot use `?` on non-option variable
msvc: vlib/v/tests/generics/generic_selector_test.v#L33
`curr_node` is immutable, declare it with `mut` to make it mutable
msvc: vlib/v/tests/options/option_var_test.v#L208
cannot use `?` on non-option variable
msvc
Process completed with exit code 1.
gcc: vlib/v/tests/generics/generic_selector_test.v#L30
cannot use `?` on non-option variable
gcc: vlib/v/tests/generics/generic_selector_test.v#L31
`curr_node` is immutable, declare it with `mut` to make it mutable
gcc: vlib/v/tests/generics/generic_selector_test.v#L33
cannot use `?` on non-option variable
gcc: vlib/v/tests/generics/generic_selector_test.v#L33
`curr_node` is immutable, declare it with `mut` to make it mutable
gcc: vlib/v/tests/options/option_var_test.v#L208
cannot use `?` on non-option variable
gcc
Process completed with exit code 1.