mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tests: fix a generic init test
This commit is contained in:
@@ -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 {
|
||||
2 | return T{}
|
||||
| ~~~
|
||||
|
||||
Reference in New Issue
Block a user