0 branches
Tree
Top files
Clone with HTTPS:
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
amod
checker: fix pub field of private struct accessible outside module (fixes #26625)
last Mar 25
300 bytes
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
5 years ago
42 bytes
array_declare_element_c.vv
parser: trigger declaration of array element as error
5 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)
4 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)
4 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)
1 year 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
5 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)
4 years ago
197 bytes
array_sort_struct_no_body_err.vv
checker: require .sort() body for some types (#10550)
4 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)
4 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)
4 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)
4 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)
1 year ago
153 bytes
comptime_value_d_only_d_in_fixed_size_array.vv
ast, parser: support `$d()` in fixed size array `struct` fields (#21731)
1 year ago
37 bytes
comptime_value_d_values_can_only_be_pure_literals.vv
comptime: support `-d ident=value` and `var := $d('ident', 0)` (#21685)
1 year 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)
1 year ago
233 bytes
expr_evaluated_but_not_used.vv
checker: check expr evaluated but not used (fix #21436) (#21816)
1 year 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
1 year 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
1 year 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)
2 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)
2 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