v2 / vlib / v / checker / tests / cast_void.out
4 lines · 4 sloc · 183 bytes · 9ba6c23d5c2f3f4360882886de5372c0f671647d
Raw
1vlib/v/checker/tests/cast_void.vv:1:12: error: expression does not return a value so it cannot be cast
2 1 | num := int(print(''))
3 | ~~~~~~~~~
4 2 | println(num)
5