tests: fix a generic init test
parent
f86233c41f
commit
167dcc415d
|
@ -1,4 +1,4 @@
|
||||||
vlib/v/checker/tests/check_generic_int_init.vv:2:9: error: cannot initialize builtin type `int`
|
vlib/v/checker/tests/check_generic_int_init.vv:2:9: error: type `int` is private
|
||||||
1 | fn test<T>() T {
|
1 | fn test<T>() T {
|
||||||
2 | return T{}
|
2 | return T{}
|
||||||
| ~~~
|
| ~~~
|
||||||
|
|
Loading…
Reference in New Issue