tests: fix a generic init test

pull/9293/head
Alexander Medvednikov 2021-03-13 18:46:02 +03:00
parent f86233c41f
commit 167dcc415d
1 changed files with 1 additions and 1 deletions

View File

@ -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{}
| ~~~