pull/13646/head
Kyle Lin 2022-03-04 01:07:11 +08:00
parent 14ad4a17c6
commit 403a303351
2 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,3 @@
vlib/v/parser/tests/fn_body_start_pos.vv:1:14: error: functions with type only args can not have bodies
1 | fn func(int) {}
| ^

View File

@ -0,0 +1 @@
fn func(int) {}