We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e93c344 commit 4578af3Copy full SHA for 4578af3
1 file changed
vlib/v/tests/generics/generic_array_pass_test.v
@@ -9,7 +9,6 @@ pub fn decode[T](val string) !T {
9
10
fn (mut decoder Decoder) decode_value[T](mut val T) ! {
11
$if T.unaliased_typ is $array {
12
- // checking wrongly. `decode_array` think that `[]?int` is `[]int`
13
decoder.decode_array(mut val)!
14
return
15
} $else $if T.unaliased_typ is $struct {
0 commit comments