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
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
run
cgen: fix showing the line where interface is used as generic type (fixes #23004)
last Mar 25
3.42 KB
match_cond_with_parenthesis_err.vv
checker: check error for match conditions with parenthesis (#13130)
4 years ago
168 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.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
886 bytes
match_duplicate_branch_mixed_int_literals.vv
checker: fix duplicate case value for match with u8 and int (fixes #26627)
last Mar 25
352 bytes
match_enum_ref.vv
checker: fix non dereferenced enum in match statements (fixes #10045) (#20591)
2 years ago
246 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_empty_branch.out
checker,transformer: add always true/false branch detection for the `if` and `match` constructs (#25674)
last Nov 9
601 bytes
match_expr_empty_branch.vv
checker: check for empty branches in match expressions (#10593)
5 years ago
42 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
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.vv
checker: merge ambiguous_function_call tests (#8388)
5 years ago
108 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_type_err.out
checker: fix missing check for alias to generic type (fix #22359) (#22360)
1 year ago
1.33 KB
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_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_insert_prepend_args_err.out
checker: check array insert/prepend arguments (#11295)
4 years ago
1.64 KB
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.out
checker: allow fixed array where voidptr is expected (fix #23090) (#23100)
1 year ago
567 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.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.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_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_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
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_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_right_type_err_a.vv
all: handle `<-` arrow token for channel operations (#6152)
5 years ago
65 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.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.out
checker: disallow references to constants (fix #23935) (#23942)
1 year ago
533 bytes
assign_enum_at_comptime.out
checker: check invalid comptime field name assignment (fix #24415) (#24421)
1 year ago
257 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.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.vv
all: improve unused variable warning (fix `x = 1`, `x += 1` etc)
5 years ago
55 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.vv
all: improve unused variable warning (fix `x = 1`, `x += 1` etc)
5 years ago
54 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_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_g.vv
parser: check assign_stmt of undefined variable (#8366)
5 years ago
67 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.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.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.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.out
parser: check assign expr with undefined variable (#13653)
4 years ago
233 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_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
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_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.out
checker: fix int values incorrectly promoted to f32 (fixes #7692)
last Apr 21
259 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_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_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
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.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
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.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
blank_ident_select_branch_send_err.vv
checker: disallow `_ = <- quit` (#18104)
3 years ago
492 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_struct_cast.out
checker: fix missing struct cast validation (fix #23748) (#23788)
1 year ago
180 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_empty_or_block_err.out
checker: fix missing or-block check for callexpr (fix #22835) (#22840)
1 year ago
1.81 KB
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
cannot_assign_array.out
all: change fixed array init from `[1,2,3]!!` to `[1,2,3]!` (#8068)
5 years ago
303 bytes
cannot_cast_to_alias.vv
checker: add alias cast type check (closes #6705) (#6709)
5 years ago
65 bytes
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
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_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.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_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_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_as_generic_err.vv
checker: cast sumtype to its variant generic type (#20166)
2 years ago
227 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_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
chained_alias_cycle_err.vv
checker, ast, cgen: allow chained type aliases (fix #27055) (#27296)
last May 30
51 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_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_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
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
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.vv
ast: rename 'table.get_type_symbol()' to 'table.sym()' and more related calls (#12898)
4 years ago
402 bytes
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_args_err.vv
cgen: check error for comptime call method argument (#13115)
4 years ago
167 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_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.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.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.out
checker, cgen: fix comptimecall type resolution on function args (#20070)
2 years ago
1.97 KB
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.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_map_copy_err.vv
cgen: clone comptime selector assignments (#27295)
last May 30
257 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.out
ast, parser: support `$d()` in fixed size array `struct` fields (#21731)
2 years ago
243 bytes
comptime_value_d_values_can_only_be_pure_literals.out
comptime, ast: support `[$d('s', 4)]int{}`, move resolving to method on `ComptimeCall` (#21701)
2 years ago
218 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.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
272 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.vv
checker: add a deprecation warning for `const ()` groups (an error after 2025-01-01) (#22019)
1 year ago
57 bytes
const_field_name_snake_case.vv
checker: add a deprecation warning for `const ()` groups (an error after 2025-01-01) (#22019)
1 year ago
42 bytes
const_field_sub_err.vv
checker: add a deprecation warning for `const ()` groups (an error after 2025-01-01) (#22019)
1 year ago
35 bytes
const_import_conflict_err.vv
ci: disable old native runs; checker: const/import conflict check
last Apr 18
84 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_type_mismatch_range_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.85 KB
const_name_for_loop_duplicate_name_err.out
checker: disallow using a preexisting const name in a for loop, as either a key or value ident (#22108)
1 year ago
519 bytes
const_reference_write_err.out
checker: disallow references to constants (fix #23935) (#23942)
1 year ago
488 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.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.nodebug.run.out
checker: fix comptime custom defines usages, add tests
5 years ago
10 bytes
custom_comptime_define_if_flag.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
336 bytes
decompose_interface_err.vv
checker: add check for decomposing to interface (fix #24441) (#24453)
1 year ago
220 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_in_for.out
checker: ensure the defer behavior matches that of cgen (fix #25148) (#25146)
last Aug 21
437 bytes
defer_use_multi_return_value_with_index_out_of_bounds.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
604 bytes
defer_use_multi_return_value_without_index.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
585 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
deference_nil_ptr_err.vv
checker: disallow deferencing a `nil` pointer (#18038)
3 years ago
45 bytes
deprecations.vv
revert: deprecated_after attribute change (fixes #19138) - incomplete, breaks time/format.v
last Apr 14
1.01 KB
deprecations_consts.vv
checker: fix immutable to mutable reference (fix #22653) (#22663)
1 year ago
84 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.disable_explicit_mutability.run.out
all: Allow disabling explicit mutability (fixes #24721)
last Apr 14
15 bytes
disallow_pointer_arithmetic_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.44 KB
discard_import_usage.out
checker: allow for `_` being used as both `import x as _` and `fn f(_ int) {` (fix (#26219) #26230
last Dec 31
n/a
div_mod_by_cast_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
180 bytes
div_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
division_by_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
172 bytes
division_by_zero_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
886 bytes
dump_char.out
checker: make `byte(0)` an error; use `u8(0)` (fix #23236) (#23311)
1 year ago
200 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_fn_noreturn_err.vv
checker: fix missing check for empty noreturn fn (fix #22468) (#22474)
1 year ago
23 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.vv
all: improve unused variable warning (fix `x = 1`, `x += 1` etc)
5 years ago
137 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.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
enum_field_value_duplicate_a.vv
checker: prevent enum value duplication check bypass (#10287)
5 years ago
53 bytes
enum_field_value_duplicate_b.vv
checker: prevent enum value duplication check bypass (#10287)
5 years ago
57 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_f.out
checker: fix enum values set with constants from $if/$else (fixes #23348)
last Mar 25
293 bytes
enum_from_string_args_err.vv
checker: check enum static from_string arguments errors (#19163)
2 years ago
177 bytes
enum_non_comptime_cast_call_err.vv
checker: fix enum taking function as init value when cast to int (fixes #25908)
last Apr 15
174 bytes
enum_op_err.vv
checker, cgen: allow | between bitfield enum values, autogenerate a more specific .str method for them too (#8856)
5 years ago
219 bytes
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_self_reference.vv
tests: add an enum_self_reference.vv/.out pair to check the new error messages from PR #26173
last Dec 29
608 bytes
enum_value_used_before_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
62 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_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
expression_should_return_an_option.out
checker, cgen, parser: fix Option/Result error messages (capitalized) (#17486)
3 years ago
345 bytes
field_can_not_be_from_the_same_type_as_containing_struct.out
checker: unsafe 0 for references (default value)
4 years ago
295 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_builtin_method_args_err.vv
checker: check fixed array builtin method args mismatch (#22626)
1 year ago
199 bytes
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
flag_enum_exhaustive_else_branch.out
checker: require `else` branch in `[flag]` enum match (#19375)
2 years ago
263 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.vv
checker: fix mismatch checking when a function returns sumtype as an argument (fix #19325) (#20264)
2 years ago
182 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_mismatch_alias_type_err.out
v: fix aliased type checking, add error for passing aliased `int` values to fns that accept `u8` (fix #18278) (#22572)
1 year ago
236 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_no_body.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
386 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_ref_incompatible_u8_test.out
checker: only allow `&u8` with `byteptr` and itself (#18146)
3 years ago
289 bytes
fn_call_using_none_arg_err.out
cgen, check, parser: implement first-class option type (#17017)
3 years ago
179 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_check_for_matching_option_result_in_fields.vv
all: change optional to option (#16914)
3 years ago
100 bytes
fn_init_sig.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
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.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
506 bytes
fn_return_or_err.out
checker, cgen, parser: fix Option/Result error messages (capitalized) (#17486)
3 years ago
280 bytes
fn_return_void_fn_call_err.vv
checker: check fn return void fn call (no value) (fix #22389) (#22404)
1 year ago
686 bytes
fn_signature_alias_payload_mismatch_err.vv
checker: accept `[]Alias` ↔ `Tokens` payload equivalence (fix #27006) (#27278)
last May 27
729 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.out
checker: show position for variadic/shared/method argument errors (#8939)
5 years ago
533 bytes
fn_variadic_arg_err.out
checker: check fn variadic passing arg error (fix #15629) (#15632)
3 years ago
253 bytes
for_c_stmt_with_var_declaration_in_post_stmt.out
checker: forbid var declaration in post statement of for loop (#17120)
3 years ago
249 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_iterator_returning_multiple_values_err.vv
checker: add error for `for x in t {`, where `t.next()` returns multiple values
4 years ago
161 bytes
for_in_map_one_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
79 bytes
for_in_mut_val_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
394 bytes
for_in_range_not_match_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
53 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_same_var_err.vv
checker: move test files to tests directory (cleanup) (#23243)
1 year ago
143 bytes
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_in_with_reserved_type_names.vv
checker: check for reserved type names in `for in` (fix #14072) (#14212)
4 years ago
115 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_cast_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
98 bytes
function_count_of_args_mismatch_err.vv
all: replace generic '<>' with '[]' in .vv files (#16593)
3 years ago
131 bytes
function_missing_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
242 bytes
function_variadic_arg_array_decompose.vv
checker: check fn_variadic with array_decompose (#8894)
5 years ago
142 bytes
function_wrong_arg_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
88 bytes
generic_array_init_err.out
checker, cgen: fix generic container init (fix #23910) (#23912)
1 year ago
228 bytes
generic_array_init_err.vv
checker, cgen: fix generic container init (fix #23910) (#23912)
1 year ago
88 bytes
generic_eq_wrong_type.err.out
checker: fix generic infix expr type mismatch error (#18706)
3 years ago
348 bytes
generic_fn_call_arg_mismatch_err.out
checker: check generic fn call argument type mismatch (#17680)
3 years ago
277 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_decl_without_generic_names_err.vv
all: replace generic '<>' with '[]' in .vv files (#16593)
3 years ago
465 bytes
generic_fn_generic_name_unresolved_err.vv
checker: disallow `foo[T]` as a value (#22820)
1 year ago
148 bytes
generic_fntype_err.vv
checker: add missing check for generic fntype type names (fix #23453) (#23850)
1 year ago
291 bytes
generic_infix_plus_err.vv
all: replace generic '<>' with '[]' in .vv files (#16593)
3 years ago
92 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_err.vv
all: replace generic '<>' with '[]' in .vv files (#16593)
3 years ago
106 bytes
generic_interface_method_decl_err.vv
checker: cleanup the generic tests (#20553)
2 years ago
90 bytes
generic_interface_missing_type_names_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
292 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_alias_distinct_variant_match.out
compiler: fix generic sumtype aliases and duplicate imports (#27523)
last Jun 21
747 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_arg_type_err.vv
all: replace generic '<>' with '[]' in .vv files (#16593)
3 years ago
201 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.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
112 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_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_variadic_arg_mismatch.vv
all: fix more fn shadowing warnings
last May 27
182 bytes
generics_fn_param_wrong_arg_type_err.vv
ast,checker: add type checking for param of fn passed as generic arg (fix #26195) (#26257)
last Feb 4
114 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_fn_return_generic_struct_err.vv
all: replace generic `<>` with `[]` - part 2 (#16536)
3 years ago
235 bytes
generics_interface_declaration_err.out
checker: cleanup the generic tests (#20553)
2 years ago
253 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.vv
all: replace generic '<>' with '[]' in .vv files (#16593)
3 years ago
227 bytes
generics_method_receiver_type_err_a.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
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_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_decl_no_mention_err.vv
all: replace generic `<>` with `[]` - part 2 (#16536)
3 years ago
73 bytes
generics_struct_field_fn_args_err.out
checker: improve `fn` argument mismatch error (#22370)
1 year ago
2.24 KB
generics_struct_field_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
263 bytes
generics_struct_infer_err.vv
checker: check generic struct infering error (#17802)
3 years ago
89 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.out
all: fix add checker error when non-explicitly downcasting integers internally (fixes #23695)
last Apr 23
434 bytes
global_const_call_init_err.out
all: fix Ability to export a global symbol as a true (C-level) constant (fixes #20831)
last Apr 23
252 bytes
globals_error.out
checker: fix global empty const type check (fix #26324) (#26332)
last Jan 13
166 bytes
go_expr.out
checker: replace the `go` keyword in error messages with `spawn` (#16960)
3 years ago
160 bytes
go_mut_arg.vv
checker: replace the `go` keyword in error messages with `spawn` (#16960)
3 years ago
118 bytes
go_mut_receiver.vv
checker: replace the `go` keyword in error messages with `spawn` (#16960)
3 years ago
118 bytes
go_wait_or.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
623 bytes
hash_flag_backticks_err.out
checker: builder error "This should never happen" (fixes #12434)
last Mar 11
364 bytes
hex_lit_without_digit_err.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
188 bytes
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.vv
parser,checker: improve the position underlining, for last statements in branches of `if` expressions (#22845)
1 year ago
106 bytes
if_expr_last_stmt.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
65 bytes
if_expr_result_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
240 bytes
if_expr_with_none_only.out
checker,transformer: add always true/false branch detection for the `if` and `match` constructs (#25674)
last Nov 9
592 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.out
checker,transformer: add always true/false branch detection for the `if` and `match` constructs (#25674)
last Nov 9
465 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
immutable_arg.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
196 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_shift.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
217 bytes
immutable_array_var.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
202 bytes
immutable_builtin_modify.out
checker: fix tests (adjust byte to u8 in .out files too)
4 years ago
324 bytes
immutable_deref.out
checker: disallow references to constants (fix #23935) (#23942)
1 year ago
228 bytes
immutable_field.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
384 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.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
immutable_rec.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
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_as_mod.out
checker: disallow import names and import aliases, shadowing the module name (#18431)
3 years ago
226 bytes
import_mod_sub_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
719 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_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_name_variable.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
192 bytes
incorrect_smartcast2_err.out
checker: make unused private fn/const warning a notice
last Apr 26
487 bytes
incorrect_smartcast3_err.out
checker: fix mut smartcasts not working correctly (fixes #17440)
last Apr 15
n/a
incorrect_smartcast_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
179 bytes
index_invalid_call.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.21 KB
index_of_option_err.out
cgen, check, parser: implement first-class option type (#17017)
3 years ago
267 bytes
index_operator_assignment_without_setter_err.out
all: add operator overloading for `[]` (fixes #23177)
last Apr 14
259 bytes
index_sumtype_interface_struct_params_err.vv
checker: disallow indexing mut struct, passed as a fn parameter (#19992)
2 years ago
237 bytes
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_notis_interface_unimplemented_err.vv
checker: fix the check of types not implemented by interfaces in infix key_is and not_is (fix #16282 #16298) (#16284)
3 years ago
319 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
inner_functions_call_before_define.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
102 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_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_field_name_err.out
parser: make sure interface field names use uppercase letters (#14228)
4 years ago
733 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_implicit_str_char_err.vv
checker: fix .str() method inconsistent behavior (fixes #25825)
last Apr 14
98 bytes
interface_method_name_err.vv
parser: check interface methods name (fix #14217) (#14218)
4 years ago
41 bytes
interface_option_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
115 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_struct_comparison_err.vv
checker: comparing interface with struct instance gives c error: invalid operand types for binary operation, invalid aggregate type for register load (fixes #24018)
last Apr 14
519 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.vv
scanner: print multibyte char for invalid char error (#8804)
5 years ago
16 bytes
invalid_comptime_test.vv
parser: fix wrong nodes generated for $something (#17969)
3 years ago
76 bytes
invalid_const_expr_match_range_err.vv
all: add support for `const` ident in `match` range (#16526)
3 years ago
191 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.out
checker: enhance `for` range loop check and add better positioning (#20386)
2 years ago
9.72 KB
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