0 branches
Tree
Top files
Clone with HTTPS:
README.md
tests: add parser/tests/, move checker_test.v=>compiler_errors_test.v
6 years ago
76 bytes
already_existing_sym_err.out
parser: fn type declaration does not check already registered name (#20732)
2 years ago
261 bytes
anon_sum_type_interface.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
34 bytes
array_decl_type_alias_err.vv
parser: disallow all `array` usage outside of builtin (#18222)
3 years ago
17 bytes
array_decl_type_err.out
parser: disallow all `array` usage outside of builtin (#18222)
3 years ago
215 bytes
array_decl_type_err.vv
parser: disallow all `array` usage outside of builtin (#18222)
3 years ago
36 bytes
array_decl_type_struct_field_err.out
parser: disallow all `array` usage outside of builtin (#18222)
3 years ago
384 bytes
array_decl_type_struct_field_err.vv
parser: disallow all `array` usage outside of builtin (#18222)
3 years ago
167 bytes
array_init.vv
parser: add error for array init of Results `[]!type{}` (fix #23360) (#23375)
1 year ago
54 bytes
array_init_given_len_not_given_err.vv
parser: disallow the array init: attr, when the len: attr is not provided (#16735)
3 years ago
238 bytes
array_init_parenthesized_optional_elem_type.vv
parser: fix array init with parenthesized optional elem type (fixes #16515)
last Feb 26
265 bytes
array_pos_err.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
24 bytes
assert_missing_comma_message_err.vv
parser: fix assert without comma but with message confusion with vfmt (fixes #25005)
last Apr 14
34 bytes
argumented_op_overloading_fn_decl_err.vv
parser: add more precise errors, for `fn (p Point) += (q Point) Point {` (#17167)
3 years ago
226 bytes
argumented_op_overloading_fn_op_overloaded_decl_err.out
parser: add more precise errors, for `fn (p Point) += (q Point) Point {` (#17167)
3 years ago
325 bytes
argumented_op_overloading_fn_op_overloaded_decl_err.vv
parser: add more precise errors, for `fn (p Point) += (q Point) Point {` (#17167)
3 years ago
298 bytes
builtin_alias_type_name_err.out
parser: disallow having builtin type as type names for `enum`, `sum type` and `alias` (#19043)
2 years ago
176 bytes
already_existing_sym_err.vv
parser: fn type declaration does not check already registered name (#20732)
2 years ago
207 bytes
anon_sum_type_struct.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
31 bytes
anon_unused_param.out
parser: require anonymous fn to use `_` for unused parameters (#9262)
5 years ago
140 bytes
anon_unused_param.vv
parser: require anonymous fn to use `_` for unused parameters (#9262)
5 years ago
16 bytes
argumented_op_overloading_fn_decl_err.out
parser: add more precise errors, for `fn (p Point) += (q Point) Point {` (#17167)
3 years ago
292 bytes
array_decl_type_alias_err.out
parser: disallow all `array` usage outside of builtin (#18222)
3 years ago
194 bytes
array_init.out
parser: add error for array init of Results `[]!type{}` (fix #23360) (#23375)
1 year ago
629 bytes
array_init_given_len_not_given_err.out
parser: disallow the array init: attr, when the len: attr is not provided (#16735)
3 years ago
326 bytes
array_init_parenthesized_optional_elem_type.out
parser: fix array init with parenthesized optional elem type (fixes #16515)
last Feb 26
n/a
assert_missing_comma_message_err.out
parser: fix assert without comma but with message confusion with vfmt (fixes #25005)
last Apr 14
200 bytes
builtin_sum_type_type_name_err.out
parser: disallow having builtin type as type names for `enum`, `sum type` and `alias` (#19043)
2 years ago
179 bytes
c_struct_no_embed.out
all: make all `struct C.XYZ` -> `pub struct C.XYZ` (#19651)
2 years ago
147 bytes
c_struct_no_embed.vv
all: make all `struct C.XYZ` -> `pub struct C.XYZ` (#19651)
2 years ago
52 bytes
chan_no_type_array_fn_arg_err.vv
parser: disallow untyped `chan` used as a fn parameter type (fix #25818) (#25854)
last Nov 29
32 bytes
chan_no_type_err.vv
parser: disallow untyped `chan` used as a fn parameter type (fix #25818) (#25854)
last Nov 29
12 bytes
chan_no_type_map_fn_arg_err.out
parser: disallow untyped `chan` used as a fn parameter type (fix #25818) (#25854)
last Nov 29
218 bytes
chan_no_type_option_err.out
parser: disallow untyped `chan` used as a fn parameter type (fix #25818) (#25854)
last Nov 29
186 bytes
chan_no_type_ref_err.out
parser: disallow untyped `chan` used as a fn parameter type (fix #25818) (#25854)
last Nov 29
183 bytes
check_undefined_variables_too_deep_nested.out
parser: check assign expr with undefined variables of struct_init (#13495)
4 years ago
11.86 KB
closure_not_declared.out
checker: fix typo `explictly` -> `explicitly` in error message (#21698)
2 years ago
726 bytes
closure_not_declared.vv
all: initial support for closures (x64 / linux-only) (#11114)
4 years ago
63 bytes
closure_undefined_var.out
all: initial support for closures (x64 / linux-only) (#11114)
4 years ago
227 bytes
closure_undefined_var.vv
all: initial support for closures (x64 / linux-only) (#11114)
4 years ago
70 bytes
attribute_call_syntax.vv
revert: deprecated_after attribute change (fixes #19138) - incomplete, breaks time/format.v
last Apr 14
360 bytes
builtin_alias_type_name_err.vv
parser: disallow having builtin type as type names for `enum`, `sum type` and `alias` (#19043)
2 years ago
18 bytes
builtin_enum_type_name_err.out
parser: disallow having builtin type as type names for `enum`, `sum type` and `alias` (#19043)
2 years ago
192 bytes
builtin_enum_type_name_err.vv
parser: disallow having builtin type as type names for `enum`, `sum type` and `alias` (#19043)
2 years ago
23 bytes
builtin_sum_type_type_name_err.vv
parser: disallow having builtin type as type names for `enum`, `sum type` and `alias` (#19043)
2 years ago
21 bytes
chan_no_type_array_fn_arg_err.out
parser: disallow untyped `chan` used as a fn parameter type (fix #25818) (#25854)
last Nov 29
206 bytes
chan_no_type_err.out
parser: disallow untyped `chan` used as a fn parameter type (fix #25818) (#25854)
last Nov 29
160 bytes
chan_no_type_fn_arg_err.out
parser: disallow untyped `chan` used as a fn parameter type (fix #25818) (#25854)
last Nov 29
176 bytes
chan_no_type_fn_arg_err.vv
parser: disallow untyped `chan` used as a fn parameter type (fix #25818) (#25854)
last Nov 29
20 bytes
chan_no_type_map_fn_arg_err.vv
parser: disallow untyped `chan` used as a fn parameter type (fix #25818) (#25854)
last Nov 29
39 bytes
chan_no_type_option_err.vv
parser: disallow untyped `chan` used as a fn parameter type (fix #25818) (#25854)
last Nov 29
25 bytes
chan_no_type_ref_err.vv
parser: disallow untyped `chan` used as a fn parameter type (fix #25818) (#25854)
last Nov 29
25 bytes
check_undefined_variables_too_deep_nested.vv
parser: prevent too deep recursions in p.check_undefined_variables
4 years ago
11.74 KB
Put here tests, ensuring that the v's parser errors for certain situations.