0 branches
Tree
Top files
Clone with HTTPS:
amod
checker: fix pub field of private struct accessible outside module (fixes #26625)
last Mar 25
300 bytes
module_with_deprecated_structs
revert: deprecated_after attribute change (fixes #19138) - incomplete, breaks time/format.v
last Apr 14
870 bytes
run
cgen: fix showing the line where interface is used as generic type (fixes #23004)
last Mar 25
3.42 KB
returns
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
56 bytes
templates
veb: fix @import gives `invalid character` but should `undefined ident` (fixes #23623)
last Feb 26
39 bytes
generics_inst_non_generic_struct_err.vv
checker: cleanup the generic tests (#20553)
2 years ago
56 bytes
a_test_file_with_0_test_fns_test.vv
all: support _test.vv files (to test _test.v errors/checks too)
5 years ago
12 bytes
generics_interface_declaration_err.out
checker: cleanup the generic tests (#20553)
2 years ago
253 bytes
chan_unknown_err.vv
checker: fix chan element type validation with inexistent type (fix #23978) (#24008)
1 year ago
89 bytes
add_op_wrong_type_err.out
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
3.4 KB
addr_of_invalid_expr.out
checker: disallow `&((&a))` and similar expressions, with innermost `ast.PrefixExpr` (enhance #23418) (#23419)
1 year ago
193 bytes
alias_array_unknown_op_overloading_err.out
checker: check alias of array op overloading and fix op overloading (fix #22851) (#22854)
1 year ago
1.59 KB
alias_map_unknown_op_overloading_err.out
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
457 bytes
alias_to_generic_err.out
checker: fix missing check for alias to generic type (fix #22359) (#22360)
1 year ago
183 bytes
alias_type_cast_option_result_unhandled_err.out
checker: optimize option and result typ check, add more typinfo to error details (#21105)
2 years ago
333 bytes
check_incompatible_struct.out
checker: disallow `Bar{...foo}` when Bar needs more fields, than what `foo` has (#16609)
3 years ago
465 bytes
comptime_match_value_different_type.out
checker,cgen: add comptime match support (#25165)
last Aug 25
658 bytes
comptime_match_value_type_mix_check.vv
checker,cgen: add comptime match support (#25165)
last Aug 25
288 bytes
always_true_false_branch.vv
checker,transformer: add always true/false branch detection for the `if` and `match` constructs (#25674)
last Nov 9
2.56 KB
or_block_assert_err.out
checker: cleanup and move test files to tests directory (#22870)
1 year ago
587 bytes
comptime_param_not_fn_err.vv
checker: disallow iterating through .params, for types that are not a function/method (#22428)
1 year ago
72 bytes
infix_sumtype_in_array_err.out
checker: fix mut smartcasts not working correctly (fixes #17440)
last Apr 15
n/a
ambiguous_field_method_err.out
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
1.2 KB
ambiguous_function_call.vv
checker: merge ambiguous_function_call tests (#8388)
5 years ago
108 bytes
anon_arg_redefinition_err.vv
parser: check for anonymous function param redefinitions (#17382)
3 years ago
42 bytes
anon_fn_without_body.vv
checker: always trigger error for anon fns without a body block (#16358)
3 years ago
64 bytes
anon_missing_generic_err.vv
checker: fix missing check for fn var with generic return inherited to anon fn (fix #19045) (#22683)
1 year ago
510 bytes
anon_struct_assign_err.vv
checker: add missing check for mismatch anon struct to typed struct (#18250)
3 years ago
108 bytes
any_int_float_ban_err.out
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
1.44 KB
any_int_float_ban_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
196 bytes
append_err.out
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
961 bytes
append_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
76 bytes
append_fixed_array_to_empty_interface_array_err.out
checker: fix empty interface array push with fixed array c error (fixes #23011)
last Apr 15
243 bytes
array_builtin_method_args_err.vv
checker: check array builtin method's arguments (#14119)
4 years ago
169 bytes
array_builtin_redefinition.out
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
298 bytes
array_cmp_err.out
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
1.18 KB
array_contains_args_err.out
checker: simplify checking array.contains() argument (#14133)
4 years ago
1.59 KB
array_count_err.out
checker: disallow invalid expr for `filter`, `count`, `any`, `all` (fix #24508) (#24540)
1 year ago
897 bytes
array_count_err.vv
v: add array.count as a method that accepts a predicate, similar to filter, but returning just the number of matches (#23054)
1 year ago
79 bytes
array_declare_element_b.vv
parser: trigger declaration of array element as error
6 years ago
42 bytes
array_declare_element_c.vv
parser: trigger declaration of array element as error
6 years ago
55 bytes
array_delete_arg_mismatch_err.vv
checker: check array.delete() argument mismatch (#22307)
1 year ago
275 bytes
array_delete_print_err.out
checker: missing mutability check for array.delete calls (#18096)
3 years ago
509 bytes
array_element_type.out
checker: improve array literal element type mismatch error (#6825)
5 years ago
383 bytes
array_filter_fn_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
369 bytes
array_filter_map_array_expression_as_argument_err.out
checker: disallow array append as expression in `.map` and `.filter methods (#15823)
3 years ago
353 bytes
array_filter_map_option_function_err.out
checker: extract vlib/v/checker/errors.v, use maps for c.error_lines, c.warning_lines, c.notice_lines, dedup all errors, warns, and notices
2 years ago
1.25 KB
array_fixed_no_free_method_call_err.vv
checker: give an error for `.free()` method calls, when used on fixed arrays (#20320)
2 years ago
196 bytes
array_generic_methods_err.vv
checker: fix array method error message with generic type (fix #23283) (#23304)
1 year ago
139 bytes
array_index.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
149 bytes
array_index_args_err.vv
checker: check error for array.index() argument (#14147)
4 years ago
162 bytes
array_init_decompose_extra_params.vv
cgen,checker: improve handling of array decompose for dynamic arrays and array init (fix #25838) (#25843)
last Nov 28
719 bytes
array_init_element_option_mismatch_err.vv
checker: fix option mismatch checking on array initializations (fix #20409) (#20415)
2 years ago
143 bytes
array_init_option_err.vv
checker: add check for unwrapped option in array cap (#17851)
3 years ago
271 bytes
array_init_with_len_cap_err.out
checker: fix negative cap, len checks in array init (#19694)
2 years ago
350 bytes
array_init_without_init_value_err.out
checker: fix and cleanup uninitialized checks for array initialisers with `len:` (fix #20272) (#20279)
2 years ago
3.6 KB
array_insert_prepend_args_err.out
checker: check array insert/prepend arguments (#11295)
4 years ago
1.64 KB
array_insert_type_mismatch.out
checker: allow fixed array where voidptr is expected (fix #23090) (#23100)
1 year ago
2.28 KB
array_insert_val_err.out
checker: allow fixed array where voidptr is expected (fix #23090) (#23100)
1 year ago
567 bytes
array_literal_modify_err.out
checker: extract vlib/v/checker/errors.v, use maps for c.error_lines, c.warning_lines, c.notice_lines, dedup all errors, warns, and notices
2 years ago
687 bytes
array_map_arg_mismatch.out
checker: improve errors for `return` count mismatch (#8686)
5 years ago
421 bytes
array_map_elements_ref_fields_uninitialized_err.out
checker: remove unnecessary struct ref field initialization checks and notifications at map initializing(fix #20245) (#20251)
2 years ago
906 bytes
array_map_fn_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
478 bytes
array_map_void_fn_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
61 bytes
array_method_call_immutable_err.out
checker: check array builtin method calls, that do need a mutable receiver, but are called on an immutable one (fix #22850) (#22853)
1 year ago
2.14 KB
array_method_invalid_expr.out
checker: disallow invalid expr for `filter`, `count`, `any`, `all` (fix #24508) (#24540)
1 year ago
1.08 KB
array_none_element_err.out
checker: fix missing check for `a := [none]` (fix #23457) (#23504)
1 year ago
225 bytes
array_of_generic_struct_init_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
62 bytes
array_of_refs_insert_non_ref.out
checker: prevent array.insert for array of references when non-reference is passed (fix #25511) (#25557)
last Oct 22
442 bytes
array_of_refs_mutability.vv
checker: do not allow modifying immutable vars via arrays with refs
2 years ago
157 bytes
array_of_sumtype_append_err.vv
checker: array returned by function bypasses illegal sumtype conversion checker error (fixes #23271)
last Mar 11
204 bytes
array_or_map_assign_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
313 bytes
array_plus_assign_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
125 bytes
array_prepend_type_mismatch.vv
checker: fix multi_array type mismatch check (#7486)
5 years ago
252 bytes
array_sort_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
108 bytes
array_sort_function_type_err.vv
checker: fix ice when sorting an array of functions (fixes #10739)
last Apr 21
74 bytes
array_sort_with_compare_ref_elem_err.out
checker: extract vlib/v/checker/errors.v, use maps for c.error_lines, c.warning_lines, c.notice_lines, dedup all errors, warns, and notices
2 years ago
697 bytes
array_voidptr_assign_err.out
checker: disallow `arr = voidptr(0)` (fix #23675) (#23687)
1 year ago
653 bytes
arraydecompose_arg2_err.out
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
229 bytes
arraydecompose_arg_err.vv
cgen, checker: allow array decompose on non-variadic func call (e.g call(...arr)) (#17284)
3 years ago
129 bytes
arrow_op_wrong_left_type_err_a.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
193 bytes
arrow_op_wrong_left_type_err_b.out
all: improve unused variable warning (fix `x = 1`, `x += 1` etc)
5 years ago
251 bytes
arrow_op_wrong_right_type_err_a.out
all: make type system use source name & cleanup storing name in fields
5 years ago
219 bytes
arrow_op_wrong_right_type_err_b.out
checker: produce more informative error messages on ~,!,-,<- operator type mismatches
3 years ago
294 bytes
arrow_op_wrong_right_type_err_b.vv
all: handle `<-` arrow token for channel operations (#6152)
5 years ago
55 bytes
as_cast_option_result_unhandled_err.out
checker: optimize option and result typ check, add more typinfo to error details (#21105)
2 years ago
293 bytes
as_cast_selector_expr_err.out
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
275 bytes
asm_immutable_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
226 bytes
assert_extra_message.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
249 bytes
assign_anon_struct_to_typed_struct_err.vv
checker: disallow assigning anon `struct` to typed `struct` (#18017)
3 years ago
125 bytes
assign_array_init_with_no_type.out
checker: check assigning array_init with no type (#10757)
5 years ago
443 bytes
assign_const_ptr_int_literal_err.out
checker: disallow references to constants (fix #23935) (#23942)
1 year ago
533 bytes
assign_deref_fn_call_on_left_side_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
86 bytes
assign_enum_at_comptime.vv
checker,json2: relax checking of x.enum = integer at comptime; refactor json2 to clean it up (#16926)
3 years ago
166 bytes
assign_expr_channel_push.vv
checker: disallow `<-` (channel push) on right-hand side of assignment (fix #12309) (#12321)
4 years ago
33 bytes
assign_expr_type_err_a.vv
all: improve unused variable warning (fix `x = 1`, `x += 1` etc)
5 years ago
50 bytes
assign_expr_type_err_b.vv
all: improve unused variable warning (fix `x = 1`, `x += 1` etc)
5 years ago
54 bytes
assign_expr_type_err_c.out
checker: extract vlib/v/checker/errors.v, use maps for c.error_lines, c.warning_lines, c.notice_lines, dedup all errors, warns, and notices
2 years ago
477 bytes
assign_expr_type_err_d.out
checker: extract vlib/v/checker/errors.v, use maps for c.error_lines, c.warning_lines, c.notice_lines, dedup all errors, warns, and notices
2 years ago
472 bytes
assign_expr_type_err_e.vv
all: improve unused variable warning (fix `x = 1`, `x += 1` etc)
5 years ago
55 bytes
assign_expr_type_err_f.out
checker: extract vlib/v/checker/errors.v, use maps for c.error_lines, c.warning_lines, c.notice_lines, dedup all errors, warns, and notices
2 years ago
456 bytes
assign_expr_type_err_g.vv
all: improve unused variable warning (fix `x = 1`, `x += 1` etc)
5 years ago
54 bytes
assign_expr_type_err_h.out
checker: extract vlib/v/checker/errors.v, use maps for c.error_lines, c.warning_lines, c.notice_lines, dedup all errors, warns, and notices
2 years ago
472 bytes
assign_expr_type_err_i.out
checker: extract vlib/v/checker/errors.v, use maps for c.error_lines, c.warning_lines, c.notice_lines, dedup all errors, warns, and notices
2 years ago
470 bytes
assign_expr_undefined_err_b.out
v: refactor $var to ${var} across entire repository, make vfmt always output the newer form `${expr}` (#26494)
last Feb 1
200 bytes
assign_expr_undefined_err_b.vv
v: refactor $var to ${var} across entire repository, make vfmt always output the newer form `${expr}` (#26494)
last Feb 1
51 bytes
assign_expr_undefined_err_c.vv
v: refactor $var to ${var} across entire repository, make vfmt always output the newer form `${expr}` (#26494)
last Feb 1
59 bytes
assign_expr_undefined_err_d.vv
v: refactor $var to ${var} across entire repository, make vfmt always output the newer form `${expr}` (#26494)
last Feb 1
39 bytes
assign_expr_undefined_err_f.out
v: refactor $var to ${var} across entire repository, make vfmt always output the newer form `${expr}` (#26494)
last Feb 1
209 bytes
assign_expr_undefined_err_f.vv
v: refactor $var to ${var} across entire repository, make vfmt always output the newer form `${expr}` (#26494)
last Feb 1
58 bytes
assign_expr_undefined_err_h.out
parser: make `v := f(v)' an undefined variable error (#8634)
5 years ago
193 bytes
assign_expr_undefined_err_h.vv
parser: make `v := f(v)' an undefined variable error (#8634)
5 years ago
68 bytes
assign_expr_undefined_err_i.out
parser: disallow the array init: attr, when the len: attr is not provided (#16735)
3 years ago
229 bytes
assign_expr_undefined_err_j.out
parser: check undefined variables in assign_stmt (#10755)
5 years ago
191 bytes
assign_expr_undefined_err_k.out
vlib: remove deprecated map{} usages as well as deprecated functions (#11035)
4 years ago
204 bytes
assign_expr_undefined_err_l.out
v: refactor $var to ${var} across entire repository, make vfmt always output the newer form `${expr}` (#26494)
last Feb 1
239 bytes
assign_expr_undefined_err_m.out
parser: check assign expr with undefined variable (#13653)
4 years ago
233 bytes
assign_expr_undefined_err_n.vv
parser: check assign expr with undefined variable (#13653)
4 years ago
86 bytes
assign_expr_unresolved_variables_err_chain.out
checker: extract vlib/v/checker/errors.v, use maps for c.error_lines, c.warning_lines, c.notice_lines, dedup all errors, warns, and notices
2 years ago
884 bytes
assign_fn_call_on_left_side_err.vv
checker: add a checker error for fn calls on left side of an assignment (#5993)
5 years ago
64 bytes
assign_generic_closure_fn_err.vv
checker: fix anonymous generic struct shadow variable (fixes #15535)
last Apr 15
175 bytes
assign_immutable_reference_call_result_err.out
tests: update checker error expectations
last May 14
528 bytes
comptime_selector_assign.vv
x.json2: replace x.json2.decode() with x.json2.decoder2.decode() (#25472)
last Oct 14
454 bytes
a_test_file_with_0_test_fns_test.out
all: support _test.vv files (to test _test.v errors/checks too)
5 years ago
336 bytes
add_op_wrong_type_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
178 bytes
addr_of_invalid_expr.vv
checker: fix missing check for invalid prefixexpr expression `&(&var)` (fix #23365) (#23418)
1 year ago
34 bytes
alias_array_unknown_op_overloading_err.vv
checker: check alias of array op overloading and fix op overloading (fix #22851) (#22854)
1 year ago
415 bytes
alias_map_unknown_op_overloading_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
245 bytes
alias_to_generic_err.vv
checker: fix missing check for alias to generic type (fix #22359) (#22360)
1 year ago
41 bytes
alias_type_cast_option_result_unhandled_err.vv
checker: check option and result handling in type-casted aliases (#16988)
3 years ago
216 bytes
always_true_false_branch.out
checker: add self-comparison and always true/false branch warnings (fixes #23404)
last Feb 26
17.37 KB
ambiguous_field_method_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
207 bytes
ambiguous_function_call.out
checker: improve `fn` argument mismatch error (#22370)
1 year ago
698 bytes
anon_arg_redefinition_err.out
parser: check for anonymous function param redefinitions (#17382)
3 years ago
204 bytes
anon_fn_arg_type_err.out
checker: fix typo `explictly` -> `explicitly` in error message (#21698)
2 years ago
1.09 KB
anon_missing_generic_err.out
checker: fix missing check for fn var with generic return inherited to anon fn (fix #19045) (#22683)
1 year ago
1.13 KB
anon_struct_assign_err.out
checker: add missing check for mismatch anon struct to typed struct (#18250)
3 years ago
218 bytes
anon_structs_visibility.out
checker, parser, fmt: fix visibility of anon struct in different modules.(fix #15763) (#15787)
3 years ago
17 bytes
any_return_type_err.out
checker: add an error for returning an `any` value in pure V code (prevents invalid cgen) (fix #12623) (#22334)
1 year ago
1.12 KB
append_fixed_array_to_empty_interface_array_err.vv
checker: fix empty interface array push with fixed array c error (fixes #23011)
last Apr 15
74 bytes
array_append_array_type_mismatch_err.out
checker: fix tests (adjust byte to u8 in .out files too)
4 years ago
274 bytes
array_builtin_method_args_err.out
checker: extract vlib/v/checker/errors.v, use maps for c.error_lines, c.warning_lines, c.notice_lines, dedup all errors, warns, and notices
2 years ago
1.15 KB
array_builtin_redefinition.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
388 bytes
array_cmp_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
153 bytes
array_contains_args_err.vv
checker: check error for arguments of array.contains() (#14102)
4 years ago
177 bytes
array_declare_element_a.vv
parser: trigger declaration of array element as error
6 years ago
27 bytes
array_delete_arg_mismatch_err.out
checker: check array.delete() argument mismatch (#22307)
1 year ago
331 bytes
array_delete_imut_err.out
checker: missing mutability check for array.delete calls (#18096)
3 years ago
220 bytes
array_delete_imut_err.vv
checker: missing mutability check for array.delete calls (#18096)
3 years ago
71 bytes
array_delete_print_err.vv
checker: missing mutability check for array.delete calls (#18096)
3 years ago
84 bytes
array_element_type.vv
checker: improve array literal element type mismatch error (#6825)
5 years ago
40 bytes
array_filter_arg_mismatch_err.vv
checker: check argument mismatch of array.filter/all/any() (#14273)
4 years ago
282 bytes
array_filter_map_array_expression_as_argument_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
482 bytes
array_filter_map_option_function_err.vv
all: change optional to option (#16914)
3 years ago
498 bytes
array_fixed_no_free_method_call_err.out
checker: give an error for `.free()` method calls, when used on fixed arrays (#20320)
2 years ago
298 bytes
array_generic_methods_err.out
checker: fix array method error message with generic type (fix #23283) (#23304)
1 year ago
863 bytes
array_index_args_err.out
checker: check error for array.index() argument (#14147)
4 years ago
1.49 KB
array_init_element_option_mismatch_err.out
checker: fix option mismatch checking on array initializations (fix #20409) (#20415)
2 years ago
786 bytes
array_init_option_err.out
checker: extract vlib/v/checker/errors.v, use maps for c.error_lines, c.warning_lines, c.notice_lines, dedup all errors, warns, and notices
2 years ago
1.25 KB
array_init_ptr_non_ptr_elem_err.out
checker: disallow non-ptr elem in init ptr array (#18161)
3 years ago
310 bytes
array_init_ptr_non_ptr_elem_err.vv
checker: disallow non-ptr elem in init ptr array (#18161)
3 years ago
172 bytes
array_init_with_len_cap_err.vv
checker: fix negative cap, len checks in array init (#19694)
2 years ago
38 bytes
array_init_with_void_value_err.vv
checker: check array init with a void type value (#13106)
4 years ago
64 bytes
array_init_without_init_value_err.vv
checker: fix and cleanup uninitialized checks for array initialisers with `len:` (fix #20272) (#20279)
2 years ago
873 bytes
array_insert_prepend_args_err.vv
checker: check array insert/prepend arguments (#11295)
4 years ago
211 bytes
array_insert_type_mismatch.vv
checker: fix multi_array type mismatch check (#7486)
5 years ago
268 bytes
array_insert_val_err.vv
checker: allow fixed array where voidptr is expected (fix #23090) (#23100)
1 year ago
141 bytes
array_map_elements_ref_fields_uninitialized_err.vv
checker: add a qualification to array elements ref initialization checks (#19980)
2 years ago
162 bytes
array_map_void_fn_err.out
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
242 bytes
array_method_call_immutable_err.vv
checker: check array builtin method calls, that do need a mutable receiver, but are called on an immutable one (fix #22850) (#22853)
1 year ago
435 bytes
array_method_invalid_expr.vv
checker: disallow invalid expr for `filter`, `count`, `any`, `all` (fix #24508) (#24540)
1 year ago
119 bytes
array_none_element_err.vv
checker: fix missing check for `a := [none]` (fix #23457) (#23504)
1 year ago
44 bytes
array_of_refs_insert_non_ref.vv
checker: prevent array.insert for array of references when non-reference is passed (fix #25511) (#25557)
last Oct 22
169 bytes
array_or_map_assign_err.out
checker: fix immutable to mutable reference (fix #22653) (#22663)
1 year ago
1.65 KB
array_plus_assign_err.out
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
514 bytes
array_prepend_type_mismatch.out
checker: allow fixed array where voidptr is expected (fix #23090) (#23100)
1 year ago
2.22 KB
array_sort_err.out
checker: check for external variable access on qsort/sorted callback (fix #12386) (#22557)
1 year ago
1.57 KB
array_sort_function_type_err.out
checker: fix ice when sorting an array of functions (fixes #10739)
last Apr 21
220 bytes
array_sort_struct_no_body_err.out
checker: require .sort() body for some types (#10550)
5 years ago
197 bytes
array_sort_struct_no_body_err.vv
checker: require .sort() body for some types (#10550)
5 years ago
55 bytes
array_sort_with_compare_err.vv
checker: check arguments mismatch of array.sorted_with_compare() (fix #22327) (#22328)
1 year ago
275 bytes
array_sort_with_compare_ref_elem_err.vv
checker: check array sort_with_compare callback function parameters (#13511)
4 years ago
649 bytes
array_sorted_with_compare_err.vv
checker: check arguments mismatch of array.sorted_with_compare() (fix #22327) (#22328)
1 year ago
321 bytes
array_voidptr_assign_err.vv
checker: disallow `arr = voidptr(0)` (fix #23675) (#23687)
1 year ago
82 bytes
arraydecompose_arg2_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
94 bytes
arrow_op_newline_stmt_err.out
parser: fix line indication for channel push syntax error (fixes #23571)
last Mar 25
188 bytes
arrow_op_newline_stmt_err.vv
parser: fix line indication for channel push syntax error (fixes #23571)
last Mar 25
160 bytes
arrow_op_wrong_left_type_err_a.vv
all: handle `<-` arrow token for channel operations (#6152)
5 years ago
49 bytes
arrow_op_wrong_left_type_err_b.vv
all: improve unused variable warning (fix `x = 1`, `x += 1` etc)
5 years ago
70 bytes
arrow_op_wrong_right_type_err_a.vv
all: handle `<-` arrow token for channel operations (#6152)
5 years ago
65 bytes
as_cast_option_result_unhandled_err.vv
checker: check option and result handling in `as` casts (#17133)
3 years ago
168 bytes
as_cast_selector_expr_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
162 bytes
asm_mov_requires_two_operands.out
checker: asm bad operand with opcode error (fixes #10708)
last Apr 14
226 bytes
asm_mov_requires_two_operands.vv
checker: asm bad operand with opcode error (fixes #10708)
last Apr 14
36 bytes
assign_any_err.vv
checker: add missing `any` type validation on assignment (fix #23905) (#23906)
1 year ago
79 bytes
assign_array_init_to_fixed_array_var.vv
checker: add a more helpful suggestion for `fixed_array = [1,2,3]`
2 years ago
43 bytes
assign_array_init_with_no_type.vv
checker: check assigning array_init with no type (#10757)
5 years ago
39 bytes
assign_const_ptr_int_literal_err.vv
checker: disallow taking the address of consts with int literal values (#19160)
2 years ago
45 bytes
assign_enum_at_comptime.out
checker: check invalid comptime field name assignment (fix #24415) (#24421)
1 year ago
257 bytes
assign_expr_type_err_a.out
all: improve unused variable warning (fix `x = 1`, `x += 1` etc)
5 years ago
226 bytes
assign_expr_type_err_b.out
checker: extract vlib/v/checker/errors.v, use maps for c.error_lines, c.warning_lines, c.notice_lines, dedup all errors, warns, and notices
2 years ago
486 bytes
assign_expr_type_err_c.vv
all: improve unused variable warning (fix `x = 1`, `x += 1` etc)
5 years ago
54 bytes
assign_expr_type_err_d.vv
all: improve unused variable warning (fix `x = 1`, `x += 1` etc)
5 years ago
52 bytes
assign_expr_type_err_e.out
checker: extract vlib/v/checker/errors.v, use maps for c.error_lines, c.warning_lines, c.notice_lines, dedup all errors, warns, and notices
2 years ago
699 bytes
assign_expr_type_err_f.vv
all: improve unused variable warning (fix `x = 1`, `x += 1` etc)
5 years ago
52 bytes
assign_expr_type_err_g.out
all: improve unused variable warning (fix `x = 1`, `x += 1` etc)
5 years ago
232 bytes
assign_expr_type_err_h.vv
all: improve unused variable warning (fix `x = 1`, `x += 1` etc)
5 years ago
57 bytes
assign_expr_type_err_i.vv
all: improve unused variable warning (fix `x = 1`, `x += 1` etc)
5 years ago
55 bytes
assign_expr_undefined_err_a.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
179 bytes
assign_expr_undefined_err_c.out
v: refactor $var to ${var} across entire repository, make vfmt always output the newer form `${expr}` (#26494)
last Feb 1
208 bytes
assign_expr_undefined_err_d.out
v: refactor $var to ${var} across entire repository, make vfmt always output the newer form `${expr}` (#26494)
last Feb 1
188 bytes
assign_expr_undefined_err_e.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
192 bytes
assign_expr_undefined_err_g.out
parser: check assign_stmt of undefined variable (#8366)
5 years ago
215 bytes
assign_expr_undefined_err_g.vv
parser: check assign_stmt of undefined variable (#8366)
5 years ago
67 bytes
assign_expr_undefined_err_i.vv
parser: disallow the array init: attr, when the len: attr is not provided (#16735)
3 years ago
59 bytes
assign_expr_undefined_err_j.vv
parser: check undefined variables in assign_stmt (#10755)
5 years ago
40 bytes
assign_expr_undefined_err_k.vv
vlib: remove deprecated map{} usages as well as deprecated functions (#11035)
4 years ago
47 bytes
assign_expr_undefined_err_l.vv
v: refactor $var to ${var} across entire repository, make vfmt always output the newer form `${expr}` (#26494)
last Feb 1
337 bytes
assign_expr_undefined_err_m.vv
parser: check assign expr with undefined variable (#13653)
4 years ago
91 bytes
assign_expr_undefined_err_n.out
parser: check assign expr with undefined variable (#13653)
4 years ago
255 bytes
assign_expr_unresolved_variables_err_chain.vv
all: improve unused variable warning (fix `x = 1`, `x += 1` etc)
5 years ago
59 bytes
assign_generic_closure_fn_err.out
checker: fix anonymous generic struct shadow variable (fixes #15535)
last Apr 15
299 bytes
assign_generic_fn_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
85 bytes
assign_immutable_reference_struct_field_err.out
checker: fix Modifying an immutable pointer indirectly is allowed (fixes #12899)
last Apr 23
366 bytes
assign_immutable_reference_var_err.out
checker: fix Modifying an immutable pointer indirectly is allowed (fixes #12899)
last Apr 23
494 bytes
assign_immutable_reference_var_err.vv
all: update attributes to use new syntax
2 years ago
131 bytes
assign_immutable_reference_var_with_parenthesis_err.vv
checker: extend check assigning mut reference to immutable var in nested parens (#18442)
3 years ago
180 bytes
assign_int_to_f32_err.vv
checker: fix int values incorrectly promoted to f32 (fixes #7692)
last Apr 21
109 bytes
assign_multi_immutable_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
176 bytes
assign_multi_mismatch.vv
checker: deny multi-value in a singe-value context (#8328)
5 years ago
419 bytes
assign_ref_call_expr_with_ref_return_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
69 bytes
assign_sumtype2_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
149 bytes
assign_to_typeless_variable_err.out
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
854 bytes
assign_type_mismatch_with_generics_err.out
all: About calling `?fn` type function/method parsing, checking, and code generation problems (fixes #20328)
last Apr 14
571 bytes
assign_var_redefinition_err.vv
parser: check variable redefinition error (#12992)
4 years ago
110 bytes
assign_with_dump_multireturn_value.vv
checker: check error for simple assignment with dumping of multireturn value (#15512)
3 years ago
100 bytes
bad_types_in_string_inter_lit.vv
checker: prohibit illegal types in string interpolation literals (#10705)
5 years ago
45 bytes
bin_lit_without_digit_err.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
185 bytes
bit_op_wrong_left_type_err.out
types: rename `any_*`, `untyped *` -> `* literal` (#7845)
5 years ago
207 bytes
bit_op_wrong_right_type_err.out
types: rename `any_*`, `untyped *` -> `* literal` (#7845)
5 years ago
213 bytes
blank_ident_const_ptr_int_literal_err.out
checker: disallow taking the address of consts with int literal values (#19160)
2 years ago
308 bytes
blank_ident_invalid_use.out
checker: extract vlib/v/checker/errors.v, use maps for c.error_lines, c.warning_lines, c.notice_lines, dedup all errors, warns, and notices
2 years ago
349 bytes
blank_ident_select_branch_send_err.out
checker: disallow `_ = <- quit` (#18104)
3 years ago
307 bytes
c_fn_param_named_interface_err.out
parser: fix c functions do not warn for param named interface (fixes #25859)
last Mar 25
384 bytes
c_js_struct_and_fn_as_generics_error.out
checker: force all fn declarations to follow after all other top level statements (fix #25889) (#25890)
last Dec 4
931 bytes
c_struct_cast.out
checker: fix missing struct cast validation (fix #23748) (#23788)
1 year ago
180 bytes
c_style_variadic_fn_missing_fixed_args_err.out
all: fix Allow variadic functions with variable types (fixes #21462)
last Apr 23
245 bytes
call_empty_or_block_err.out
checker: fix missing or-block check for callexpr (fix #22835) (#22840)
1 year ago
1.81 KB
call_empty_or_block_err.vv
checker: fix missing or-block check for callexpr (fix #22835) (#22840)
1 year ago
362 bytes
call_result_aliases_immutable_value_err.vv
checker: prevent mutation of a function result which should be immutable (fixes #13817)
last Apr 14
263 bytes
callback_bound_mut_ref_err.vv
checker: fix compiler bug with bound mut ref callback (fixes #14741)
last Apr 15
227 bytes
cannot_cast_to_alias.vv
checker: add alias cast type check (closes #6705) (#6709)
5 years ago
65 bytes
cannot_cast_to_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
195 bytes
cast_array_to_number_err.out
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
405 bytes
cast_expr_T_type_err.vv
checker: do not allow &u8(0), force nil like we do with &Type(0)
1 year ago
61 bytes
cast_function_to_number_err.vv
checker: fix passing function as argument to vec.mul_scalar (fixes #25829)
last Mar 25
124 bytes
cast_function_to_string_err.vv
checker: check error for cast function to string (#14375)
4 years ago
37 bytes
cast_integer_with_overflow_err.out
checker: skip redundant message for int overflows, while casting integer literals (fix #22761) (#22788)
1 year ago
1.04 KB
cast_string_to_char_err.out
checker: fix check omission in cast string to char. (fix #15760) (#15764)
3 years ago
200 bytes
cast_string_to_ptr_err.out
checker: fix check omission in cast string to ptr. (fix #14921) (#15721)
3 years ago
205 bytes
cast_string_to_ptr_err.vv
checker: fix check omission in cast string to ptr. (fix #14921) (#15721)
3 years ago
33 bytes
cast_string_to_rune_err.vv
checker: fix c error on improper string to rune cast (#13197) (#13257)
4 years ago
86 bytes
cast_sumtype_as_generic_err.vv
checker: cast sumtype to its variant generic type (#20166)
2 years ago
227 bytes
cast_to_concrete_mut_err.out
checker: fix missing checker for cast from mut var to non-ptr type (fix #23017) (#23056)
1 year ago
776 bytes
cast_to_interface_err.out
checker,transformer: add always true/false branch detection for the `if` and `match` constructs (#25674)
last Nov 9
1.0 KB
cast_voidptr_to_struct_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
272 bytes
casting_numbers_to_enums_outside_unsafe_err.vv
checker: allow `EnumName(number)` casts only inside `unsafe{}` blocks (#15932)
3 years ago
46 bytes
chan_incompatible_type_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
73 bytes
chan_ref.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
397 bytes
check_err_msg_with_generics.vv
all: replace generic `<>` with `[]` - part 2 (#16536)
3 years ago
207 bytes
check_incompatible_struct.vv
checker: disallow `Bar{...foo}` when Bar needs more fields, than what `foo` has (#16609)
3 years ago
264 bytes
check_wrong_usage_of_break_and_continue.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
193 bytes
checker_comparison_between_obj_and_int.vv
checker: ban unsafe pointer/fn comparison (#14462)
4 years ago
193 bytes
closure_copy_immutable_var_err.out
checker: add a separate error msg for `fail_if_immutable` for anon fns (#18854)
2 years ago
282 bytes
closure_immutable.out
checker: add a separate error msg for `fail_if_immutable` for anon fns (#18854)
2 years ago
800 bytes
cmp_between_struct.out
datatypes: add push_many for doubly and singly linked list + add insert_many for heap (#19975)
2 years ago
1.36 KB
compile_error.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
200 bytes
compile_error_call_position.vv
checker: add error message call stack support (requested by #16127, #24575, etc) (#26356)
last Jan 15
129 bytes
compile_error_explicit_type.vv
checker: add error message call stack support (requested by #16127, #24575, etc) (#26356)
last Jan 15
188 bytes
comptime_assign_missing_mut_err.vv
checker: add mutability check for comptime assignments (#18354)
3 years ago
328 bytes
comptime_branching_working_with_a_custom_compile_error.vv
checker: fix comptime if branch checking (#16938)
3 years ago
256 bytes
comptime_call_method_implicit_string_expand_err.out
comptime: allow only explicit auto-expand of []string in compile-time $for loops (fixes #9278)
last Apr 15
330 bytes
comptime_call_method_mut_pointer_err.out
checker: fix mutable pointer parameters under certain circumstances (fixes #24408)
last Apr 21
357 bytes
comptime_call_method_void_err.out
checker: fix comptimecall type resolution on checker phase and method.return_type comptime checking and assignment from option comptimecall (#20092)
2 years ago
335 bytes
comptime_call_no_unused_var.vv
checker: fix compile-time call with string identifier expression (#8415)
5 years ago
206 bytes
comptime_compile_warn_with_string_interp_test.vv
ci: run `v -W -silent test-self vlib` on linux, so deprecations/warnings introduced in PRs, can fail (and be fixed) earlier (#25955)
last Dec 13
929 bytes
comptime_defer_err.out
checker: ensure the defer behavior matches that of cgen (fix #25148) (#25146)
last Aug 21
1.04 KB
comptime_dump_fields_var_test.out
cgen: fix auto_str for option values (#17910)
3 years ago
449 bytes
comptime_else_compile_error_no_return.out
comptime: fix $compile_error to locate the actual error position (fixes #24575)
last Apr 15
197 bytes
comptime_field_name_assign_incorrect_type_err.out
checker: check invalid comptime field name assignment (fix #24415) (#24421)
1 year ago
348 bytes
comptime_field_name_not_exist.out
checker: rewrite comptime_if_cond() to support comptime if cond evaluate (fix #24938) (fix #25099) (#25122)
last Aug 17
366 bytes
comptime_field_selector_not_in_for_err.out
checker: extract vlib/v/checker/errors.v, use maps for c.error_lines, c.warning_lines, c.notice_lines, dedup all errors, warns, and notices
2 years ago
506 bytes
comptime_field_selector_not_name_err.out
checker, cgen: fix comptimecall type resolution on function args (#20070)
2 years ago
1.97 KB
comptime_for.out
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
1.8 KB
comptime_if_option_string_test.out
all: fix new int type promotion rules and cleanup native gen() (#19535)
2 years ago
7 bytes
comptime_insert_err.cc
checker, cgen: add support for #insert, to simplify bootstrapping V
4 years ago
18 bytes
comptime_insert_err.vv
checker, cgen: add support for #insert, to simplify bootstrapping V
4 years ago
260 bytes
comptime_match_cond_cannot_mut.vv
checker,cgen: add comptime match support (#25165)
last Aug 25
153 bytes
comptime_match_value_different_type.vv
checker,cgen: add comptime match support (#25165)
last Aug 25
309 bytes
comptime_match_value_type_mix_check.out
checker,cgen: add comptime match support (#25165)
last Aug 25
559 bytes
comptime_param_not_fn_err.out
checker: disallow iterating through .params, for types that are not a function/method (#22428)
1 year ago
283 bytes
comptime_selector_assign.out
checker: check invalid comptime field name assignment (fix #24415) (#24421)
1 year ago
635 bytes
comptime_selector_expr_type_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
185 bytes
comptime_selector_postfix_unwrap_non_option_err.vv
checker: some bug with comptime (fixes #26234)
last Mar 11
186 bytes
comptime_value_d_in_include_errors.out
comptime: support `-d ident=value` and `var := $d('ident', 0)` (#21685)
2 years ago
153 bytes
comptime_value_d_only_d_in_fixed_size_array.vv
ast, parser: support `$d()` in fixed size array `struct` fields (#21731)
2 years ago
37 bytes
comptime_value_d_values_can_only_be_pure_literals.vv
comptime: support `-d ident=value` and `var := $d('ident', 0)` (#21685)
2 years ago
39 bytes
const_array_unknown_type_err.out
checker: fix position of unknown type errors (#10110)
5 years ago
154 bytes
const_blank_ident_as_name_err.out
checker: disallow blank ident in const and global decl (#22415)
1 year ago
134 bytes
const_cycle_decl_err.vv
cgen: fix print fn + cycle const error message (#17355)
3 years ago
16 bytes
const_decl_multi_return_err.out
checker: add a deprecation warning for `const ()` groups (an error after 2025-01-01) (#22019)
1 year ago
222 bytes
const_define_in_function_err.out
checker: add a deprecation warning for `const ()` groups (an error after 2025-01-01) (#22019)
1 year ago
226 bytes
const_expr_match_range_invalid_err.vv
all: add support for `const` ident in `match` range (#16526)
3 years ago
122 bytes
const_field_add_err.out
checker: add a deprecation warning for `const ()` groups (an error after 2025-01-01) (#22019)
1 year ago
155 bytes
const_field_dec_err.out
checker: add a deprecation warning for `const ()` groups (an error after 2025-01-01) (#22019)
1 year ago
152 bytes
const_field_inc_err.out
checker: add a deprecation warning for `const ()` groups (an error after 2025-01-01) (#22019)
1 year ago
152 bytes
const_field_name_duplicate_err.out
checker: add a deprecation warning for `const ()` groups (an error after 2025-01-01) (#22019)
1 year ago
178 bytes
const_field_name_snake_case.out
checker: add a deprecation warning for `const ()` groups (an error after 2025-01-01) (#22019)
1 year ago
217 bytes
const_field_sub_err.out
checker: add a deprecation warning for `const ()` groups (an error after 2025-01-01) (#22019)
1 year ago
155 bytes
const_import_conflict_err.out
ci: disable old native runs; checker: const/import conflict check
last Apr 18
539 bytes
const_int_overflow_err.out
checker: check int overflow for const vars (#16332)
3 years ago
214 bytes
const_match_invalid_type_range_err.vv
all: add support for `const` ident in `match` range (#16526)
3 years ago
156 bytes
const_match_mismatch_end_range_err.vv
all: add support for `const` ident in `match` range (#16526)
3 years ago
206 bytes
const_match_range_duplicate_case_err.vv
all: add support for `const` ident in `match` range (#16526)
3 years ago
219 bytes
const_match_range_invalid_err.out
all: add support for `const` ident in `match` range (#16526)
3 years ago
489 bytes
const_match_range_invalid_err.vv
all: add support for `const` ident in `match` range (#16526)
3 years ago
155 bytes
const_match_type_mismatch_range_err.vv
all: add support for `const` ident in `match` range (#16526)
3 years ago
159 bytes
const_name_for_loop_duplicate_name_err.vv
checker: disallow using a preexisting const name in a for loop, as either a key or value ident (#22108)
1 year ago
109 bytes
const_reference_write_err.vv
checker: disallow references to constants (fix #23935) (#23942)
1 year ago
402 bytes
crystallib_struct_init_result_err.vv
checker: add error test for Result type in struct init fields (fixes #18210)
last Feb 26
374 bytes
custom_comptime_define_error.out
checker: rewrite comptime_if_cond() to support comptime if cond evaluate (fix #24938) (fix #25099) (#25122)
last Aug 17
738 bytes
custom_comptime_define_if_debug.cg.run.out
tests: add tests for `-d debug`, `-cg`, `-g` in combination for `[if debug]fn` etc
5 years ago
33 bytes
custom_comptime_define_if_debug.debug.run.out
tests: add tests for `-d debug`, `-cg`, `-g` in combination for `[if debug]fn` etc
5 years ago
17 bytes
custom_comptime_define_if_debug.out
tests: add tests for `-d debug`, `-cg`, `-g` in combination for `[if debug]fn` etc
5 years ago
n/a
custom_comptime_define_if_debug.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
306 bytes
custom_comptime_define_if_flag.out
checker: fix comptime custom defines usages, add tests
5 years ago
n/a
dec_lit_wrong_digit_err.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
189 bytes
decompose_interface_err.out
v.parser: improve the unused import warning message (add fixing alternatives) (#25880)
last Dec 3
813 bytes
decompose_type_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
69 bytes
defer_fn_inside_fn_scope.vv
checker: error/warn when using `defer(fn)` inside function-scope and `lock` stmts (#25681)
last Nov 8
52 bytes
defer_fn_inside_lock_stmt_err.vv
checker: error/warn when using `defer(fn)` inside function-scope and `lock` stmts (#25681)
last Nov 8
107 bytes
defer_in_for.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
52 bytes
defer_use_multi_return_value_with_index_out_of_bounds.vv
all: add $res compile time function to get returned value in defer block (#18382)
3 years ago
86 bytes
defer_use_multi_return_value_without_index.vv
all: add $res compile time function to get returned value in defer block (#18382)
3 years ago
85 bytes
defer_use_returned_value_when_nothing_is_returned.vv
all: add $res compile time function to get returned value in defer block (#18382)
3 years ago
44 bytes
defer_use_returned_value_when_result_is_returned.vv
all: add $res compile time function to get returned value in defer block (#18382)
3 years ago
67 bytes
deprecations.out
revert: deprecated_after attribute change (fixes #19138) - incomplete, breaks time/format.v
last Apr 14
2.09 KB
deprecations_consts.out
checker: fix immutable to mutable reference (fix #22653) (#22663)
1 year ago
325 bytes
diff_type_map_value_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
269 bytes
disable_explicit_mutability.vv
v2: lifetimes; clone() auto-generation for structs with heap-allocated fields (#26859)
last May 13
414 bytes
disallow_pointer_arithmetic_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
237 bytes
discard_import_usage.vv
checker: allow for `_` being used as both `import x as _` and `fn f(_ int) {` (fix (#26219) #26230
last Dec 31
65 bytes
div_op_wrong_type_err.out
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
3.4 KB
division_by_cast_zero_float_err.out
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
474 bytes
division_by_zero_float_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
34 bytes
division_by_zero_int_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
84 bytes
dump_char.vv
checker: make `byte(0)` an error; use `u8(0)` (fix #23236) (#23311)
1 year ago
34 bytes
duplicate_field_method_err.vv
all: do not allow uninitialized function pointers
2 years ago
101 bytes
embed_unknown_compress_type.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
135 bytes
empty_arr_to_generic_param_err.vv
checker: fix missing check for empty array to generic param (fix #25056) (#25118)
last Aug 17
96 bytes
empty_arr_to_generic_param_sum_like_err.vv
checker: fix arrays.sum([]) or {panic(err)} produces misleading error message (fixes #22859)
last Feb 26
276 bytes
empty_noreturn_fn_in_or_block_err.vv
checker: fix empty `[noreturn]` function (fixes #18018)
last Apr 23
89 bytes
enum_as_int_err.out
all: improve unused variable warning (fix `x = 1`, `x += 1` etc)
5 years ago
803 bytes
enum_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
92 bytes
enum_field_name_duplicate_err.out
all: add support for `enum Xyz as u64 {` + tests (#16246)
3 years ago
190 bytes
enum_field_value_duplicate_a.vv
checker: prevent enum value duplication check bypass (#10287)
5 years ago
53 bytes
enum_field_value_duplicate_b.out
checker: suggest using the `@[_allow_multiple_values]` attribute, when declaring enums that have duplicate values (#22224)
1 year ago
306 bytes
enum_field_value_duplicate_c.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
262 bytes
enum_field_value_duplicate_e.vv
checker: check enum field value duplicate 2 (#21924)
1 year ago
158 bytes
enum_field_value_duplicate_f.vv
checker: fix enum values set with constants from $if/$else (fixes #23348)
last Mar 25
154 bytes
enum_non_comptime_cast_call_err.out
checker: fix enum taking function as init value when cast to int (fixes #25908)
last Apr 15
257 bytes
enum_op_err.out
checker: extract vlib/v/checker/errors.v, use maps for c.error_lines, c.warning_lines, c.notice_lines, dedup all errors, warns, and notices
2 years ago
2.4 KB
enum_op_flag_err.vv
checker: support `Flags.bit ^ Flags.bit1` and `~Flags.bit` (flagged enums) (fix #20925) (#20929)
2 years ago
268 bytes
enum_redeclare_err.vv
cgen: remove unused code generated for unwrapping temp var from callexpr (detect unused return value from CallExpr), fix parser bugs (#22769)
1 year ago
59 bytes
error_fn_with_0_args.out
checker: improve `fn` argument mismatch error (#22370)
1 year ago
213 bytes
error_with_comment_with_crlf_ending.out
parser: fix checking unexpected name (#12233)
4 years ago
250 bytes
error_with_comment_with_lf_ending.out
parser: fix checking unexpected name (#12233)
4 years ago
248 bytes
error_with_comment_with_lf_ending.vv
v.scanner: fix error line numbers when comments end with CRLF
5 years ago
125 bytes
error_with_unicode.out
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
2.07 KB
expr_evaluated_but_not_used.out
checker: check expr evaluated but not used (fix #21436) (#21816)
2 years ago
233 bytes
expr_evaluated_but_not_used.vv
checker: check expr evaluated but not used (fix #21436) (#21816)
2 years ago
94 bytes
expression_should_return_an_option.vv
checker: check option fn returning error (fix #17423) (#17438)
3 years ago
426 bytes
field_deprecations.vv
checker: add support for deprecation messages for structs and struct fields (#21017)
2 years ago
426 bytes
filter_on_non_arr_err.out
encoding.binary: add an f32 test; checker: remove "(s)" from the assignment mismatch error
2 years ago
425 bytes
fixed_array_builtin_method_args_err.out
checker: disallow invalid expr for `filter`, `count`, `any`, `all` (fix #24508) (#24540)
1 year ago
2.31 KB
fixed_array_conv.out
checker: do not allow &u8(0), force nil like we do with &Type(0)
1 year ago
2.25 KB
fixed_array_conv.vv
checker: do not allow &u8(0), force nil like we do with &Type(0)
1 year ago
184 bytes
fixed_array_decompose_err.vv
checker: add check for implicit fixed array decomp in function varargs (#16806)
3 years ago
135 bytes
fixed_array_init_with_default.vv
checker: check fixed array init with default expression (#19472)
2 years ago
186 bytes
fixed_array_new_syntax_size_mismatch_err.vv
v2: lifetimes; clone() auto-generation for structs with heap-allocated fields (#26859)
last May 13
36 bytes
fixed_array_non_const_size_err.vv
checker: change non-const size of fixed array error message (#8850)
5 years ago
65 bytes
fixed_array_sort_err.vv
checker: add tests for checking the new errors for fixed arrays .sort() calls (#22656)
1 year ago
109 bytes
float_lit_exp_not_integer_err.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
186 bytes
float_lit_exp_without_digit_err.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
169 bytes
float_lit_too_many_points_err.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
190 bytes
fn_args.out
checker: fix passing fixed array [n]t to generic function expecting []t (fixes #26899)
last Apr 21
1.86 KB
fn_args.vv
checker: fix passing fixed array [n]t to generic function expecting []t (fixes #26899)
last Apr 21
209 bytes
fn_array_decompose_arg_mismatch_err_b.vv
checker: fix checking mismatch of the fn array decompose argument (#15934)
3 years ago
128 bytes
fn_array_decompose_arg_mismatch_err_c.vv
checker: fix compiler crashes when passing an extra decompose parameter to a function(fix: 18995) (#18996)
2 years ago
42 bytes
fn_call_arg_fn_mismatch_err.out
checker: fix mismatch checking when a function returns sumtype as an argument (fix #19325) (#20264)
2 years ago
220 bytes
fn_call_arg_mismatch_err_a.out
checker: check error for fn call argument mismatch (fix #14280) (#14283)
4 years ago
247 bytes
fn_call_arg_mismatch_err_d.vv
checker: add a test for fn call arg of fn pointer mismatch (#15757)
3 years ago
331 bytes
fn_call_arg_mismatch_err_e.vv
checker: check fn call argument mismatch (fix #23016) (#23061)
1 year ago
83 bytes
fn_call_arg_multi_err.vv
checker: fix multi return var passing to fn arg (potential fix for #24870) (#25250)
last Sep 8
103 bytes
fn_call_arg_ptr_mismatch_err.vv
checker: fix multiple pointer check of fn and method args (fix #16261 #16262 #16263) (#16275)
3 years ago
660 bytes
fn_call_mut_arg_mismatch_err.out
checker: check mismatch of fn call mut argument (fix #21857) (#21873)
1 year ago
225 bytes
fn_call_or_block_err.out
checker: fix missing or-block check for callexpr (fix #22835) (#22840)
1 year ago
225 bytes
fn_call_or_block_err.vv
checker: fix missing or-block check for callexpr (fix #22835) (#22840)
1 year ago
88 bytes
fn_call_ref_incompatible_u8_test.vv
checker: only allow `&u8` with `byteptr` and itself (#18146)
3 years ago
141 bytes
fn_call_using_none_arg_err.vv
checker: check fn call using 'none' as argument (#17070)
3 years ago
53 bytes
fn_check_for_matching_option_result_in_fields.out
v: change old attr syntax mention to new one in comments too (#21860)
1 year ago
723 bytes
fn_duplicate.vv
v.builder: improve builder error messages (fix #14386) (#14421)
4 years ago
28 bytes
fn_mismatch_option_return_err.out
checker: fix return option mismatch checking (fix #20418) (#20423)
2 years ago
272 bytes
fn_param_import_sym_conflict.vv
v: forbid function parameter names, shadowing imported module names (#17210)
3 years ago
448 bytes
fn_result_option_call_infix_err.out
checker: disallow `foo()? == foo` where foo returns `!string` (fix #26383) (#26403)
last Jan 21
279 bytes
fn_return_array_sort_err.out
checker: fix checking of expression as mut receiver, when calling methods of arrays/maps (#20410)
2 years ago
450 bytes
fn_return_fixed_array_sort_err.out
checker: add tests for checking the new errors for fixed arrays .sort() calls (#22656)
1 year ago
462 bytes
fn_return_fn_type_mismatch_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
625 bytes
fn_return_or_err.out
checker, cgen, parser: fix Option/Result error messages (capitalized) (#17486)
3 years ago
280 bytes
fn_return_unsign_type_mismatch.out
checker: remove too vague notice about signed expressions while returning unsigned number types
3 years ago
232 bytes
fn_type_mismatch.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
204 bytes
fn_variadic.vv
checker: show position for variadic/shared/method argument errors (#8939)
5 years ago
168 bytes
fn_variadic_arg_err.vv
checker: check fn variadic passing arg error (fix #15629) (#15632)
3 years ago
103 bytes
for_c_stmt_with_var_declaration_in_post_stmt.vv
checker: forbid var declaration in post statement of for loop (#17120)
3 years ago
48 bytes
for_comptime_enum_fields_err.vv
checker: disallow `$for i in struct.values` and `$for i in enum.fields` (#19845)
2 years ago
63 bytes
for_comptime_struct_values_err.vv
checker: disallow `$for i in struct.values` and `$for i in enum.fields` (#19845)
2 years ago
74 bytes
for_in_invalid_identifier.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
94 bytes
for_in_map_one_variable_err.out
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
317 bytes
for_in_range_not_match_type.out
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
209 bytes
for_in_range_result_optional_err.out
checker: disallow `Optional` and `Result` high val in a `for x in low..high {` loop (#21043)
2 years ago
594 bytes
for_in_range_string_type.out
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
228 bytes
for_in_same_var_err.out
checker: move test files to tests directory (cleanup) (#23243)
1 year ago
1.6 KB
for_in_with_reserved_type_names.out
checker: check for reserved type names in `for in` (fix #14072) (#14212)
4 years ago
491 bytes
for_loop_range_inclusive_err.out
parser: add a better error msg for using `...`, instead of `..` in `for a in 1...10 {` (#16547)
3 years ago
217 bytes
for_mut_compare_rune_string_err.vv
checker: match type when auto deref occurs (fix #25913) (#25916)
last Dec 7
96 bytes
func_with_static_keyword_err.out
encoding.binary: add an f32 test; checker: remove "(s)" from the assignment mismatch error
2 years ago
396 bytes
function_arg_mutable_err.out
ci: fix the content of function_arg_mutable_err.out
5 years ago
322 bytes
function_arg_redefinition.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
203 bytes
function_cast_outside_unsafe_err.out
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
319 bytes
function_missing_return_type.out
checker,transformer: add always true/false branch detection for the `if` and `match` constructs (#25674)
last Nov 9
615 bytes
function_variadic_arg_array_decompose.out
checker: check fn_variadic with array_decompose (#8894)
5 years ago
242 bytes
function_wrong_arg_type.out
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
230 bytes
function_wrong_return_type.out
types: rename `any_*`, `untyped *` -> `* literal` (#7845)
5 years ago
210 bytes
generic_array_init_err.out
checker, cgen: fix generic container init (fix #23910) (#23912)
1 year ago
228 bytes
generic_closure_fn_decl_err_a.vv
checker: fix a bug checking generic closures (#18489)
3 years ago
193 bytes
generic_closure_fn_decl_err_b.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
299 bytes
generic_eq_wrong_type.err.vv
checker: fix generic infix expr type mismatch error (#18706)
3 years ago
389 bytes
generic_field_init_with_call_err.vv
checker: fix missing check for struct generic init from call (fix #25084) (#25119)
last Aug 16
340 bytes
generic_fn_call_arg_mismatch_err.vv
checker: check generic fn call argument type mismatch (#17680)
3 years ago
144 bytes
generic_fn_decl_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
443 bytes
generic_fn_var_unresolved_err.vv
checker: fix missing info about generic fn var usage without concrete types (fix #22733, #22734) (#22743)
1 year ago
117 bytes
generic_infix_plus_err.out
all: replace generic '<>' with '[]' in .vv files (#16593)
3 years ago
215 bytes
generic_interface_callback_arg_err.vv
checker: cgen: passing interface to generic function result in C error. (fixes #18320)
last Apr 14
331 bytes
generic_interface_method_decl_err.out
checker: cleanup the generic tests (#20553)
2 years ago
238 bytes
generic_interface_method_decl_err.vv
checker: cleanup the generic tests (#20553)
2 years ago
90 bytes
generic_method_call_with_short_syntax_fn_field_err.out
all: super_batch3 fixes
last Apr 13
641 bytes
generic_method_call_with_short_syntax_fn_field_err.vv
checker: fix veb closure middleware generic inference error (fixes #23868)
last Mar 25
501 bytes
generic_method_value_err.vv
checker: fix simple generic structure declaration error (fixes #21989)
last Apr 14
372 bytes
generic_sumtype_decl_err_a.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
91 bytes
generic_sumtype_decl_err_c.out
checker: update generic syntax for error message (#20269)
2 years ago
301 bytes
generic_sumtype_decl_err_d.out
checker: extract vlib/v/checker/errors.v, use maps for c.error_lines, c.warning_lines, c.notice_lines, dedup all errors, warns, and notices
2 years ago
523 bytes
generic_sumtype_decl_err_e.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
166 bytes
generic_sumtype_invalid_variant.vv
all: replace generic `<>` with `[]` - part 2 (#16536)
3 years ago
174 bytes
generic_type_name_in_non_generic_function.vv
checker: add error for `if c >= A && c <= Z {` in non generic functions
4 years ago
97 bytes
generics_field_struct_arr_err.out
checker: fix missing check for generic array type without concrete types (fix #22414) (#22416)
1 year ago
998 bytes
generics_fn_callback_wrapped_arg_err.out
checker: fix checker checks wrapped generic type while cgen uses incorrect type (fixes #20664)
last Apr 21
266 bytes
generics_fn_called_arg_mismatch.out
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
1.04 KB
generics_fn_called_fntype_arg_mismatch.out
all: replace generic '<>' with '[]' in .vv files (#16593)
3 years ago
460 bytes
generics_fn_called_fntype_arg_mismatch.vv
parser: check generic fntype declaration without type name (#18033)
3 years ago
591 bytes
generics_fn_called_multi_args_mismatch.vv
all: replace generic `<>` with `[]` - part 2 (#16536)
3 years ago
178 bytes
generics_fn_called_no_arg_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
163 bytes
generics_fn_called_outside_of_generic_fn.vv
all: replace generic '<>' with '[]' in .vv files (#16593)
3 years ago
40 bytes
generics_fn_called_variadic_arg_mismatch.vv
all: replace generic '<>' with '[]' in .vv files (#16593)
3 years ago
170 bytes
generics_fn_return_generic_closure_err.vv
parser, checker: fix generic fn returning generic closure (related #23047) (#23055)
1 year ago
251 bytes
generics_interface_decl_no_mention_err.vv
parser: fix parsing embedded generic interface using '[]' (#16603)
3 years ago
94 bytes
generics_interface_declaration_err.vv
checker: cleanup the generic tests (#20553)
2 years ago
84 bytes
generics_interface_field_type_err.vv
checker: maps with non-generic interfaces as values don't work (fixes #16576)
last Apr 14
461 bytes
generics_method_arg_type_err.out
checker: check generic method call argument mismatch (#15378)
3 years ago
257 bytes
generics_method_called_variadic_arg_mismatch.vv
all: replace generic '<>' with '[]' in .vv files (#16593)
3 years ago
232 bytes
generics_method_receiver_type_err_b.out
checker: optimize error messages for must specify the generic type names (fix #20362) (#20382)
2 years ago
630 bytes
generics_method_receiver_type_err_b.vv
checker: optimize error messages for must specify the generic type names (fix #20362) (#20382)
2 years ago
344 bytes
generics_non_generic_fn_called_like_a_generic_one.out
checker: cleanup the generic tests (#20553)
2 years ago
265 bytes
generics_non_generic_fn_called_like_a_generic_one.vv
checker: cleanup the generic tests (#20553)
2 years ago
64 bytes
generics_non_generic_struct_used_like_a_generic_one.out
all: super_batch3 fixes
last Apr 13
535 bytes
generics_struct_field_fn_args_err.out
checker: improve `fn` argument mismatch error (#22370)
1 year ago
2.24 KB
generics_struct_field_fn_args_err.vv
checker: cleanup the generic tests (#20553)
2 years ago
472 bytes
generics_struct_in_non_generic_fn_err.vv
all: replace generic '<>' with '[]' in .vv files (#16593)
3 years ago
58 bytes
generics_struct_init_err.vv
all: replace generic `<>` with `[]` - part 2 (#16536)
3 years ago
1.12 KB
generics_struct_init_with_inconsistent_generic_types_3_err.out
all: super batch 2 fixes
last Apr 4
n/a
generics_struct_init_with_inconsistent_generic_types_3_err.vv
checker: fix missing check for struct generic init from call (fix #25084) (#25119)
last Aug 16
473 bytes
generics_too_many_parameters.out
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
231 bytes
generics_type_ambiguous.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
105 bytes
generics_undefined_operation_2.vv
all: fix add checker error when non-explicitly downcasting integers internally (fixes #23695)
last Apr 23
545 bytes
global_const_call_init_err.vv
all: fix Ability to export a global symbol as a true (C-level) constant (fixes #20831)
last Apr 23
133 bytes
globals_error.run.out
compiler: restore support for --enable-globals flag, and add tests.
6 years ago
9 bytes
go_expr.out
checker: replace the `go` keyword in error messages with `spawn` (#16960)
3 years ago
160 bytes
go_mut_arg.out
checker: replace the `go` keyword in error messages with `spawn` (#16960)
3 years ago
234 bytes
go_mut_receiver.out
checker: replace the `go` keyword in error messages with `spawn` (#16960)
3 years ago
218 bytes
goto_label.out
checker: extract vlib/v/checker/errors.v, use maps for c.error_lines, c.warning_lines, c.notice_lines, dedup all errors, warns, and notices
2 years ago
3.14 KB
hash_flag_backticks_err.vv
checker: builder error "This should never happen" (fixes #12434)
last Mar 11
64 bytes
hex_lit_without_digit_err.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
188 bytes
hex_lit_wrong_digit_err.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
197 bytes
hex_literal_overflow.out
scanner, cgen: improve support for escape codes in backticks/runes (#13127)
4 years ago
n/a
identifier_name_starts_with_number_err.out
scanner: fix wrong error message when identifier name starts with a number (fixes #14560)
last Apr 14
220 bytes
ierror_in_return_tuple.out
checker, cgen, parser: fix Option/Result error messages (capitalized) (#17486)
3 years ago
281 bytes
if_diff_expected_type_err.out
checker,transformer: add always true/false branch detection for the `if` and `match` constructs (#25674)
last Nov 9
519 bytes
if_expr_last_branch_stmt_err.out
parser,checker: improve the position underlining, for last statements in branches of `if` expressions (#22845)
1 year ago
318 bytes
if_expr_last_stmt.out
checker,transformer: add always true/false branch detection for the `if` and `match` constructs (#25674)
last Nov 9
928 bytes
if_expr_no_else.out
checker,transformer: add always true/false branch detection for the `if` and `match` constructs (#25674)
last Nov 9
365 bytes
if_expr_result_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
103 bytes
if_expr_with_none_only.vv
checker: add missing check for IfExpr and MatchExpr with no valid type (#23832)
1 year ago
51 bytes
if_guard_variables_err.vv
checker: disallow multiple left variables in if guards, that do not receive multireturn values (fix #24930) (#25507)
last Oct 15
372 bytes
if_match_result.out
checker,transformer: add always true/false branch detection for the `if` and `match` constructs (#25674)
last Nov 9
2.21 KB
if_mismatch_muls_err.vv
checker: fix if branch type nr_muls mismatch (fix #25556) (fix #25555) (#25571)
last Oct 25
235 bytes
if_mismatch_option_err.out
checker: fix if branch option type mismatch (fix #20809) (#20830)
2 years ago
580 bytes
if_mut_with_immutable_var_err.out
checker: fix tests (adjust byte to u8 in .out files too)
4 years ago
556 bytes
if_non_bool_cond.out
checker: report correct position for non-bool cond error (#8735)
5 years ago
631 bytes
if_smartcast_mut_var_interface_err.out
checker: add check for mut ident but not if mut ident is for interfaces (#16214)
3 years ago
318 bytes
if_smartcast_mutation_err.vv
v2: lifetimes; clone() auto-generation for structs with heap-allocated fields (#26859)
last May 13
100 bytes
immutable_array_field_assign.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
190 bytes
immutable_array_field_shift.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
192 bytes
immutable_array_in_if_expr_index.vv
checker: fix index expr that left is if expr (fix #22654) (#22661)
1 year ago
125 bytes
immutable_array_struct_assign.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
216 bytes
immutable_array_struct_shift.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
217 bytes
immutable_deref.out
checker: disallow references to constants (fix #23935) (#23942)
1 year ago
228 bytes
immutable_field_postfix.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
396 bytes
immutable_interface_field.out
checker: add mutability checks for interface fields; add tests (#8312)
5 years ago
212 bytes
immutable_map.out
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
950 bytes
immutable_rec.out
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
187 bytes
immutable_struct_postfix.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
426 bytes
immutable_to_mutable_err.out
checker: fix immutability of variable may be broken (fixes #17135)
last Mar 25
2.32 KB
immutable_var.out
all: improve unused variable warning (fix `x = 1`, `x += 1` etc)
5 years ago
208 bytes
immutable_var_postfix.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
404 bytes
implements_generic_err.vv
cgen: fix interface type generation for generic struct (fix #22186) (#22189)
1 year ago
355 bytes
import_mod_as_duplicate_err.vv
breaking,vlib: update handling of imports whose symbols are not directly used in imported file, remove `pub const is_used = 1` workarounds (#21160)
2 years ago
61 bytes
import_mod_as_import_alias_duplicate_err.vv
cleanup: fix permissions of .vv/.out files in vlib/v/
1 year ago
141 bytes
import_mod_as_import_duplicate_err.vv
checker: include import aliases when checking for import duplicates (#18450)
3 years ago
141 bytes
import_mod_as_mod_err.vv
parser: add an error for `import mod.sub as mod` and `import mod as mod` (#6194)
5 years ago
55 bytes
import_mod_duplicate_err.out
checker: extract vlib/v/checker/errors.v, use maps for c.error_lines, c.warning_lines, c.notice_lines, dedup all errors, warns, and notices
2 years ago
655 bytes
import_mod_sub_as_duplicate_err.out
checker: disallow import names and import aliases, shadowing the module name (#18431)
3 years ago
498 bytes
import_mod_sub_as_sub_err.out
scanner, cgen: improve support for escape codes in backticks/runes (#13127)
4 years ago
216 bytes
import_mod_sub_duplicate_err.vv
checker: disallow import names and import aliases, shadowing the module name (#18431)
3 years ago
61 bytes
import_multiple_modules_err.out
time: update unix time acces, fix issues related to deviating unix times (#21293)
2 years ago
215 bytes
import_not_found_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
55 bytes
import_not_same_line_err.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
198 bytes
import_symbol_empty.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
134 bytes
import_symbol_private_err.vv
ci: fix import_symbol_private_err.vv and its .out file (time.since is no longer private)
4 years ago
228 bytes
import_symbol_unclosed.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
170 bytes
import_unused_warning.out
v.parser: improve the unused import warning message (add fixing alternatives) (#25880)
last Dec 3
281 bytes
in_range_expr_err.out
v: support `in` expr with number ranges: `if var in 1..4 {` (fix #20352) (#22754)
1 year ago
153 bytes
incorrect_for_in_name_variable.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
64 bytes
incorrect_name_const.vv
checker: add a deprecation warning for `const ()` groups (an error after 2025-01-01) (#22019)
1 year ago
20 bytes
incorrect_name_enum_field.out
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
228 bytes
incorrect_name_fn_type.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
161 bytes
incorrect_name_interface_method.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
36 bytes
incorrect_name_struct_field.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
23 bytes
incorrect_name_sum_type.vv
tests: improve the incorrect_name_sum_type.vv and its .out file (#19890)
2 years ago
135 bytes
incorrect_smartcast3_err.vv
checker: check smartcasting requires either an immutable value, or an explicit mut keyword before the value (#16654)
3 years ago
434 bytes
index_invalid_call.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
208 bytes
index_operator_assignment_without_setter_err.out
all: add operator overloading for `[]` (fixes #23177)
last Apr 14
259 bytes
infix_and_op_expr_err.out
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
n/a
infix_dup_in_err.vv
checker: add missing check for duplicated items on in expr (fix #22305) (#22308)
1 year ago
105 bytes
infix_err.vv
checker: fix option in struct member infix expr and swapped none comparion (fix #26351) (#26373)
last Jan 17
591 bytes
infix_expr_left_side_assogn_err.vv
checker: disallow infix exper on left side of assign (#22322)
1 year ago
65 bytes
infix_is_unknown_module_no_panic.out
checker: avoid panic on unresolved infix operand types in -check (fixes #26458) (#26607)
last Feb 14
250 bytes
infix_is_unknown_module_no_panic.vv
checker: avoid panic on unresolved infix operand types in -check (fixes #26458) (#26607)
last Feb 14
122 bytes
infix_value_ref_comparison_err.vv
checker: sumtypes: V sometimes thinks 1 == &1 (hidden dereferencing that shouldn't be there?) (fixes #11543)
last Mar 11
243 bytes
int_modulo_by_zero_err.out
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
158 bytes
int_ptr_array_index_decl_assign_err.vv
checker: fix getting index of an array with ref arg (fixes #17800)
last Apr 21
97 bytes
int_ptr_array_index_err.vv
checker: fix error msg for index error for int ptr (#18896)
2 years ago
101 bytes
int_signess_call_arg_test.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
289 bytes
interface_cast_from_immutable_to_mutable_err.vv
checker: immutable instance of a struct can be modified via interface (fixes #23509)
last Mar 11
208 bytes
interface_field_name_err.vv
parser: make sure interface field names use uppercase letters (#14228)
4 years ago
69 bytes
interface_generic_err.vv
all: replace generic `<>` with `[]` - part 2 (#16536)
3 years ago
130 bytes
interface_implementing_interface.out
checker: make implementing an interface with another interface an error (#8398)
5 years ago
277 bytes
interface_implementing_own_interface_method.out
interfaces: error on implemention of own interface method & on duplicate normal methods
5 years ago
272 bytes
interface_implicit_str_char_err.out
checker: fix .str() method inconsistent behavior (fixes #25825)
last Apr 14
222 bytes
interface_init_err.out
v.checker: turn `interface field ... must be initialized` to a notice temporarily
4 years ago
201 bytes
interface_method_name_err.vv
parser: check interface methods name (fix #14217) (#14218)
4 years ago
41 bytes
interface_return_parameter_err.out
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
452 bytes
interface_sameness_check_for_mutable_methods.vv
checker: do not deref non-pointer types in `fn_signature_using_aliases` (#12340)
4 years ago
146 bytes
interface_too_many_embedding_levels.out
v: implement interface embedding (#9935)
5 years ago
231 bytes
interpolation_recursive_str_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
133 bytes
invalid_alias_ptr_cast_on_map_err.vv
checker: disallow alias ptr cast of a map value (#19336)
2 years ago
76 bytes
invalid_char_err.out
scanner: print multibyte char for invalid char error (#8804)
5 years ago
111 bytes
invalid_comptime_test.out
parser: fix wrong nodes generated for $something (#17969)
3 years ago
154 bytes
invalid_const_expr_match_range_err.out
all: add support for `const` ident in `match` range (#16526)
3 years ago
1.22 KB
invalid_generic_field_err.vv
checker: fix missing check for invalid argument for builtin (fix #23511) (#23515)
1 year ago
214 bytes
invalid_insert_references_test.vv
checker: fix detection of invalid insertions, fixes #3600 (#11945)
4 years ago
284 bytes
invalid_literal_assign_err.vv
checker: disallow literals on the left side of assignments (#15999)
3 years ago
156 bytes
invalid_mismatch_for_range_type_err.vv
checker: enhance `for` range loop check and add better positioning (#20386)
2 years ago
40 bytes
invalid_multi_return_operations_err.vv
checker: disallow all operations beside assignment, on multi return values (#16890)
3 years ago
516 bytes
invalid_none_operations_err.vv
checker: add disallow `none` operations and range (#16584)
3 years ago
483 bytes
invalid_prefix_left_side_assign_stmt_err.out
checker: disallow invalid prefix on left side of assign stmt (#18750)
3 years ago
489 bytes
invalid_property.out
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
1.04 KB
invalid_recursive_struct_err.out
checker: add check for recursive array init on struct (fix #21195) (#24278)
1 year ago
226 bytes
invalid_string_cast_to_pointers_err.out
checker: disallow `string` to `voidptr` cast entirely (#20351)
2 years ago
845 bytes
invalid_utf8_escape_string.out
checker: fix invalid utf8 string warning in character literal (fixes #23741)
last Apr 15
n/a
invalid_utf8_string.out
checker: Misleading or wrong error message in UTF-8 byte sequence verification (fixes #25874)
last Apr 14
146 bytes
invalid_variable_err.out
encoding.binary: add an f32 test; checker: remove "(s)" from the assignment mismatch error
2 years ago
746 bytes
invalid_variable_name_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
211 bytes
invert_other_types_bits_error.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
81 bytes
is_type_not_exist.vv
parser, checker: improve the error message for an unknown type (#21207)
2 years ago
432 bytes
js_number_requires_explicit_cast.vv
checker(js): allows you to pass a numeric value to JS.Number without a cast (fixes #24677)
last Mar 11
63 bytes
js_with_non_js_backend_too_many_arguments.vv
cgen: check call argument on methods (#12965)
4 years ago
38 bytes
labelled_break_continue.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
451 bytes
lambda_expression_in_map.vv
checker: support lambda expressions in array methods like `a.map(|x|x*10)` too (#19424)
2 years ago
110 bytes
lambda_expression_invalid.vv
parser, checker: check invalid lambda expr (#20461)
2 years ago
82 bytes
lambda_or_block_err.vv
checker: fix missing or-block check for callexpr (fix #22835) (#22840)
1 year ago
180 bytes
like_operator_outside_orm_1_error.out
tests: add like_operator_outside_orm_error.vv/.out (related #22075) (#22079)
1 year ago
232 bytes
like_operator_outside_orm_2_error.out
tests: add like_operator_outside_orm_error.vv/.out (related #22075) (#22079)
1 year ago
296 bytes
like_operator_with_non_string_type_error.out
orm: add null handling and option fields (#19379)
2 years ago
1.22 KB
lock_already_locked.out
checker: extract vlib/v/checker/errors.v, use maps for c.error_lines, c.warning_lines, c.notice_lines, dedup all errors, warns, and notices
2 years ago
1.11 KB
lock_already_rlocked.vv
checker, cgen: checks for shared/lock, first autolock (#5815)
5 years ago
121 bytes
lock_const.out
checker: add a deprecation warning for `const ()` groups (an error after 2025-01-01) (#22019)
1 year ago
223 bytes
lockexpr_missing_return_err.out
checker: fix missing detection for `return` in lockexpr stmts (fix #23434) (#23435)
1 year ago
232 bytes
main_no_body_err.out
checker: make the no-body main function a checker error (#8211)
5 years ago
125 bytes
map_builtin_method_args_err.out
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
677 bytes
map_def_err.out
checker: add error for `field map` (i.e. a plain untyped map), used inside a struct (#21625)
2 years ago
172 bytes
map_func_return_multiple_values_err.vv
checker: add error for .map() calling a fn with multiple return values (prevent inaccessible tuple leak)
4 years ago
103 bytes
map_func_void_return_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
85 bytes
map_index_or_block_type_mismatch_err.vv
checker: fix checking got 'none' from or_block of map index (fix #20390) (#20394)
2 years ago
138 bytes
map_init_invalid_syntax.out
checker: add an error for `x.method({})` calls, when method expects a struct
4 years ago
425 bytes
map_init_invalid_syntax.vv
vlib: remove deprecated map{} usages as well as deprecated functions (#11035)
4 years ago
35 bytes
map_init_invalid_update.vv
v: add map update-init syntax: `new_map := {...old_map, 'k1': 1, 'k2': 5}` (#20561)
2 years ago
232 bytes
map_init_wrong_expected_type.vv
v: add map update-init syntax: `new_map := {...old_map, 'k1': 1, 'k2': 5}` (#20561)
2 years ago
646 bytes
map_init_wrong_type.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
143 bytes
map_init_wrong_update_type.vv
v: add map update-init syntax: `new_map := {...old_map, 'k1': 1, 'k2': 5}` (#20561)
2 years ago
314 bytes
map_key_val_or_not_progagate_err.vv
checker: check for unwrapped results in map keys and vals (fix #22521) (#22525)
1 year ago
108 bytes
map_lambda_void_return_err.vv
checker: disallow void return value lambdas in array.map method calls (#21011)
2 years ago
47 bytes
map_ops.out
checker: Compiler accepts &int as a key for map[int]int (fixes #23069)
last Apr 14
1.87 KB
map_ops.vv
checker: Compiler accepts &int as a key for map[int]int (fixes #23069)
last Apr 14
152 bytes
map_option_key_err.vv
checker: C error: cannot convert 'struct _option_string' to 'unsigned char *' (fixes #26347)
last Mar 11
143 bytes
map_repeated_float_key_err.vv
checker: fix missing map float key duplicated checking (fix #25098) (#25117)
last Aug 16
126 bytes
map_result_callback_fn_type_err.out
checker: Error handling, compile error (fixes #20980)
last Apr 14
796 bytes
map_result_callback_fn_type_err.vv
checker: Error handling, compile error (fixes #20980)
last Apr 14
210 bytes
map_unknown_value.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
47 bytes
map_with_none_err.out
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
1013 bytes
map_with_result_value_err.out
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
707 bytes
match_branch_call_expr_arg_mismatch.out
checker: fix mut smartcasts not working correctly (fixes #17440)
last Apr 15
n/a
match_cast_cond_not_same_range_cast_type_err.out
checker: add a deprecation warning for `const ()` groups (an error after 2025-01-01) (#22019)
1 year ago
345 bytes
match_cond_with_parenthesis_err.out
checker: warn instead of error, for unnecessary brackets on if/match (#18117)
3 years ago
985 bytes
match_duplicate_branch.out
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
1.68 KB
match_duplicate_branch_mixed_int_literals.out
checker: fix duplicate case value for match with u8 and int (fixes #26627)
last Mar 25
597 bytes
match_else_last_expr.out
checker,transformer: add always true/false branch detection for the `if` and `match` constructs (#25674)
last Nov 9
750 bytes
match_enum_ref.out
checker: fix non dereferenced enum in match statements (fixes #10045) (#20591)
2 years ago
276 bytes
match_expr_and_expected_type_error.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
79 bytes
match_expr_else.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
347 bytes
match_expr_empty_branch.vv
checker: check for empty branches in match expressions (#10593)
5 years ago
42 bytes
match_expr_range_low_higher_than_high.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
68 bytes
match_expr_with_none_only.vv
checker: add missing check for IfExpr and MatchExpr with no valid type (#23832)
1 year ago
62 bytes
match_generic_case_err.vv
checker: fix missing check for concrete type on match branch expr (fix #23506) (#23508)
1 year ago
228 bytes
match_invalid_type.out
checker: fix tests (adjust byte to u8 in .out files too)
4 years ago
826 bytes
match_invalid_type.vv
checker: fix tests (adjust byte to u8 in .out files too)
4 years ago
277 bytes
match_missing.vv
parser, checker: move more match validation from the parser into the checker, add error for match without branches (#21181)
2 years ago
84 bytes
match_mut_with_immutable_var_err.vv
checker: fix tests (adjust byte to u8 in .out files too)
4 years ago
109 bytes
match_no_branch_cast_rest_casted_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
108 bytes
match_option_without_none_err.vv
checker: fix none check for match expr with option (fix #22728) (#22732)
1 year ago
342 bytes
match_range_mismatch_type_err.vv
checker: improve mismatched range types error messages
3 years ago
165 bytes
match_ranges_not_same_cast_err.vv
checker: add a deprecation warning for `const ()` groups (an error after 2025-01-01) (#22019)
1 year ago
117 bytes
match_return_mismatch_type_err.out
checker: match []u8 gives &[]u8 (fixes #24054)
last Mar 11
1.63 KB
match_return_sumtype_mismatch_err.vv
checker: check the sumtype mismatch returned by match expr (#13751)
4 years ago
248 bytes
match_sumtype_multiple_types.out
checker: error: field does not exist with embedded structure and sumtype variants (fixes #11290)
last Mar 11
644 bytes
match_undefined_cond.out
checker: add error for struct not init (fix #24893) (#25134)
last Aug 19
712 bytes
match_undefined_cond.vv
checker: add error for struct not init (fix #24893) (#25134)
last Aug 19
89 bytes
method_call_arg_mismatch.vv
checker: check method call argument type mismatch (#14496)
4 years ago
102 bytes
method_call_arg_no_mut_err.vv
all: do not allow uninitialized function pointers
2 years ago
292 bytes
method_call_on_undefined_err.vv
checker: fix or-expr check on invalid method call (fix #22949) (#22950)
1 year ago
311 bytes
method_op_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
543 bytes
method_ptr_used_as_argument_err.vv
checker: ensure fn pointer cannot be used as non-fn argument (fix #26017) (#26022)
last Dec 19
138 bytes
minus_op_wrong_type_err.out
checker: extract vlib/v/checker/errors.v, use maps for c.error_lines, c.warning_lines, c.notice_lines, dedup all errors, warns, and notices
2 years ago
4.45 KB
missing_c_lib_header_1.out
cgen: produce cleaner error on missing C headers (with optional explanation) (#6637)
5 years ago
149 bytes
missing_c_lib_header_1.vv
cgen: produce cleaner error on missing C headers (with optional explanation) (#6637)
5 years ago
185 bytes
missing_c_lib_header_with_explanation_2.vv
cgen: produce cleaner error on missing C headers (with optional explanation) (#6637)
5 years ago
230 bytes
missing_concrete_type_err.vv
checker: fix missing concrete type checking on a generic type specifier (#21614)
2 years ago
62 bytes
missing_shader_header_1.glsl
cgen: improve error message when running shader examples (fixes #16125)
last Mar 25
63 bytes
missing_shader_header_1.vv
cgen: improve error message when running shader examples (fixes #16125)
last Mar 25
50 bytes
misspelled_mod_fn_name_should_have_suggestion.vv
checker: add suggestions for misspelled `mod.func_name()` calls
4 years ago
36 bytes
mod_name_duplicate_const_err.vv
checker: disallow module name duplicates in local names (#18118)
2 years ago
30 bytes
mod_name_duplicate_param_err.vv
checker: disallow module name duplicates in local names (#18118)
2 years ago
49 bytes
mod_name_duplicate_var_err.out
checker: turn warning for var and param module name duplicates into error (#19645)
2 years ago
407 bytes
mod_op_wrong_type_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
212 bytes
module_selector_decl_assign_err.vv
checker: fix local variable with module before should give a compiler error (fixes #10658)
last Feb 26
66 bytes
mul_op_wrong_type_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
294 bytes
multi_const_field_name_duplicate_err.vv
checker: add a deprecation warning for `const ()` groups (an error after 2025-01-01) (#22019)
1 year ago
57 bytes
multi_return_use_void_type_err.out
checker: give a checker error message on `print(1), print(2)` (fix #16311) (#16314)
3 years ago
198 bytes
multi_value_method_err.out
checker: reject method that have multi-value type receiver (#8696)
5 years ago
153 bytes
multi_value_method_err.vv
checker: reject method that have multi-value type receiver (#8696)
5 years ago
25 bytes
multireturn_mix_err.vv
checker: add check for mixing multi-return results with other types in return statements (fix #17501) (#18067)
3 years ago
97 bytes
mut_array_get_element_address_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
84 bytes
mut_assign_ref.vv
checker: disallow references to constants (fix #23935) (#23942)
1 year ago
238 bytes
mut_map_get_value_address_err.out
checker: cycle through all `ast.ParExpr` first in `prefix_expr` (fix #24584) (#24588)
1 year ago
247 bytes
mut_parms_struct_param_err.out
checker: disallow structs with `@[params]` attribute as mutable function parameters (#21206)
2 years ago
287 bytes
mut_receiver.out
parser: improve the position of mut receiver warning / error (#8240)
5 years ago
459 bytes
mut_receiver_lit.vv
checker: fix checking of expression as mut receiver, when calling methods of arrays/maps (#20410)
2 years ago
406 bytes
mut_receiver_wrong_return_type.vv
v.checker: fix return type checking being skipped for mutable method receivers (#12043)
4 years ago
113 bytes
negative_assign_to_unsigned.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
54 bytes
nested_fn_alias_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
33 bytes
no_arrays_of_references_in_translated.out
parser,checker: silence more warnings for `@[translated]` files (#20964)
2 years ago
n/a
no_assign_0_to_a_reference_field_notice_in_translated.out
checker: silence "assigning 0 to a reference field" and "uninitialized fn struct fields" notices for `@[translated]\nmodule ...` files (#20938)
2 years ago
n/a
no_cannot_cast_a_fixed_array_in_translated.out
parser,checker: silence more warnings for `@[translated]` files (#20964)
2 years ago
n/a
no_function_must_be_called_from_unsafe_in_translated.out
parser,checker: silence more warnings for `@[translated]` files (#20964)
2 years ago
n/a
no_goto_requires_unsafe_in_translated.out
parser,checker: silence more warnings for `@[translated]` files (#20964)
2 years ago
n/a
no_goto_requires_unsafe_in_translated.vv
parser,checker: silence more warnings for `@[translated]` files (#20964)
2 years ago
130 bytes
no_interface_instantiation_b.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
69 bytes
no_interface_instantiation_c.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
92 bytes
no_main_println_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
10 bytes
no_method_must_be_called_from_unsafe_in_translated.vv
parser,checker: silence more warnings for `@[translated]` files (#20964)
2 years ago
101 bytes
no_method_on_interface_propagation.vv
checker, cgen: add sumtype-like smartcasting capabilites to interfaces (#9256)
5 years ago
269 bytes
no_operator_can_only_be_used_as_a_statement_in_translated.vv
parser,checker: silence more warnings for `@[translated]` files (#20964)
2 years ago
152 bytes
no_pointer_arithmetic_is_only_allowed_in_translated.vv
parser,checker: silence more warnings for `@[translated]` files (#20964)
2 years ago
164 bytes
no_reading_a_union_field_in_translated.vv
parser,checker: silence more warnings for `@[translated]` files (#20964)
2 years ago
138 bytes
no_sign_notice_in_translated.vv
checker: remove notice when shifting signed int for `@[translated]` (#20935)
2 years ago
96 bytes
no_unused_variable_in_translated.out
parser,checker: silence more warnings for `@[translated]` files (#20964)
2 years ago
n/a
no_unused_variable_in_translated.vv
parser,checker: silence more warnings for `@[translated]` files (#20964)
2 years ago
51 bytes
no_warning_for_in_mut_var_unused.out
checker: fix for_in mut var unused warning (#10008)
5 years ago
n/a
nocopy_struct_err.out
checker: add @[nocopy] attribute to prevent struct value copying (fixes #26721)
last Apr 14
1.62 KB
non_const_match_range_err.out
all: add support for `const` ident in `match` range (#16526)
3 years ago
601 bytes
non_lvalue_as_voidptr.out
checker: prohibit passing non-lvalue as `voidptr` (#10838)
4 years ago
169 bytes
non_matching_functional_args.vv
checker: add details about a non matching functional argument
6 years ago
369 bytes
non_nil_array_with_nil_element_err.vv
checker: disallow nil in non-nil arrays and vice versa (#21786)
2 years ago
79 bytes
noreturn_with_non_empty_loop_at_end.vv
all: update attributes to use new syntax
2 years ago
173 bytes
noreturn_without_loop_or_another_noreturn_at_end.vv
all: update attributes to use new syntax
2 years ago
155 bytes
number_literal_overflows_known_type_range_warn.vv
checker: add warning for `fn f(x u8) {} f(999)` (fix #26584) (fix #26585) (#26586)
last Feb 12
1.68 KB
oct_lit_without_digit_err.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
182 bytes
oct_lit_wrong_digit_err.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
189 bytes
opaque_c_typedef_struct_field_err.out
checker: fix cgen error when using `sdl.Window` as non-ref type for struct field (fixes #23042)
last Apr 23
244 bytes
operator_overloading_primitive_alias_return_type_err.out
all: super batch 2 fixes
last Apr 4
1.08 KB
operator_overloading_return_type_option_or_result.out
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
606 bytes
opt_is_op_check_err.vv
checker: disallow `expr is Type` if expr is Optional (fix #23486) (#23510)
1 year ago
189 bytes
option_alias_result_type_err.vv
checker: disallow using aliases of ?Type as !Type (#21128)
2 years ago
215 bytes
option_and_result_err.vv
checker: fix missing option and result wrong type return type definition (#21626)
2 years ago
28 bytes
option_array_push.vv
checker: fix check for pushing on an unwrapped option array (fix #24073) (#24093)
1 year ago
200 bytes
option_as_cast_err.vv
checker: fix missing option variable checking when casting using `as` operator (fix #23349) (#23358)
1 year ago
148 bytes
option_concrete_type_err.vv
parser: detect wrong usage of Option as concrete type (#18334)
3 years ago
45 bytes
option_fn_field_err.out
checker: fix missing option function field checking (#17601)
3 years ago
199 bytes
option_fn_return_error.out
checker: turn the option/result split warning into an error; readme: better wording
2 years ago
249 bytes
option_fn_var_err.out
checker, cgen: fix codegen for option fntype used in a match (fix #22278) (#22280)
1 year ago
272 bytes
option_in_operator_err.vv
checker: error for unwrapped option/result types used with in operator (fix #26208) (#26223)
last Jan 1
281 bytes
option_in_receiver_err.out
parser: disallow defining methods on option receivers - `fn (x ?Type) method() {` (#17351)
3 years ago
225 bytes
option_map_err.out
checker: check if unwrapped `m[key]` if m is `Option` (fix #23446) (#23459)
1 year ago
510 bytes
option_mut_non_mut_err.out
checker: add error for `if mut x != none {`, when `x` is an immutable option (fix #24692) (#24694)
1 year ago
288 bytes
option_or_block_returns_value_of_incompatible_type.vv
checker: check option fn returning error (fix #17423) (#17438)
3 years ago
292 bytes
option_propagate_nested.vv
checker: check option fn returning error (fix #17423) (#17438)
3 years ago
331 bytes
option_ptr_without_unwrapp_err.vv
v: add selector option unwrapping inside `if tree.root != none {` (#22895)
1 year ago
176 bytes
option_receive_ptr_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
325 bytes
option_ref_init_err.vv
ci: fix vlib/v/checker/tests/option_ref_init_err.vv/.out after e736eca
2 years ago
212 bytes
option_return_call_non_opt_err.vv
checker: fix or-block expected type checking (#17469)
3 years ago
197 bytes
option_return_selector_non_opt_err.out
checker: fix or-block expected type checking (#17469)
3 years ago
274 bytes
option_selector_fn_unwrap_err.vv
checker,cgen: fix missing validation for selector unwrapping + fix default `return none` for unwrapping (#23183)
1 year ago
155 bytes
option_selector_ierror_in_or_block_err.vv
checker: fix missing compile time error for option selector in or block (fixes #17761)
last Apr 15
245 bytes
option_selector_or_block_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
223 bytes
option_str_call.vv
checker: make `option_var.str()` an error, when done without unwrapping it first (fix #23557, fix #23558) (#23563)
1 year ago
263 bytes
option_var_assign_err.vv
checker: fix missing check for wrong assignment: non-option to option type (#17628)
3 years ago
238 bytes
option_var_unwrap_err.vv
cgen, check, parser: implement first-class option type (#17017)
3 years ago
91 bytes
option_wrapped_cmp_op_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
114 bytes
or_block_assert_err.vv
checker: cleanup and move test files to tests directory (#22870)
1 year ago
141 bytes
or_block_cast_wrong_default_type_err.vv
checker: validate or-block defaults before outer casts (#27059)
last May 2
95 bytes
or_block_check_err.out
checker: fix missing or-block check for callexpr (fix #22835) (#22840)
1 year ago
1.71 KB
or_block_non_option_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
33 bytes
or_block_selector_cast_wrong_default_type_err.vv
checker: validate or-block defaults before outer casts (#27059)
last May 2
108 bytes
or_block_u64_to_f64_err.out
checker: fix silent conversion of u64 to f64 (fixes #21778)
last Apr 14
357 bytes
or_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
89 bytes
orm_aggregate_sum_string_error.out
orm: add aggregate function support (#26697)
last Mar 7
290 bytes
orm_anon_struct_field.out
orm: fix errors and panics when using anonymous structs (fixes #23299)
last Mar 25
385 bytes
orm_bulk_pointer_array_error.out
orm: add bulk insert/update support with CASE WHEN batch updates, MySQL time conversion, and checker/codegen validation (#27132)
last May 13
870 bytes
orm_fkey_attribute.out
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
252 bytes
orm_fn_call_with_wrong_return_type.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
768 bytes
orm_invalid_recursive_structs_err_1.out
orm: fix checking invalid recursive structs in sql stmts (fix #20278) (#20505)
2 years ago
284 bytes
orm_invalid_recursive_structs_err_2.out
orm: fix checking invalid recursive structs in sql stmts (fix #20278) (#20505)
2 years ago
284 bytes
orm_invalid_recursive_structs_err_2.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
382 bytes
orm_left_side_expr_in_infix_expr_has_no_struct_field_error.vv
all: update attributes to use new syntax
2 years ago
293 bytes
orm_limit_less_than_zero_error.vv
checker: add a deprecation warning for `const ()` groups (an error after 2025-01-01) (#22019)
1 year ago
270 bytes
orm_no_default_value.out
checker: fix missing or-block check for callexpr (fix #22835) (#22840)
1 year ago
227 bytes
orm_op_with_option_and_none.out
orm: add null handling and option fields (#19379)
2 years ago
2.2 KB
orm_right_side_field_ref_in_where_error.vv
checker: fix orm compiler crash (fixes #18269)
last Mar 25
258 bytes
orm_table_attributes.out
all: replace enum field name 'xxx_' with 'xxx' (#22469)
1 year ago
232 bytes
orm_unused_var.out
orm: fix mark as used var on insert statement (fix #23032) (#23038)
1 year ago
224 bytes
orm_update_anon_fn_option_infix_err.out
orm: fix C compilation error (fixes #26224)
last Feb 26
382 bytes
orm_using_non_struct_field_in_order_by_error.out
all: replace enum field name 'xxx_' with 'xxx' (#22469)
1 year ago
550 bytes
orm_using_undefined_object_in_insert_error.out
orm: enforce that queries always return a Result, a query-resulting array can be used as a V array in place. (#17871)
3 years ago
248 bytes
orm_using_undefined_var_in_where_err.out
orm: enforce that queries always return a Result, a query-resulting array can be used as a V array in place. (#17871)
3 years ago
271 bytes
orm_where_clause_unsupported_field_types_err.out
all: update attributes to use new syntax
2 years ago
302 bytes
orm_wrong_where_expr_error.out
orm: add null handling and option fields (#19379)
2 years ago
286 bytes
os_file_raw_io_unsupported_type_err.vv
checker: SIGSEGV termination with os write_struct() and read_struct() when in separate v files (fixes #11285)
last Mar 11
400 bytes
os_file_read_struct_non_struct_err.vv
checker: fix using sum type or interface for os.file.write_struct (fixes #19117)
last Mar 25
480 bytes
os_file_write_struct_non_struct_err.vv
checker: fix using sum type or interface for os.file.write_struct (fixes #19117)
last Mar 25
447 bytes
overflow_int_err.out
parser: parse `-1` and `-13.3` as number literals (#8321)
5 years ago
565 bytes
overflow_int_err.vv
checker: prompt error on implicit int overflow by literal (#6410)
5 years ago
132 bytes
overflow_int_signed_err.vv
checker: fix signed integer literal overflow error, when most significant bit occupies signed bit (fix #23782) (#23919)
1 year ago
949 bytes
par_expr_assign_void_right_type_err.out
checker: relax the redundant () check to a notice, to enable a future `v -W test vlib/builtin` job on the CI
last Dec 13
356 bytes
pointer_cast_number_outside_unsafe_err.out
checker: fix null pointer constructed and dereferenced in safe code (fixes #20497)
last Mar 25
1.17 KB
pointer_ops.out
checker: fix infix arithmetic on explicit struct pointers (#26810)
last Apr 20
4.12 KB
pool_processor_callback_array_return_err.vv
tests: update checker error expectations
last May 14
239 bytes
prefix_addr_err.out
checker: fix missing check for taking address of literal value member (#18570)
3 years ago
328 bytes
prefix_err.vv
checker: cycle through all `ast.ParExpr` first in `prefix_expr` (fix #24584) (#24588)
1 year ago
235 bytes
prefix_expr_decl_assign_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
36 bytes
private_struct_return_autostr_err.out
checker: fix returning private struct from public function works without noinit (fixes #18427)
last Apr 21
312 bytes
private_struct_return_autostr_err.vv
checker: fix returning private struct from public function works without noinit (fixes #18427)
last Apr 21
82 bytes
propagate_option_with_result_err.vv
fmt: remove space in front of ? and ! (#14366)
4 years ago
87 bytes
propagate_result_with_option.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
87 bytes
qsort_external_variable_err.vv
checker: check for external variable access on qsort/sorted callback (fix #12386) (#22557)
1 year ago
169 bytes
recursive_alias_type_err.out
checker: add error for `type Alias = map[string]Alias` (fix #17008) (#17015)
3 years ago
3.3 KB
recursive_alias_type_err.vv
checker: add error for `type Alias = map[string]Alias` (fix #17008) (#17015)
3 years ago
447 bytes
recursive_struct_alias_embed_err.vv
all: fix Type/Struct loop causes SIGSEGV (segmentation fault) crash. (fixes #15338)
last Apr 23
64 bytes
recursive_struct_inited_array_err.vv
checker: add check for recursive array init on struct (fix #21195) (#24278)
1 year ago
144 bytes
redefining_builtin_pub_functions.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
126 bytes
redfine_global_const_fn_names.vv
checker: disallow duplicate export names (fix #25301) (#25302)
last Sep 14
251 bytes
redundant_parentheses_warning.vv
checker: check using redundant parentheses (#11228)
4 years ago
50 bytes
ref_to_non_ref_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
130 bytes
reference_field_must_be_initialized.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
124 bytes
reference_return.vv
checker: check reference return to be really reference (#7739)
5 years ago
98 bytes
require_or_block_sumtype_map.err.vv
v.checker: fix spurious warning for `if x := map_of_sumtypes[k] {}`
4 years ago
129 bytes
res_use_outside_defer.vv
all: add $res compile time function to get returned value in defer block (#18382)
3 years ago
53 bytes
reserved_type_name_const_err.vv
checker: add a deprecation warning for `const ()` groups (an error after 2025-01-01) (#22019)
1 year ago
36 bytes
result_call_inside_infix_expr_err.vv
checker: fix i64 transfer to f64 should be explicit (fixes #14934)
last Feb 26
1.2 KB
result_chan_test_err.out
parser: add check for result type on chan init (#21363)
2 years ago
204 bytes
result_missing_propagate_err.out
checker: optimize option and result typ check, add more typinfo to error details (#21105)
2 years ago
265 bytes
result_type_call_err.out
checker: optimize option and result typ check, add more typinfo to error details (#21105)
2 years ago
656 bytes
return_count_mismatch.out
checker: fix error position in `fn f() int { return 1,2 }`
4 years ago
3.54 KB
return_duplicate_with_none_err_a.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
86 bytes
return_duplicate_with_none_err_b.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
86 bytes
return_missing_comp_if.out
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
227 bytes
return_missing_comp_if_nested.out
checker,transformer: add always true/false branch detection for the `if` and `match` constructs (#25674)
last Nov 9
224 bytes
return_missing_if_else_simple.out
checker,transformer: add always true/false branch detection for the `if` and `match` constructs (#25674)
last Nov 9
1.22 KB
return_missing_if_match.out
checker,transformer: add always true/false branch detection for the `if` and `match` constructs (#25674)
last Nov 9
954 bytes
return_missing_match_if.out
checker,transformer: add always true/false branch detection for the `if` and `match` constructs (#25674)
last Nov 9
911 bytes
return_missing_nested.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
99 bytes
return_missing_simple.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
70 bytes
return_ref_as_no_ref_bug.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
160 bytes
return_result_type_mismatch.out
checker: check mismatch of return result type (#15413)
3 years ago
233 bytes
return_stack_var_err.out
checker: fix missing check for stack pointer return (fix #22726) (#22756)
1 year ago
347 bytes
return_stack_var_err.vv
checker: fix missing check for stack pointer return (fix #22726) (#22756)
1 year ago
378 bytes
return_void_type_err.out
v.checker: check fn returning void type (fix #12076) (#12078)
4 years ago
201 bytes
return_working_comp_if.out
checker: make unused private fn/const warning a notice
last Apr 26
206 bytes
return_working_comp_if_nested.out
checker: make unused private fn/const warning a notice
last Apr 26
199 bytes
return_working_if_match.out
checker: make unused private fn/const warning a notice
last Apr 26
951 bytes
return_working_match_if.out
checker: make unused private fn/const warning a notice
last Apr 26
891 bytes
return_working_nested.out
checker: make unused private fn/const warning a notice
last Apr 26
638 bytes
return_working_simple.out
checker: make unused private fn/const warning a notice
last Apr 26
409 bytes
return_working_two_if.out
checker: make unused private fn/const warning a notice
last Apr 26
864 bytes
return_working_two_if.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
153 bytes
right_hand_side_mut.out
checker: disallow `mut` keyword in right-hand side of assignment (#12318)
4 years ago
277 bytes
right_hand_side_mut.vv
checker: disallow `mut` keyword in right-hand side of assignment (#12318)
4 years ago
97 bytes
rshift_op_wrong_left_type_err.vv
parser: `expression evaluated but not used` error
6 years ago
33 bytes
rshift_op_wrong_right_type_err.vv
parser: `expression evaluated but not used` error
6 years ago
33 bytes
selector_expr_opt_map_get_err.out
checker: check if unwrapped `m[key]` if m is `Option` (fix #23446) (#23459)
1 year ago
271 bytes
selector_expr_option_err.out
cgen, check, parser: implement first-class option type (#17017)
3 years ago
272 bytes
selector_generic_or_block_err.out
checker: fix selector generic or block (fix #23088) (#23102)
1 year ago
353 bytes
selector_struct_init_amp_err.out
checker: fix selector with prefixed `&` structinit (#22689)
1 year ago
280 bytes
shared_bad_args.out
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
3.75 KB
shared_bad_receiver.out
checker: disallow calls to a shared receiver method, on a non-shared var (fix #25577) (#25656)
last Nov 4
211 bytes
shared_element_lock.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
507 bytes
shared_receiver_mut_interface_err.out
checker: C compilation error with shared struct (fixes #25160)
last Mar 11
460 bytes
shared_type_mismatch.out
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
279 bytes
shift_op_wrong_right_type_err.out
checker: extract vlib/v/checker/errors.v, use maps for c.error_lines, c.warning_lines, c.notice_lines, dedup all errors, warns, and notices
2 years ago
423 bytes
shift_ops_expressions.out
checker,transformer: add always true/false branch detection for the `if` and `match` constructs (#25674)
last Nov 9
5.92 KB
short_struct_wrong_number.vv
checker: check number of fields in short struct inits (#6280)
5 years ago
96 bytes
slice_clone_in_struct_init_notice.vv
checker: fix assigning array slice in struct init (#19150)
2 years ago
104 bytes
slice_reassignment.out
checker: add an error for assigning to array slices `a[..2] = [0, 0]` (#10412)
5 years ago
273 bytes
sort_method_called_on_immutable_receiver.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
107 bytes
spawn_wrong_fn_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
639 bytes
stack_var_check_err.vv
checker: fix stack var outside usage when var is a mutable param (#24249)
1 year ago
723 bytes
static_fn_call_no_struct_decl_err.vv
checker: disallow static fn call when receiver type is unknown (#21970)
1 year ago
67 bytes
static_method_not_found_err.out
encoding.binary: add an f32 test; checker: remove "(s)" from the assignment mismatch error
2 years ago
772 bytes
static_vars_in_translated_mode.out
parser: allow `mut static counter := 0` inside `unsafe {}` blocks (prepare for removing a `-translated` mode quirk)
1 year ago
312 bytes
store_string_err.vv
checker: check option fn returning error (fix #17423) (#17438)
3 years ago
89 bytes
str_interpol_invalid_err.vv
all: rollback to old interpolation (step 3) (#16380)
3 years ago
236 bytes
str_method_0_arguments.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
110 bytes
str_method_return_string.vv
checker: add check for strict .str() method signature
6 years ago
99 bytes
strict_map_index_err.vv
checker: delete the default zero value in v (fixes #23940)
last Apr 21
91 bytes
string_escape_u16_err_a.vv
scanner: implement support for UTF-32 escape codes in string literals (#19911)
2 years ago
32 bytes
string_escape_u16_err_b.vv
scanner: implement support for UTF-32 escape codes in string literals (#19911)
2 years ago
35 bytes
string_escape_u32_err_a.vv
scanner: implement support for UTF-32 escape codes in string literals (#19911)
2 years ago
32 bytes
string_escape_u32_err_b.vv
scanner: implement support for UTF-32 escape codes in string literals (#19911)
2 years ago
35 bytes
string_escape_x_err_a.vv
scanner: fix error of backslash escaping x in ident_string(fix #6850) (#6994)
5 years ago
32 bytes
string_escape_x_err_b.vv
scanner: fix error of backslash escaping x in ident_string(fix #6850) (#6994)
5 years ago
34 bytes
string_index_assign_error.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
51 bytes
string_to_enum_cast_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
101 bytes
struct_aliased_field_unsign_type_check_err.vv
checker: check struct aliased field unsign type assigning negative value (fix #22868) (#22871)
1 year ago
99 bytes
struct_arr_mut_field_arr_assign_err.vv
checker: disallow struct init with `mutable_field: const_array` (fix #22862) (#22863)
1 year ago
143 bytes
struct_assigned_to_pointer_to_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
84 bytes
struct_cast_to_struct_generic_err.vv
all: replace generic `<>` with `[]` - part 2 (#16536)
3 years ago
104 bytes
struct_cast_to_struct_pub_err_a.out
tests: do not use -prod for compiling .vv files in vlib/v/checker/tests/ and vlib/v/parser/tests/
4 years ago
466 bytes
struct_cast_to_struct_pub_err_b.out
tests: do not use -prod for compiling .vv files in vlib/v/checker/tests/ and vlib/v/parser/tests/
4 years ago
466 bytes
struct_embed_invalid_type.out
checker: allow embed of type alias anon struct (#21928)
1 year ago
173 bytes
struct_field_assign_internal_types_nil_err.out
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
2.27 KB
struct_field_fixed_size_init_with_d_as_size_err.out
checker: add error for `field [$d('x', 2)]int = [1, 2]!` (#21741)
2 years ago
358 bytes
struct_field_generic_struct_unknown_type_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
132 bytes
struct_field_init_and_default_is_map_err.vv
checker: fix checking give const map as default or init value to struct fields (fix #20512) (#20546)
2 years ago
134 bytes
struct_field_init_option_ref_err.out
checker: fix incorrect checks when struct fields are ref and option type(fix #19555) (#20195)
2 years ago
271 bytes
struct_field_init_with_nobody_anon_fn_err.out
checker: always trigger error for anon fns without a body block (#16358)
3 years ago
293 bytes
struct_field_init_with_result_err.out
checker: optimize option and result typ check, add more typinfo to error details (#21105)
2 years ago
276 bytes
struct_field_init_with_void_expr_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
330 bytes
struct_field_map_address_err.out
checker: check taking the address of map field outside unsafe block (#15737)
3 years ago
398 bytes
struct_field_mismatch_ref_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
564 bytes
struct_field_name_err.out
checker: check struct field name using uppercase letters (#14220)
4 years ago
867 bytes
struct_field_option_err.out
checker: abstract repetitive error handling (#18507)
3 years ago
1.15 KB
struct_field_reference_type_err.vv
checker: check struct field reference type mismatch (#13575)
4 years ago
194 bytes
struct_field_type_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
266 bytes
struct_field_unsign_type_check_err.vv
checker: fix struct field unsign type check (fix #16457) (#16458)
3 years ago
88 bytes
struct_field_with_any_type_err.vv
checker: check struct field using 'any' type (#12489)
4 years ago
71 bytes
struct_field_with_default_err.vv
all: replace generic '<>' with '[]' in .vv files (#16593)
3 years ago
59 bytes
struct_fixed_array_init_test.vv
cgen: fix struct field initialisation with a fixed array (#16692)
3 years ago
222 bytes
struct_implements_non_interface_err.out
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
219 bytes
struct_init_deprecations.out
checker: add support for deprecation messages for structs and struct fields (#21017)
2 years ago
1.44 KB
struct_init_field_result_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
503 bytes
struct_init_update_type_err.out
checker: allow struct updates from struct aliases (#16567)
3 years ago
903 bytes
struct_init_with_iface_embed_iface_with_incorrect_method_impl_ref_field_err.out
all: super batch 2 fixes
last Apr 4
815 bytes
struct_init_wrong_warn.out
checker: fix wrong struct warn about inited fields (#17678)
3 years ago
n/a
struct_iter_generic_invalid_infer_err.out
checker: check if next() method infers generic type correctly (fix #23927) (#23932)
1 year ago
329 bytes
struct_match_same_type_node.out
checker, cgen: fix check and cgen for `match x { StructName {} }` and `match x { y {} }`, where `x` is a mutable receiver (#17755)
3 years ago
349 bytes
struct_multi_return_field_err.out
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
201 bytes
struct_non_ptr_field_nil_default_value_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
119 bytes
struct_non_ptr_struct_field_nil_default_value_err.vv
checker: fix "Builder Error" when defining field `gg gg.Context = unsafe {nil}` not as a pointer (fixes #15201)
last Feb 26
120 bytes
struct_none_field_type_err.vv
checker: disallow none type in struct fields (#16425)
3 years ago
88 bytes
struct_not_init_err.vv
checker: add error for struct not init (fix #24893) (#25134)
last Aug 19
169 bytes
struct_option_field_assign_ptr_err.vv
checker: disallow assigning pointer values to option struct fields (#19380)
2 years ago
155 bytes
struct_ptr_cast_int_outside_unsafe_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
88 bytes
struct_ptr_cast_ptr_outside_unsafe_warn.vv
checker: fix arbitrary pointers in safe code (fixes #25247)
last Mar 25
78 bytes
struct_ptr_cast_zero_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
88 bytes
struct_ref_field_const_default_err.vv
checker: fix c error when reference field improperly initialized (fixes #25980)
last Apr 21
112 bytes
struct_ref_field_no_ptr_err.vv
cgen: fix struct ref field with no ref structinit (#21932)
1 year ago
60 bytes
struct_ref_fields_init_0_err.vv
checker: cleanup and simplify struct processing p2, extend test (#21025)
2 years ago
130 bytes
struct_ref_fields_uninitialized_err.vv
checker: fix references for alias type, that could still be uninitalized (fix #15935) (#15940)
3 years ago
306 bytes
struct_required_fn_field.out
parser: fix required function members in struct (#10299)
5 years ago
230 bytes
struct_type_cast_err.out
checker: make `byte(0)` an error; use `u8(0)` (fix #23236) (#23311)
1 year ago
2.16 KB
struct_unknown_field.out
checker: add a suggestion for misspelled field names in struct literals
3 years ago
268 bytes
struct_unneeded_default.vv
checker: fix warning of unnnecessary default `none` value for option struct fields (#17305)
3 years ago
196 bytes
struct_update_comptime_err.vv
checker: disallow `struct{...val.$(field.name)}` (#16852)
3 years ago
360 bytes
struct_void_field_err.vv
checker, cgen: fix non-voidptr to voidptr on `-cstrict` + notice about such usage (fix #24139) (#24143)
1 year ago
142 bytes
struct_voidptr_field_init_err.vv
checker: check struct init with pointer field (fix #18485) (#18501)
3 years ago
127 bytes
struct_voidptr_field_no_ptr_struct_value_err.vv
checker: disallow non ptr struct values to voidptr fields (#16958)
3 years ago
93 bytes
sum_type_assign_non_variant_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
225 bytes
sum_type_common_fields_alias_error.vv
checker: allow accessing fields common to all sumtype members (#9201)
5 years ago
523 bytes
sum_type_exists.out
checker: extract vlib/v/checker/errors.v, use maps for c.error_lines, c.warning_lines, c.notice_lines, dedup all errors, warns, and notices
2 years ago
345 bytes
sum_type_holding_alias_ptr_err.vv
checker: disallow sum type holding alias ptrs (#20786)
2 years ago
83 bytes
sum_type_multiple_type_define.vv
checker: error, when same type is used multiple times in a sum type (#7432)
5 years ago
40 bytes
sum_type_ref_variant_err.out
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
1.86 KB
sum_type_result_variant_err.out
checker: disallow sum type with `Result` variants (#21620)
2 years ago
196 bytes
sumtype_array_to_variadic.out
checker: always use ... prefix when passing array to vararg (#25428)
last Oct 6
321 bytes
sumtype_as_mismatched_type.out
checker: check sumtype as mismatched type (#12743)
4 years ago
235 bytes
sumtype_circular_reference_err.out
checker: detect circular type references in sumtype declarations (fix #24511) (#26162)
last Dec 27
460 bytes
sumtype_from_voidptr_err.out
checker: allow cast from voidptr to sumtype in unsafe block (fix #25652) (#25657)
last Nov 4
278 bytes
sumtype_has_no_variant_suggestion.out
checker: show available sumtype variants in match branches on typos
4 years ago
368 bytes
sumtype_has_no_variant_suggestion.vv
checker: show available sumtype variants in match branches on typos
4 years ago
262 bytes
sumtype_in_sumtype_err.vv
checker: fix sumtype comparison and sumtype in itself (#9917)
5 years ago
19 bytes
sumtype_in_unknown_types_err.vv
checker: check sumtype in unknown type (#17225)
3 years ago
198 bytes
sumtype_init_with_ref_fields_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
125 bytes
sumtype_mismatch_of_aggregate_err.vv
table, checker: fix sumtype array appending aggregate type values (fix #11197) (#11258)
4 years ago
171 bytes
sumtype_mismatched_type.vv
checker: fix sumtype comparison and sumtype in itself (#9917)
5 years ago
49 bytes
sumtype_of_fntype_assign_err.vv
table: check sumtype of fntype assign error (#15685)
3 years ago
147 bytes
sumtype_variant_mismatch.vv
checker: fix sumtype variant option type mismatch (#23659)
1 year ago
193 bytes
sync_receiver_decl.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
53 bytes
sync_stdatomic_compile_err.vv
sync.stdatomic: turn panic() in new_atomic[T]() into a $compile_error() (#24573)
1 year ago
57 bytes
template_call_position.vv
checker: add error message call stack support (requested by #16127, #24575, etc) (#26356)
last Jan 15
69 bytes
template_keyword_ident_err.out
parser: fix `$tmpl` error message improvement (fixes #16127)
last Apr 23
859 bytes
template_type_mismatch_err.out
checker: add an error for `$tmpl` function type mismatches (#18826)
3 years ago
270 bytes
test_functions_wrong_signature_test.vv
all: change optional to option (#16914)
3 years ago
421 bytes
test_invalid_name.out
checker: fix confusing error message when test file gets an invalid name (fixes #15642)
last Feb 26
241 bytes
time_duration_assign_to_int_err.vv
checker: fix Compiler doesn't catch type mismatch with `int` and `time.Duration` (fixes #18873)
last Apr 23
178 bytes
top_level_fn_builtin_decl_err.vv
checker: make `byte(0)` an error; use `u8(0)` (fix #23236) (#23311)
1 year ago
391 bytes
type_alias_decl_anon_struct_invalid_embed.vv
checker: improve checks for embed in anon struct (#21877)
1 year ago
46 bytes
type_alias_decl_parent_type_generic_struct_no_concrete_type_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
81 bytes
type_alias_none_parent_type_err.vv
checker: explicitly disallow creating type aliases of `none`, i.e. `type Abc = none` (#19078)
2 years ago
17 bytes
type_exists_err.vv
parser, checker: move error handling for user defined type duplicates to the checker to resolve parsing issues (#21147)
2 years ago
95 bytes
typedef_attr_v_struct_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
68 bytes
typeof_comptime_test.vv
checker,cgen: fix typeof(var.typ) with comptime $for variables (#21901)
1 year ago
763 bytes
uncasted_enum_val_as_size_for_fixed_array_err.vv
checker: allow casted `enum val` and `const` as fixed array size (#18321)
3 years ago
125 bytes
undefined_ident_in_if_guard_err_b.out
parser: check undefined variable in if guard (#16138)
3 years ago
229 bytes
undefined_ident_in_ref_selector.out
checker: extract vlib/v/checker/errors.v, use maps for c.error_lines, c.warning_lines, c.notice_lines, dedup all errors, warns, and notices
2 years ago
972 bytes
undefined_ident_of_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
73 bytes
undefined_var_in_comptime_for_test.vv
checker: fix postfix var checking break (#16984)
3 years ago
182 bytes
unexpected_or.out
checker, cgen, parser: fix Option/Result error messages (capitalized) (#17486)
3 years ago
247 bytes
unexpected_or_propagate.out
checker: abstract repetitive error handling (#18507)
3 years ago
252 bytes
unfinished_string.vv
scanner: add an error for unfinished string literals (#6519)
5 years ago
7 bytes
unimplemented_interface_f.out
checker: add an interface check for mutability, fixes #1081, fixes #7038 (#11963)
4 years ago
394 bytes
unimplemented_interface_g.vv.disabled
tcc: fix selfcompilation with tcc. Temporarily disable crashing interface test
6 years ago
157 bytes
unimplemented_interface_h.vv
checker: add mutability checks for interface fields; add tests (#8312)
5 years ago
109 bytes
unimplemented_interface_i.vv
checker: add mutability checks for interface fields; add tests (#8312)
5 years ago
120 bytes
unimplemented_interface_j.vv
checker: add mutability checks for interface fields; add tests (#8312)
5 years ago
128 bytes
union_unsafe_fields.out
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
824 bytes
unknown_array_element_type_b.out
parser: improve precision of struct field type positions in errors
3 years ago
184 bytes
unknown_array_fn_type_in_struct_field.vv
checker: check unknown array of fn type in struct field (#15502)
3 years ago
123 bytes
unknown_as_type.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
124 bytes
unknown_comptime_expr.vv
cgen, checker: var type checking at compile-time (#16951)
3 years ago
258 bytes
unknown_field_in_struct_literal.vv
checker: add a suggestion for misspelled field names in struct literals
3 years ago
121 bytes
unknown_fn_call_err.vv
checker: fix compiler panic, when calling an unknown function in `C.printf(c'%f\n', sin(2))` (fix #22343) (#22348)
1 year ago
54 bytes
unknown_method_suggest_name.out
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
1.02 KB
unknown_sizeof_type_err_a.out
parser: support an unambiguous sizeof[T]() and isreftype[T]() (part 1) (#16684)
3 years ago
301 bytes
unknown_struct_field_suggest_name.out
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
570 bytes
unknown_type_in_anon_fn.out
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
216 bytes
unknown_var_assign.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
29 bytes
unkown_enum_call_err.vv
checker: fix call from unknown enum (fix #23728) (#23730)
1 year ago
132 bytes
unnecessary_parenthesis_of_reference.vv
parser: notice unnecessary parenthesis of reference (fix #11179) (#13739)
4 years ago
1.39 KB
unreachable_code.out
checker,transformer: add always true/false branch detection for the `if` and `match` constructs (#25674)
last Nov 9
1.11 KB
unsafe_c_calls_should_be_checked.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
74 bytes
unsafe_deference_nil_err.vv
checker: disallow deference of nil (fix #25740) (#25746)
last Nov 16
21 bytes
unsafe_deref_assign_err.vv
checker: add missing check when assignment statement lvalue is ParExpr (fix #19819) (#19830)
2 years ago
41 bytes
unsafe_fixed_array_assign.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
105 bytes
unsafe_generic_call_test.vv
checker: fix null pointer constructed and dereferenced in safe code (fixes #20497)
last Mar 25
199 bytes
unsafe_pointer_arithmetic_should_be_checked.vv
checker: fix infix arithmetic on explicit struct pointers (#26810)
last Apr 20
363 bytes
unused_import_err.out
v.parser: improve the unused import warning message (add fixing alternatives) (#25880)
last Dec 3
698 bytes
unused_label.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
unused_last_expr_stmt_in_if.vv
checker: check unused last expression in if (fix #16084) (#16088)
3 years ago
147 bytes
unused_param.vv
parser, checker, pref: allow getting notified about unused function params (#22879)
1 year ago
213 bytes
unused_private_declarations.vv
checker: add declaration errors for unused functions and constants (fixes #19079)
last Mar 25
451 bytes
unwrapped_option_result_in_operation_err.vv
checker: disallow unwrapped option/result with `in` operator (#17875)
3 years ago
290 bytes
unwrapped_result_infix_err.vv
checker: add error for unwrapped result in infix expr (#16175)
3 years ago
120 bytes
use_byte_instead_of_u8_array_param_err.vv
checker: fix byte/u8 array param type checking and var-fn name clash (fixes #26492)
last Feb 26
42 bytes
use_byte_instead_of_u8_array_type_err.vv
checker: fix byte/u8 array param type checking and var-fn name clash (fixes #26492)
last Feb 26
42 bytes
use_byte_instead_of_u8_err.vv
checker: make `byte(0)` an error; use `u8(0)` (fix #23236) (#23311)
1 year ago
84 bytes
use_empty_map_literal_to_initialize_anon_struct_error.vv
checker: clarify error message about using empty map literal to initialize structs (fix #22498) (#22534)
1 year ago
113 bytes
var_decl_import_sym_conflict.vv
v: forbid local variable names, shadowing imported module names (#17197)
3 years ago
39 bytes
var_eval_not_used.out
checker: add a deprecation warning for `const ()` groups (an error after 2025-01-01) (#22019)
1 year ago
148 bytes
var_eval_not_used_scope.vv
checker: add a deprecation warning for `const ()` groups (an error after 2025-01-01) (#22019)
1 year ago
37 bytes
var_option_index_error.out
cgen, check, parser: implement first-class option type (#17017)
3 years ago
278 bytes
var_option_wrong_default.out
cgen, check, parser: implement first-class option type (#17017)
3 years ago
258 bytes
var_option_wrong_type.out
v: change old attr syntax mention to new one in comments too (#21860)
1 year ago
886 bytes
var_option_wrong_unwrap.out
cgen, check, parser: implement first-class option type (#17017)
3 years ago
203 bytes
var_used_before_declaration.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
49 bytes
variadic_value_print_err.vv
checker: disallow printing variadic expansions of arrays: `print(...a)`, `println(...a)`, where a is an array (fix #19490) (#19503)
2 years ago
29 bytes
veb_bound_method_fn_field_return_type_err.vv
checker: fix app timeouts once "before_request" middleware is registered. (fixes #24782)
last Apr 23
354 bytes
veb_context_param_mutability.vv
checker: fix veb c compilation error when context not mutable (fixes #25361)
last Mar 25
157 bytes
veb_ctx_on_fn_err.vv
checker: fix missing check for method that returns veb.Result (fix #23647) (#23762)
1 year ago
1.05 KB
veb_handler_param_type_err.vv
checker: fix checker error for veb handler param type (fixes #24870)
last Apr 15
221 bytes
void_fn_as_value.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
93 bytes
void_fn_multiple_ret_err.vv
checker: fix and improve return stmt error messages (#17477)
3 years ago
363 bytes
void_method_call.out
checker: remove redundant callexpr `c.expr(mut node.left)` rechecks for `ast.CallExpr` (fix #24353) (#24380)
1 year ago
220 bytes
voidptr_cast_to_struct_err.vv
checker: disallow voidptr cast to struct (#18845)
2 years ago
67 bytes
voidptr_dereference_err.vv
ci: revert nil to voidptr(u64(0)) in voidptr_dereference_err.vv too. nil should have its own .vv/.out pair.
3 years ago
86 bytes
wrong_arg_count_with_or_block_no_panic.vv
checker:fix compiler panic on wrong arg count with or block (#26665)
last Feb 28
323 bytes
wrong_arr_field_err.out
parser: improve the error message position for invalid array attr keys (#21944)
1 year ago
239 bytes
wrong_comptime_for_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
340 bytes
wrong_fn_init_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
77 bytes
wrong_muti_dim_arr_declare_err.vv
parser: detect wrong multi-dim arr declare (fix #25333) (#25338)
last Sep 18
128 bytes
wrong_none_on_or_block_err.vv
checker: fix missing check for none type on or block on non-option (#17529)
3 years ago
88 bytes
wrong_option_type.vv
parser: add a more precise and helpful error message for `int!` and `int?` result type syntax (#20061)
2 years ago
26 bytes
wrong_or_expr_err.vv
checker: fix missing check for or expr on string interpolation (#17566)
2 years ago
108 bytes
wrong_predicate_type_err.vv
checker: fix wrong type hint on predicate arg type mismatch (fix #24122) (#24123)
1 year ago
197 bytes
wrong_propagate_ret_type.vv
checker: fix illegal result propagate on non-result type (fix #15574) (#15578)
3 years ago
176 bytes
wrong_result_type.vv
parser: add a more precise and helpful error message for `int!` and `int?` result type syntax (#20061)
2 years ago
26 bytes
wrong_shift_left_option_err.out
checker: fix option in struct member infix expr and swapped none comparion (fix #26351) (#26373)
last Jan 17
1.3 KB
wrong_struct_init_err.out
parser: move error/warning messages from parser to checker (fixes #26097)
last Mar 25
272 bytes
wrong_type_casted_fixed_array_size_err.vv
checker: allow casted `enum val` and `const` as fixed array size (#18321)
3 years ago
126 bytes
any_return_type_err.vv
checker: add an error for returning an `any` value in pure V code (prevents invalid cgen) (fix #12623) (#22334)
1 year ago
257 bytes
any_type_err.out
checker: fix missing check for alias to generic type (fix #22359) (#22360)
1 year ago
1.33 KB
any_type_err.vv
parser, checker: move error handling for `any` type to the checker to resolve parsing issues (#21146)
2 years ago
284 bytes
.gitignore
checker: add support for deprecation messages for structs and struct fields (#21017)
2 years ago
43 bytes
assign_immutable_reference_call_result_err.vv
v2: lifetimes; clone() auto-generation for structs with heap-allocated fields (#26859)
last May 13
173 bytes
assign_immutable_reference_struct_field_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
452 bytes
assign_immutable_reference_var_with_parenthesis_err.out
checker: relax the redundant () check to a notice, to enable a future `v -W test vlib/builtin` job on the CI
last Dec 13
2.39 KB
assign_int_to_f32_err.out
checker: fix int values incorrectly promoted to f32 (fixes #7692)
last Apr 21
259 bytes
assign_multi_immutable_err.out
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
1.33 KB
assign_multi_mismatch.out
checker,transformer: add always true/false branch detection for the `if` and `match` constructs (#25674)
last Nov 9
4.95 KB
assign_ref_call_expr_with_ref_return_err.out
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
164 bytes
assign_sumtype2_err.out
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
250 bytes
assign_sumtype_err.out
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
252 bytes
assign_sumtype_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
164 bytes
assign_to_typeless_variable_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
34 bytes
assign_type_mismatch_with_generics_err.vv
checker: fix type mismatch checking for assignments with generics (fix #20298) (#20327)
2 years ago
320 bytes
assign_with_dump_multireturn_value.out
encoding.binary: add an f32 test; checker: remove "(s)" from the assignment mismatch error
2 years ago
196 bytes
auto_deref_assign_err.out
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
283 bytes
auto_deref_assign_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
202 bytes
bad_types_in_string_inter_lit.out
checker: prohibit illegal types in string interpolation literals (#10705)
5 years ago
479 bytes
bin_lit_wrong_digit_err.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
190 bytes
bit_op_wrong_left_type_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
32 bytes
bit_op_wrong_right_type_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
32 bytes
blank_ident_const_ptr_int_literal_err.vv
checker: disallow taking the address of consts with int literal values (#19160)
2 years ago
36 bytes
blank_ident_select_branch_send_err.vv
checker: disallow `_ = <- quit` (#18104)
3 years ago
492 bytes
bool_string_cast_err.out
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
504 bytes
bool_string_cast_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
61 bytes
c_binding_confusable_c_err.vv
checker: fix c binding compiling to wrong c intermediary (fixes #19046)
last Mar 25
105 bytes
c_fn_param_named_interface_err.vv
parser: fix c functions do not warn for param named interface (fixes #25859)
last Mar 25
258 bytes
c_js_struct_and_fn_as_generics_error.vv
checker: disallow C/JS functions and structs to be declared as generic (#22533)
1 year ago
122 bytes
c_struct_cast.vv
checker: fix missing struct cast validation (fix #23748) (#23788)
1 year ago
172 bytes
c_style_variadic_fn_missing_fixed_args_err.vv
all: fix Allow variadic functions with variable types (fixes #21462)
last Apr 23
71 bytes
call_arg_multi_return_err.vv
checker: add checker for passing multi return as arg to func that expects less param (fix #23735) (#23744)
1 year ago
120 bytes
call_result_aliases_immutable_value_err.out
checker: fix Modifying an immutable pointer indirectly is allowed (fixes #12899)
last Apr 23
840 bytes
cannot_assign_array.out
all: change fixed array init from `[1,2,3]!!` to `[1,2,3]!` (#8068)
5 years ago
303 bytes
cannot_assign_array.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
137 bytes
cannot_cast_to_struct.out
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
1.48 KB
cannot_dereference_if_different_muls.out
checker: do not allow auto (de)reference in PrefixExpr *; pref: disable parallel checker on arm linux for now
1 year ago
322 bytes
cannot_dereference_if_different_muls.vv
checker: do not allow auto (de)reference in PrefixExpr *; pref: disable parallel checker on arm linux for now
1 year ago
222 bytes
cast_array_to_number_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
233 bytes
cast_function_to_number_err.out
checker: fix passing function as argument to vec.mul_scalar (fixes #25829)
last Mar 25
241 bytes
cast_function_to_string_err.out
checker: check error for cast function to string (#14375)
4 years ago
200 bytes
cast_generic_err.vv
checker: add missing check for casting generic type to literal values (#23915)
1 year ago
100 bytes
cast_string_err.out
checker: extract vlib/v/checker/errors.v, use maps for c.error_lines, c.warning_lines, c.notice_lines, dedup all errors, warns, and notices
2 years ago
1.72 KB
cast_string_to_char_err.vv
checker: fix check omission in cast string to char. (fix #15760) (#15764)
3 years ago
30 bytes
cast_string_to_int_err.out
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
2.39 KB
cast_string_to_int_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
167 bytes
cast_string_to_rune_err.out
checker: fix c error on improper string to rune cast (#13197) (#13257)
4 years ago
1.03 KB
cast_string_with_byte_err.out
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
219 bytes
cast_string_with_byte_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
41 bytes
cast_sumtype_err.vv
checker: optimize casting sumtype error message (fix #14023) (#14877)
4 years ago
161 bytes
cast_to_concrete_mut_err.vv
checker,cgen: fix missing validation for selector unwrapping + fix default `return none` for unwrapping (#23183)
1 year ago
880 bytes
cast_to_interface_err.vv
checker: check error of casting to interface (fix #17522) (#17531)
3 years ago
216 bytes
cast_to_ref_struct_err.vv
checker: check cast to reference struct (fix #15590) (#15601)
3 years ago
116 bytes
cast_voidptr_to_struct_alias_err.out
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
1.72 KB
cast_voidptr_to_struct_alias_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
502 bytes
casting_numbers_to_enums_outside_unsafe_err.out
checker: allow `EnumName(number)` casts only inside `unsafe{}` blocks (#15932)
3 years ago
224 bytes
chan_args.out
checker: make the misssing shared/mut modifer in fn and method calls error clearer
4 years ago
1.13 KB
chan_incompatible_type_err.out
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
203 bytes
chan_mut.out
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
1.13 KB
chan_mut.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
282 bytes
chan_unknown_err.out
checker: fix chan element type validation with inexistent type (fix #23978) (#24008)
1 year ago
233 bytes
check_wrong_usage_of_break_and_continue.out
checker: add clearer errors for `break`/`continue` used within a `$for` loop (#16600)
3 years ago
1016 bytes
checker_comparison_between_obj_and_int.out
checker: ban unsafe pointer/fn comparison (#14462)
4 years ago
310 bytes
clash_ident_module_name_prefix.vv
checker: prevent usage of imported module name prefix as identifier names, to avoid cgen collisions (#25280)
last Sep 11
447 bytes
closure_copy_immutable_var_err.vv
checker: add a separate error msg for `fail_if_immutable` for anon fns (#18854)
2 years ago
88 bytes
closure_immutable.vv
all: initial support for closures (x64 / linux-only) (#11114)
4 years ago
180 bytes
closure_undefined_ident_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
391 bytes
cmp_between_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
374 bytes
comparing_typesymbol_to_a_type_should_not_compile.out
checker, cgen: fix the comparison of alias and non-alias values (#19112)
2 years ago
484 bytes
comparing_typesymbol_to_a_type_should_not_compile.vv
ast: rename 'table.get_type_symbol()' to 'table.sym()' and more related calls (#12898)
4 years ago
402 bytes
compile_error.out
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
526 bytes
compile_error_call_position.out
comptime: fix $compile_error to locate the actual error position (fixes #24575)
last Apr 15
436 bytes
compile_error_explicit_type.out
comptime: fix $compile_error to locate the actual error position (fixes #24575)
last Apr 15
741 bytes
comptime_assign_missing_mut_err.out
checker: add mutability check for comptime assignments (#18354)
3 years ago
325 bytes
comptime_branching_working_with_a_custom_compile_error.out
comptime: fix $compile_error to locate the actual error position (fixes #24575)
last Apr 15
200 bytes
comptime_call_method.vv
ast, cgen, checker, parser: support method arguments in comptime $for (#9208)
5 years ago
145 bytes
comptime_call_method_args_err.vv
cgen: check error for comptime call method argument (#13115)
4 years ago
167 bytes
comptime_call_method_implicit_string_expand_err.vv
comptime: allow only explicit auto-expand of []string in compile-time $for loops (fixes #9278)
last Apr 15
149 bytes
comptime_call_method_mut_pointer_err.vv
checker: fix mutable pointer parameters under certain circumstances (fixes #24408)
last Apr 21
335 bytes
comptime_call_method_void_err.vv
cgen: check comptime call method (no value) used as value (#15241)
3 years ago
288 bytes
comptime_call_no_unused_var.out
checker: extract vlib/v/checker/errors.v, use maps for c.error_lines, c.warning_lines, c.notice_lines, dedup all errors, warns, and notices
2 years ago
1.1 KB
comptime_compile_warn_with_string_interp_test.out
ci: run `v -W -silent test-self vlib` on linux, so deprecations/warnings introduced in PRs, can fail (and be fixed) earlier (#25955)
last Dec 13
1.26 KB
comptime_defer_err.vv
checker: ensure the defer behavior matches that of cgen (fix #25148) (#25146)
last Aug 21
258 bytes
comptime_dump_fields_var_test.vv
checker,cgen: fix dump when using comptime variable val.${field.name} (#16671)
3 years ago
239 bytes
comptime_else_compile_error_no_return.vv
cleanup: fix permissions of .vv/.out files in vlib/v/
1 year ago
149 bytes
comptime_field_name_assign_incorrect_type_err.vv
checker: check invalid comptime field name assignment (fix #24415) (#24421)
1 year ago
301 bytes
comptime_field_name_not_exist.vv
checker: rewrite comptime_if_cond() to support comptime if cond evaluate (fix #24938) (fix #25099) (#25122)
last Aug 17
266 bytes
comptime_field_selector_not_in_for_err.vv
all: replace generic '<>' with '[]' in .vv files (#16593)
3 years ago
131 bytes
comptime_field_selector_not_name_err.vv
all: replace generic '<>' with '[]' in .vv files (#16593)
3 years ago
219 bytes
comptime_for.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
293 bytes
comptime_insert_err.out
checker, cgen: add support for #insert, to simplify bootstrapping V
4 years ago
383 bytes
comptime_match_cond_cannot_mut.out
checker,cgen: add comptime match support (#25165)
last Aug 25
510 bytes
comptime_selector_expr_type_err.out
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
321 bytes
comptime_selector_postfix_unwrap_non_option_err.out
checker: some bug with comptime (fixes #26234)
last Mar 11
331 bytes