v/vlib/v/parser/tests/fn_type_only_args_no_body.out

6 lines
176 B
Plaintext

vlib/v/parser/tests/fn_type_only_args_no_body.vv:1:14: error: functions with type only args can not have bodies
1 | fn test(int) {
| ^
2 | }
3 |