diff --git a/vlib/v/parser/tests/fn_type_only_args_no_body.out b/vlib/v/parser/tests/fn_type_only_args_no_body.out index fad0819c17..4484380de1 100644 --- a/vlib/v/parser/tests/fn_type_only_args_no_body.out +++ b/vlib/v/parser/tests/fn_type_only_args_no_body.out @@ -1,6 +1,5 @@ -vlib/v/parser/tests/fn_type_only_args_no_body.vv:2:1: error: functions with type only args can not have bodies +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 | - 4 | fn main() { + 3 | diff --git a/vlib/v/parser/tests/fn_type_only_args_unknown_name.out b/vlib/v/parser/tests/fn_type_only_args_unknown_name.out index 1f94768f83..c79b778199 100644 --- a/vlib/v/parser/tests/fn_type_only_args_unknown_name.out +++ b/vlib/v/parser/tests/fn_type_only_args_unknown_name.out @@ -1,6 +1,5 @@ -vlib/v/parser/tests/fn_type_only_args_unknown_name.vv:2:1: error: functions with type only args can not have bodies +vlib/v/parser/tests/fn_type_only_args_unknown_name.vv:1:16: error: functions with type only args can not have bodies 1 | fn test(param) { + | ^ 2 | } - | ^ - 3 | - 4 | fn main() { + 3 |