0 branches
Tree
Top files
Clone with HTTPS:
run
cgen: fix showing the line where interface is used as generic type (fixes #23004)
last Mar 25
3.42 KB
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
amod
checker: fix pub field of private struct accessible outside module (fixes #26625)
last Mar 25
300 bytes
.gitignore
checker: add support for deprecation messages for structs and struct fields (#21017)
2 years ago
43 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_to_generic_err.out
checker: fix missing check for alias to generic type (fix #22359) (#22360)
1 year ago
183 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_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
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.out
checker: fix empty interface array push with fixed array c error (fixes #23011)
last Apr 15
243 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.vv
checker: check array builtin method's arguments (#14119)
4 years ago
169 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_count_err.out
checker: disallow invalid expr for `filter`, `count`, `any`, `all` (fix #24508) (#24540)
1 year ago
897 bytes
array_declare_element_b.vv
parser: trigger declaration of array element as error
6 years ago
42 bytes
array_declare_element_c.vv
parser: trigger declaration of array element as error
6 years ago
55 bytes
array_delete_arg_mismatch_err.vv
checker: check array.delete() argument mismatch (#22307)
1 year ago
275 bytes
array_delete_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_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.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_index_args_err.vv
checker: check error for array.index() argument (#14147)
4 years ago
162 bytes
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_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_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_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.vv
checker: add a qualification to array elements ref initialization checks (#19980)
2 years ago
162 bytes
array_method_call_immutable_err.vv
checker: check array builtin method calls, that do need a mutable receiver, but are called on an immutable one (fix #22850) (#22853)
1 year ago
435 bytes
array_method_invalid_expr.vv
checker: disallow invalid expr for `filter`, `count`, `any`, `all` (fix #24508) (#24540)
1 year ago
119 bytes
array_none_element_err.vv
checker: fix missing check for `a := [none]` (fix #23457) (#23504)
1 year ago
44 bytes
array_of_refs_insert_non_ref.vv
checker: prevent array.insert for array of references when non-reference is passed (fix #25511) (#25557)
last Oct 22
169 bytes
array_or_map_assign_err.out
checker: fix immutable to mutable reference (fix #22653) (#22663)
1 year ago
1.65 KB
array_plus_assign_err.out
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
514 bytes
array_prepend_type_mismatch.out
checker: allow fixed array where voidptr is expected (fix #23090) (#23100)
1 year ago
2.22 KB
array_sort_err.out
checker: check for external variable access on qsort/sorted callback (fix #12386) (#22557)
1 year ago
1.57 KB
array_sort_function_type_err.out
checker: fix ice when sorting an array of functions (fixes #10739)
last Apr 21
220 bytes
array_sort_struct_no_body_err.out
checker: require .sort() body for some types (#10550)
5 years ago
197 bytes
array_sort_struct_no_body_err.vv
checker: require .sort() body for some types (#10550)
5 years ago
55 bytes
array_sort_with_compare_err.vv
checker: check arguments mismatch of array.sorted_with_compare() (fix #22327) (#22328)
1 year ago
275 bytes
array_sort_with_compare_ref_elem_err.vv
checker: check array sort_with_compare callback function parameters (#13511)
4 years ago
649 bytes
array_sorted_with_compare_err.vv
checker: check arguments mismatch of array.sorted_with_compare() (fix #22327) (#22328)
1 year ago
321 bytes
array_voidptr_assign_err.vv
checker: disallow `arr = voidptr(0)` (fix #23675) (#23687)
1 year ago
82 bytes
arraydecompose_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_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
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.vv
tests: run `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
bool_string_cast_err.out
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
504 bytes
assign_any_err.vv
checker: add missing `any` type validation on assignment (fix #23905) (#23906)
1 year ago
79 bytes
assign_array_init_to_fixed_array_var.vv
checker: add a more helpful suggestion for `fixed_array = [1,2,3]`
2 years ago
43 bytes
assign_array_init_with_no_type.vv
checker: check assigning array_init with no type (#10757)
5 years ago
39 bytes
assign_const_ptr_int_literal_err.vv
checker: disallow taking the address of consts with int literal values (#19160)
2 years ago
45 bytes
assign_enum_at_comptime.out
checker: check invalid comptime field name assignment (fix #24415) (#24421)
1 year ago
257 bytes
assign_expr_type_err_a.out
all: improve unused variable warning (fix `x = 1`, `x += 1` etc)
5 years ago
226 bytes
assign_expr_type_err_b.out
checker: extract vlib/v/checker/errors.v, use maps for c.error_lines, c.warning_lines, c.notice_lines, dedup all errors, warns, and notices
2 years ago
486 bytes
assign_expr_type_err_c.vv
all: improve unused variable warning (fix `x = 1`, `x += 1` etc)
5 years ago
54 bytes
assign_expr_type_err_d.vv
all: improve unused variable warning (fix `x = 1`, `x += 1` etc)
5 years ago
52 bytes
assign_expr_type_err_e.out
checker: extract vlib/v/checker/errors.v, use maps for c.error_lines, c.warning_lines, c.notice_lines, dedup all errors, warns, and notices
2 years ago
699 bytes
assign_expr_type_err_f.vv
all: improve unused variable warning (fix `x = 1`, `x += 1` etc)
5 years ago
52 bytes
assign_expr_type_err_g.out
all: improve unused variable warning (fix `x = 1`, `x += 1` etc)
5 years ago
232 bytes
assign_expr_type_err_h.vv
all: improve unused variable warning (fix `x = 1`, `x += 1` etc)
5 years ago
57 bytes
assign_expr_type_err_i.vv
all: improve unused variable warning (fix `x = 1`, `x += 1` etc)
5 years ago
55 bytes
assign_expr_undefined_err_a.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
179 bytes
assign_expr_undefined_err_c.out
v: refactor $var to ${var} across entire repository, make vfmt always output the newer form `${expr}` (#26494)
last Feb 1
208 bytes
assign_expr_undefined_err_d.out
v: refactor $var to ${var} across entire repository, make vfmt always output the newer form `${expr}` (#26494)
last Feb 1
188 bytes
assign_expr_undefined_err_e.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
192 bytes
assign_expr_undefined_err_g.out
parser: check assign_stmt of undefined variable (#8366)
5 years ago
215 bytes
assign_expr_undefined_err_g.vv
parser: check assign_stmt of undefined variable (#8366)
5 years ago
67 bytes
assign_expr_undefined_err_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.vv
parser: check undefined variables in assign_stmt (#10755)
5 years ago
40 bytes
assign_expr_undefined_err_k.vv
vlib: remove deprecated map{} usages as well as deprecated functions (#11035)
4 years ago
47 bytes
assign_expr_undefined_err_l.vv
v: refactor $var to ${var} across entire repository, make vfmt always output the newer form `${expr}` (#26494)
last Feb 1
337 bytes
assign_expr_undefined_err_m.vv
parser: check assign expr with undefined variable (#13653)
4 years ago
91 bytes
assign_expr_undefined_err_n.out
parser: check assign expr with undefined variable (#13653)
4 years ago
255 bytes
assign_generic_closure_fn_err.out
checker: fix anonymous generic struct shadow variable (fixes #15535)
last Apr 15
299 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_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
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
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.vv
checker: disallow C/JS functions and structs to be declared as generic (#22533)
1 year ago
122 bytes
c_struct_cast.vv
checker: fix missing struct cast validation (fix #23748) (#23788)
1 year ago
172 bytes
c_style_variadic_fn_missing_fixed_args_err.vv
all: fix Allow variadic functions with variable types (fixes #21462)
last Apr 23
71 bytes
call_arg_multi_return_err.vv
checker: add checker for passing multi return as arg to func that expects less param (fix #23735) (#23744)
1 year ago
120 bytes
call_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_assign_array.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
137 bytes
cannot_cast_to_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.out
checker: fix check omission in cast string to char. (fix #15760) (#15764)
3 years ago
200 bytes
cast_string_to_int_err.out
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
2.39 KB
cast_string_to_ptr_err.out
checker: fix check omission in cast string to ptr. (fix #14921) (#15721)
3 years ago
205 bytes
cast_string_to_rune_err.out
checker: fix c error on improper string to rune cast (#13197) (#13257)
4 years ago
1.03 KB
cast_string_with_byte_err.vv
tests: run `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_to_interface_err.vv
checker: check error of casting to interface (fix #17522) (#17531)
3 years ago
216 bytes
cast_voidptr_to_struct_alias_err.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
502 bytes
casting_numbers_to_enums_outside_unsafe_err.out
checker: allow `EnumName(number)` casts only inside `unsafe{}` blocks (#15932)
3 years ago
224 bytes
chained_alias_cycle_err.out
checker, ast, cgen: allow chained type aliases (fix #27055) (#27296)
last May 30
400 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_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.out
v2: implement native x64 backend, part 1 (#27288)
last May 31
1.46 KB
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
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_call_position.out
comptime: fix $compile_error to locate the actual error position (fixes #24575)
last Apr 15
436 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_implicit_string_expand_err.vv
comptime: allow only explicit auto-expand of []string in compile-time $for loops (fixes #9278)
last Apr 15
149 bytes
comptime_call_method_mut_pointer_err.vv
checker: fix mutable pointer parameters under certain circumstances (fixes #24408)
last Apr 21
335 bytes
comptime_call_method_void_err.vv
cgen: check comptime call method (no value) used as value (#15241)
3 years ago
288 bytes
comptime_call_no_unused_var.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.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_map_copy_err.vv
cgen: clone comptime selector assignments (#27295)
last May 30
257 bytes
comptime_selector_postfix_unwrap_non_option_err.out
checker: some bug with comptime (fixes #26234)
last Mar 11
331 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_array_unknown_type_err.vv
checker: fix position of unknown type errors (#10110)
5 years ago
17 bytes
const_blank_ident_as_name_err.vv
checker: disallow blank ident in const and global decl (#22415)
1 year ago
13 bytes
const_decl_multi_return_err.vv
checker: add a deprecation warning for `const ()` groups (an error after 2025-01-01) (#22019)
1 year ago
94 bytes
const_define_in_function_err.vv
checker: add a deprecation warning for `const ()` groups (an error after 2025-01-01) (#22019)
1 year ago
39 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.vv
checker: add a deprecation warning for `const ()` groups (an error after 2025-01-01) (#22019)
1 year ago
35 bytes
const_field_dec_err.vv
checker: add a deprecation warning for `const ()` groups (an error after 2025-01-01) (#22019)
1 year ago
32 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.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.09 KB
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.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
5.11 KB
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.vv
all: add support for `const` ident in `match` range (#16526)
3 years ago
159 bytes
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
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.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_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.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.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
571 bytes
deference_nil_ptr_err.vv
checker: disallow deferencing a `nil` pointer (#18038)
3 years ago
45 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
deprecations_consts.vv
checker: fix immutable to mutable reference (fix #22653) (#22663)
1 year ago
84 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
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_fn_noreturn_err.out
checker: fix missing check for empty noreturn fn (fix #22468) (#22474)
1 year ago
232 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_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_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_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_redeclare_err.vv
cgen: remove unused code generated for unwrapping temp var from callexpr (detect unused return value from CallExpr), fix parser bugs (#22769)
1 year ago
59 bytes
error_fn_with_0_args.out
checker: improve `fn` argument mismatch error (#22370)
1 year ago
213 bytes
error_with_comment_with_crlf_ending.out
parser: fix checking unexpected name (#12233)
4 years ago
250 bytes
error_with_comment_with_lf_ending.out
parser: fix checking unexpected name (#12233)
4 years ago
248 bytes
error_with_comment_with_lf_ending.vv
v.scanner: fix error line numbers when comments end with CRLF
5 years ago
125 bytes
error_with_unicode.out
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
2.07 KB
expr_evaluated_but_not_used.out
checker: check expr evaluated but not used (fix #21436) (#21816)
2 years ago
233 bytes
expr_evaluated_but_not_used.vv
checker: check expr evaluated but not used (fix #21436) (#21816)
2 years ago
94 bytes
expression_should_return_an_option.vv
checker: check option fn returning error (fix #17423) (#17438)
3 years ago
426 bytes
field_can_not_be_from_the_same_type_as_containing_struct.vv
checker: unsafe 0 for references (default value)
4 years ago
123 bytes
filter_on_non_arr_err.out
encoding.binary: add an f32 test; checker: remove "(s)" from the assignment mismatch error
2 years ago
425 bytes
fixed_array_builtin_method_args_err.out
checker: disallow invalid expr for `filter`, `count`, `any`, `all` (fix #24508) (#24540)
1 year ago
2.31 KB
fixed_array_conv.out
checker: do not allow &u8(0), force nil like we do with &Type(0)
1 year ago
2.25 KB
fixed_array_decompose_err.vv
checker: add check for implicit fixed array decomp in function varargs (#16806)
3 years ago
135 bytes
fixed_array_new_syntax_size_mismatch_err.out
tests: update checker error expectations
last May 14
216 bytes
fixed_array_non_const_size_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
476 bytes
fixed_array_size_err.out
checker: fix tests (adjust byte to u8 in .out files too)
4 years ago
492 bytes
fixed_array_sort_err.out
checker: add tests for checking the new errors for fixed arrays .sort() calls (#22656)
1 year ago
1.62 KB
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.vv
scanner: fix err pos related to num literals
6 years ago
30 bytes
float_modulo_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
64 bytes
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.out
checker: improve `fn` argument mismatch error (#22370)
1 year ago
618 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_b.vv
checker: check error for fn call argument mismatch (fix #14280) (#14283)
4 years ago
57 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_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.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
71 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.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.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_unsign_type_mismatch.out
checker: remove too vague notice about signed expressions while returning unsigned number types
3 years ago
232 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.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_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.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.vv
checker: disallow `Optional` and `Result` high val in a `for x in low..high {` loop (#21043)
2 years ago
175 bytes
for_in_range_string_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_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_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.out
checker: match type when auto deref occurs (fix #25913) (#25916)
last Dec 7
303 bytes
from_string_on_non_enum_err.vv
checker: fix missing auto `from_string` type restriction (related to #22783) (#22803)
1 year ago
141 bytes
func_with_static_keyword_err.vv
parser, checker: fix static method naming and generic call (#18694)
3 years ago
79 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.vv
tests: run `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_eq_wrong_type.err.vv
checker: fix generic infix expr type mismatch error (#18706)
3 years ago
389 bytes
generic_field_init_with_call_err.vv
checker: fix missing check for struct generic init from call (fix #25084) (#25119)
last Aug 16
340 bytes
generic_fn_call_arg_mismatch_err.vv
checker: check generic fn call argument type mismatch (#17680)
3 years ago
144 bytes
generic_fn_decl_without_generic_names_err.vv
all: replace generic '<>' with '[]' in .vv files (#16593)
3 years ago
465 bytes
generic_infix_plus_err.out
all: replace generic '<>' with '[]' in .vv files (#16593)
3 years ago
215 bytes
generic_interface_callback_arg_err.out
checker: cgen: passing interface to generic function result in C error. (fixes #18320)
last Apr 14
302 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_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.out
checker: fix simple generic structure declaration error (fixes #21989)
last Apr 14
571 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.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
521 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.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
generic_sumtype_invalid_variant.out
all: replace generic `<>` with `[]` - part 2 (#16536)
3 years ago
559 bytes
generic_type_name_in_non_generic_function.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.32 KB
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_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: 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_inst_non_generic_struct_err.vv
checker: cleanup the generic tests (#20553)
2 years ago
56 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.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.vv
tests: run `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
go_expr.vv
checker: replace the `go` keyword in error messages with `spawn` (#16960)
3 years ago
23 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
goto_label.out
checker: extract vlib/v/checker/errors.v, use maps for c.error_lines, c.warning_lines, c.notice_lines, dedup all errors, warns, and notices
2 years ago
3.14 KB
hash_flag_backticks_err.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
hex_lit_wrong_digit_err.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
197 bytes
i64_to_f64_implicit_cast_err.vv
checker: fix i64 transfer to f64 should be explicit (fixes #14934)
last Feb 26
232 bytes
identifier_name_starts_with_number_err.vv
scanner: fix wrong error message when identifier name starts with a number (fixes #14560)
last Apr 14
40 bytes
ierror_in_return_tuple.vv
checker: prohibit option and `IError` in multi-return (#10689)
5 years ago
144 bytes
if_diff_expected_type_err.vv
checker: add a deprecation warning for `const ()` groups (an error after 2025-01-01) (#22019)
1 year ago
167 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_mismatch.out
checker,transformer: add always true/false branch detection for the `if` and `match` constructs (#25674)
last Nov 9
420 bytes
if_expr_result_err.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
103 bytes
if_expr_with_none_only.vv
checker: add missing check for IfExpr and MatchExpr with no valid type (#23832)
1 year ago
51 bytes
if_guard_variables_err.out
checker: disallow multiple left variables in if guards, that do not receive multireturn values (fix #24930) (#25507)
last Oct 15
974 bytes
if_match_result.vv
checker: fix returning expression with void type (fix #15543) (#15554)
3 years ago
192 bytes
if_mismatch_muls_err.vv
checker: fix if branch type nr_muls mismatch (fix #25556) (fix #25555) (#25571)
last Oct 25
235 bytes
if_mismatch_option_err.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
171 bytes
if_smartcast_mut_var_interface_err.vv
checker: add check for mut ident but not if mut ident is for interfaces (#16214)
3 years ago
159 bytes
immutable_arg.vv
tests: run `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_array_in_if_expr_index.vv
checker: fix index expr that left is if expr (fix #22654) (#22661)
1 year ago
125 bytes
immutable_array_struct_assign.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
216 bytes
immutable_array_struct_shift.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
217 bytes
immutable_deref.out
checker: disallow references to constants (fix #23935) (#23942)
1 year ago
228 bytes
immutable_field_postfix.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
396 bytes
immutable_interface_field.out
checker: add mutability checks for interface fields; add tests (#8312)
5 years ago
212 bytes
immutable_map.out
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
950 bytes
immutable_rec.out
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
187 bytes
immutable_struct_postfix.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
426 bytes
immutable_to_mutable_err.out
checker: fix immutability of variable may be broken (fixes #17135)
last Mar 25
2.32 KB
immutable_var.out
all: improve unused variable warning (fix `x = 1`, `x += 1` etc)
5 years ago
208 bytes
immutable_var_postfix.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
404 bytes
implements_generic_err.vv
cgen: fix interface type generation for generic struct (fix #22186) (#22189)
1 year ago
355 bytes
import_mod_as_import_alias_duplicate_err.out
checker: revise logic for reporting import conflicts with module names (#24539)
1 year ago
230 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_duplicate_as_alias_err.out
ast, builder, checker, parser: fix typos (#18480)
3 years ago
461 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.vv
checker: disallow import names and import aliases, shadowing the module name (#18431)
3 years ago
66 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.vv
checker: disallow import names and import aliases, shadowing the module name (#18431)
3 years ago
79 bytes
import_mod_sub_duplicate_err.vv
checker: disallow import names and import aliases, shadowing the module name (#18431)
3 years ago
61 bytes
import_not_found_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
186 bytes
import_not_same_line_err.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
198 bytes
import_symbol_empty.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
134 bytes
import_symbol_private_err.vv
ci: fix import_symbol_private_err.vv and its .out file (time.since is no longer private)
4 years ago
228 bytes
import_symbol_unclosed.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
170 bytes
in_mismatch_type.vv
vlib: remove deprecated map{} usages as well as deprecated functions (#11035)
4 years ago
516 bytes
in_range_expr_err.vv
v: support `in` expr with number ranges: `if var in 1..4 {` (fix #20352) (#22754)
1 year ago
20 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_enum.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
181 bytes
incorrect_name_enum_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
33 bytes
incorrect_name_fn_type.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
161 bytes
incorrect_name_function.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
147 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_module.out
v.parser: improve the unused import warning message (add fixing alternatives) (#25880)
last Dec 3
831 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_smartcast_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.09 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.vv
all: add operator overloading for `[]` (fixes #23177)
last Apr 14
128 bytes
infix_and_op_expr_err.out
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
n/a
infix_dup_in_err.vv
checker: add missing check for duplicated items on in expr (fix #22305) (#22308)
1 year ago
105 bytes
infix_expr_left_side_assogn_err.out
checker: disallow infix exper on left side of assign (#22322)
1 year ago
463 bytes
infix_is_notis_interface_unimplemented_err.out
all: remove the obsolete .code and .msg fields of IError (#22066)
1 year ago
2.11 KB
infix_is_unknown_module_no_panic.out
checker: avoid panic on unresolved infix operand types in -check (fixes #26458) (#26607)
last Feb 14
250 bytes
infix_sumtype_in_array_err.out
checker: fix mut smartcasts not working correctly (fixes #17440)
last Apr 15
n/a
infix_value_ref_comparison_err.vv
checker: sumtypes: V sometimes thinks 1 == &1 (hidden dereferencing that shouldn't be there?) (fixes #11543)
last Mar 11
243 bytes
int_modulo_by_zero_err.out
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
158 bytes
int_ptr_array_index_decl_assign_err.vv
checker: fix getting index of an array with ref arg (fixes #17800)
last Apr 21
97 bytes
int_ptr_array_index_err.vv
checker: fix error msg for index error for int ptr (#18896)
2 years ago
101 bytes
int_signess_call_arg_test.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
289 bytes
interface_cast_from_immutable_to_mutable_err.vv
checker: immutable instance of a struct can be modified via interface (fixes #23509)
last Mar 11
208 bytes
interface_field_name_err.vv
parser: make sure interface field names use uppercase letters (#14228)
4 years ago
69 bytes
interface_generic_err.vv
all: replace generic `<>` with `[]` - part 2 (#16536)
3 years ago
130 bytes
interface_implementing_interface.out
checker: make implementing an interface with another interface an error (#8398)
5 years ago
277 bytes
interface_implementing_own_interface_method.out
interfaces: error on implemention of own interface method & on duplicate normal methods
5 years ago
272 bytes
interface_implicit_str_char_err.out
checker: fix .str() method inconsistent behavior (fixes #25825)
last Apr 14
222 bytes
interface_init_err.out
v.checker: turn `interface field ... must be initialized` to a notice temporarily
4 years ago
201 bytes
interface_method_name_err.out
parser: check interface methods name (fix #14217) (#14218)
4 years ago
218 bytes
interface_option_cast_err.out
checker: fix missing check for interface cast of option type (#20961)
2 years ago
582 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
invalid_recursive_struct_err.out
checker: add check for recursive array init on struct (fix #21195) (#24278)
1 year ago
226 bytes
invalid_string_cast_to_pointers_err.out
checker: disallow `string` to `voidptr` cast entirely (#20351)
2 years ago
845 bytes
invalid_utf8_escape_string.out
checker: fix invalid utf8 string warning in character literal (fixes #23741)
last Apr 15
n/a
invalid_utf8_string.out
checker: Misleading or wrong error message in UTF-8 byte sequence verification (fixes #25874)
last Apr 14
146 bytes
invalid_variable_err.out
encoding.binary: add an f32 test; checker: remove "(s)" from the assignment mismatch error
2 years ago
746 bytes
invalid_variable_name_err.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
211 bytes
invert_other_types_bits_error.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
81 bytes
is_type_not_exist.vv
parser, checker: improve the error message for an unknown type (#21207)
2 years ago
432 bytes
js_with_non_js_backend_too_many_arguments.vv
cgen: check call argument on methods (#12965)
4 years ago
38 bytes
labelled_break_continue.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
451 bytes
lambda_expression_in_map.vv
checker: support lambda expressions in array methods like `a.map(|x|x*10)` too (#19424)
2 years ago
110 bytes
lambda_expression_invalid.vv
parser, checker: check invalid lambda expr (#20461)
2 years ago
82 bytes
lambda_or_block_err.vv
checker: fix missing or-block check for callexpr (fix #22835) (#22840)
1 year ago
180 bytes
lambda_undefined_variables_err.vv
parser, checker: fix var scope in lambda(fix #19860) (#19871)
2 years ago
79 bytes
like_operator_outside_orm_1_error.vv
tests: add like_operator_outside_orm_error.vv/.out (related #22075) (#22079)
1 year ago
55 bytes
like_operator_outside_orm_2_error.vv
tests: add like_operator_outside_orm_error.vv/.out (related #22075) (#22079)
1 year ago
67 bytes
like_operator_with_non_string_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
242 bytes
lock_already_locked.vv
checker, cgen: checks for shared/lock, first autolock (#5815)
5 years ago
121 bytes
lock_already_rlocked.vv
checker, cgen: checks for shared/lock, first autolock (#5815)
5 years ago
121 bytes
lock_const.vv
checker: add a deprecation warning for `const ()` groups (an error after 2025-01-01) (#22019)
1 year ago
73 bytes
lock_needed.vv
checker: require `shared a` to be `rlocked` to read `a[i]` or `a.e` (#9266)
5 years ago
266 bytes
lock_nonshared.vv
checker, cgen: checks for shared/lock, first autolock (#5815)
5 years ago
99 bytes
lockexpr_missing_return_err.vv
checker: fix missing detection for `return` in lockexpr stmts (fix #23434) (#23435)
1 year ago
173 bytes
main_no_body_err.out
checker: make the no-body main function a checker error (#8211)
5 years ago
125 bytes
map_builtin_method_args_err.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
138 bytes
map_def_err.vv
checker: add error for `field map` (i.e. a plain untyped map), used inside a struct (#21625)
2 years ago
25 bytes
map_func_return_multiple_values_err.vv
checker: add error for .map() calling a fn with multiple return values (prevent inaccessible tuple leak)
4 years ago
103 bytes
map_index_or_block_type_mismatch_err.out
checker: fix checking got 'none' from or_block of map index (fix #20390) (#20394)
2 years ago
632 bytes
map_index_or_block_type_mismatch_err.vv
checker: fix checking got 'none' from or_block of map index (fix #20390) (#20394)
2 years ago
138 bytes
map_init_invalid_syntax.out
checker: add an error for `x.method({})` calls, when method expects a struct
4 years ago
425 bytes
map_init_invalid_syntax.vv
vlib: remove deprecated map{} usages as well as deprecated functions (#11035)
4 years ago
35 bytes
map_init_invalid_update.vv
v: add map update-init syntax: `new_map := {...old_map, 'k1': 1, 'k2': 5}` (#20561)
2 years ago
232 bytes
map_init_wrong_expected_type.out
v: add map update-init syntax: `new_map := {...old_map, 'k1': 1, 'k2': 5}` (#20561)
2 years ago
1.92 KB
map_init_wrong_expected_type.vv
v: add map update-init syntax: `new_map := {...old_map, 'k1': 1, 'k2': 5}` (#20561)
2 years ago
646 bytes
map_init_wrong_update_type.vv
v: add map update-init syntax: `new_map := {...old_map, 'k1': 1, 'k2': 5}` (#20561)
2 years ago
314 bytes
map_key_val_or_not_progagate_err.vv
checker: check for unwrapped results in map keys and vals (fix #22521) (#22525)
1 year ago
108 bytes
map_lambda_void_return_err.vv
checker: disallow void return value lambdas in array.map method calls (#21011)
2 years ago
47 bytes
map_ops.out
checker: Compiler accepts &int as a key for map[int]int (fixes #23069)
last Apr 14
1.87 KB
map_option_key_err.out
checker: C error: cannot convert 'struct _option_string' to 'unsigned char *' (fixes #26347)
last Mar 11
796 bytes
map_repeated_float_key_err.out
checker: fix missing map float key duplicated checking (fix #25098) (#25117)
last Aug 16
552 bytes
map_result_callback_fn_type_err.out
checker: Error handling, compile error (fixes #20980)
last Apr 14
796 bytes
map_unknown_value.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
199 bytes
map_with_none_err.out
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
1013 bytes
map_with_result_value_err.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
111 bytes
match_branch_call_expr_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
573 bytes
match_cast_cond_not_same_range_cast_type_err.vv
checker: add a deprecation warning for `const ()` groups (an error after 2025-01-01) (#22019)
1 year ago
117 bytes
match_cond_with_parenthesis_err.vv
checker: check error for match conditions with parenthesis (#13130)
4 years ago
168 bytes
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.out
checker: fix non dereferenced enum in match statements (fixes #10045) (#20591)
2 years ago
276 bytes
match_expr_and_expected_type_error.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
79 bytes
match_expr_else.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
347 bytes
match_expr_empty_branch.vv
checker: check for empty branches in match expressions (#10593)
5 years ago
42 bytes
match_expr_with_none_only.out
checker,transformer: add always true/false branch detection for the `if` and `match` constructs (#25674)
last Nov 9
691 bytes
match_expr_with_none_only.vv
checker: add missing check for IfExpr and MatchExpr with no valid type (#23832)
1 year ago
62 bytes
match_generic_case_err.vv
checker: fix missing check for concrete type on match branch expr (fix #23506) (#23508)
1 year ago
228 bytes
match_invalid_type.out
checker: fix tests (adjust byte to u8 in .out files too)
4 years ago
826 bytes
match_invalid_type.vv
checker: fix tests (adjust byte to u8 in .out files too)
4 years ago
277 bytes
match_last_branch_only_casted.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
114 bytes
match_mut_with_immutable_var_err.out
checker: fix tests (adjust byte to u8 in .out files too)
4 years ago
282 bytes
match_option_without_none_err.out
checker: fix none check for match expr with option (fix #22728) (#22732)
1 year ago
412 bytes
match_option_without_none_err.vv
checker: fix none check for match expr with option (fix #22728) (#22732)
1 year ago
342 bytes
match_range_mismatch_type_err.vv
checker: improve mismatched range types error messages
3 years ago
165 bytes
match_ranges_not_same_cast_err.vv
checker: add a deprecation warning for `const ()` groups (an error after 2025-01-01) (#22019)
1 year ago
117 bytes
match_return_mismatch_type_err.out
checker: match []u8 gives &[]u8 (fixes #24054)
last Mar 11
1.63 KB
match_return_sumtype_mismatch_err.out
checker: fix missing check for concrete type on match branch expr (fix #23506) (#23508)
1 year ago
286 bytes
match_sumtype_multiple_types.out
checker: require common fields for match aggregates (#27428)
last Jun 12
1.26 KB
match_type_node_with_non_sum_type_err.vv
checker: disallow matching type with primitive vars (#18084)
3 years ago
102 bytes
match_undefined_cond.vv
checker: add error for struct not init (fix #24893) (#25134)
last Aug 19
89 bytes
method_call_arg_mismatch.vv
checker: check method call argument type mismatch (#14496)
4 years ago
102 bytes
method_call_arg_no_mut_err.vv
all: do not allow uninitialized function pointers
2 years ago
292 bytes
method_call_on_undefined_err.vv
checker: fix or-expr check on invalid method call (fix #22949) (#22950)
1 year ago
311 bytes
method_op_err.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
543 bytes
method_ptr_used_as_argument_err.vv
checker: ensure fn pointer cannot be used as non-fn argument (fix #26017) (#26022)
last Dec 19
138 bytes
minus_op_wrong_type_err.out
checker: extract vlib/v/checker/errors.v, use maps for c.error_lines, c.warning_lines, c.notice_lines, dedup all errors, warns, and notices
2 years ago
4.45 KB
missing_c_lib_header_1.out
cgen: produce cleaner error on missing C headers (with optional explanation) (#6637)
5 years ago
149 bytes
missing_c_lib_header_1.vv
cgen: produce cleaner error on missing C headers (with optional explanation) (#6637)
5 years ago
185 bytes
missing_c_lib_header_with_explanation_2.vv
cgen: produce cleaner error on missing C headers (with optional explanation) (#6637)
5 years ago
230 bytes
missing_concrete_type_err.vv
checker: fix missing concrete type checking on a generic type specifier (#21614)
2 years ago
62 bytes
missing_shader_header_1.glsl
cgen: improve error message when running shader examples (fixes #16125)
last Mar 25
63 bytes
missing_shader_header_1.vv
cgen: improve error message when running shader examples (fixes #16125)
last Mar 25
50 bytes
misspelled_mod_const_should_have_suggestion.vv
checker: add a suggestion for misspelled mod.const_name + a test
4 years ago
42 bytes
misspelled_mod_fn_name_should_have_suggestion.vv
checker: add suggestions for misspelled `mod.func_name()` calls
4 years ago
36 bytes
mod_name_duplicate_param_err.vv
checker: disallow module name duplicates in local names (#18118)
2 years ago
49 bytes
mod_name_duplicate_var_err.vv
checker: disallow module name duplicates in local names (#18118)
2 years ago
53 bytes
mod_op_wrong_type_err.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
212 bytes
module_selector_decl_assign_err.vv
checker: fix local variable with module before should give a compiler error (fixes #10658)
last Feb 26
66 bytes
multi_const_field_name_duplicate_err.out
checker: add a deprecation warning for `const ()` groups (an error after 2025-01-01) (#22019)
1 year ago
186 bytes
multi_const_field_name_duplicate_err.vv
checker: add a deprecation warning for `const ()` groups (an error after 2025-01-01) (#22019)
1 year ago
57 bytes
multi_return_arg_missing_err.vv
checker: fix multi return arg passing checking (fix #25167) (fix #25180) (#25177)
last Aug 29
232 bytes
multi_return_option_element_mismatch_err.vv
checker: reject multi-return elements that disagree on option-ness (fix #27562) (#27565)
last Jun 26
774 bytes
multi_return_option_result_return_expr_err.vv
checker: fix return if fn multi-return (#27347)
last Jun 5
293 bytes
multi_return_pointer_number_return_expr_err.out
checker: fix return if fn multi-return (#27347)
last Jun 5
823 bytes
multi_return_use_void_type_err.out
checker: fix return if fn multi-return (#27347)
last Jun 5
822 bytes
multi_return_use_void_type_err.vv
checker: fix return if fn multi-return (#27347)
last Jun 5
149 bytes
multi_value_method_err.vv
checker: reject method that have multi-value type receiver (#8696)
5 years ago
25 bytes
multireturn_mix_err.vv
checker: add check for mixing multi-return results with other types in return statements (fix #17501) (#18067)
3 years ago
97 bytes
must_use.vv
parser,checker,ast: support `@[must_use]` tag for fns/methods, and an experimental `-check-result` option (#22983)
1 year ago
276 bytes
mut_assign_ref.out
checker: disallow references to constants (fix #23935) (#23942)
1 year ago
1.66 KB
mut_assign_ref.vv
checker: disallow references to constants (fix #23935) (#23942)
1 year ago
238 bytes
mut_map_get_value_address_err.out
checker: cycle through all `ast.ParExpr` first in `prefix_expr` (fix #24584) (#24588)
1 year ago
247 bytes
mut_parms_struct_param_err.out
checker: disallow structs with `@[params]` attribute as mutable function parameters (#21206)
2 years ago
287 bytes
mut_receiver.out
parser: improve the position of mut receiver warning / error (#8240)
5 years ago
459 bytes
mut_receiver_lit.out
checker: fix checking of expression as mut receiver, when calling methods of arrays/maps (#20410)
2 years ago
667 bytes
mut_receiver_wrong_return_type.vv
v.checker: fix return type checking being skipped for mutable method receivers (#12043)
4 years ago
113 bytes
negative_assign_to_unsigned.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
54 bytes
nested_fn_alias_err.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
33 bytes
nil_to_option_err.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
142 bytes
no_arrays_of_references_in_translated.vv
parser,checker: silence more warnings for `@[translated]` files (#20964)
2 years ago
147 bytes
no_assign_0_to_a_reference_field_notice_in_translated.vv
checker: silence "assigning 0 to a reference field" and "uninitialized fn struct fields" notices for `@[translated]\nmodule ...` files (#20938)
2 years ago
124 bytes
no_cannot_cast_a_fixed_array_in_translated.vv
parser,checker: silence more warnings for `@[translated]` files (#20964)
2 years ago
152 bytes
no_function_must_be_called_from_unsafe_in_translated.vv
parser,checker: silence more warnings for `@[translated]` files (#20964)
2 years ago
99 bytes
no_goto_requires_unsafe_in_translated.vv
parser,checker: silence more warnings for `@[translated]` files (#20964)
2 years ago
130 bytes
no_heap_struct.out
checker: fix stack var outside usage when var is a mutable param (#24249)
1 year ago
602 bytes
no_interface_instantiation_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
51 bytes
no_method_must_be_called_from_unsafe_in_translated.out
parser,checker: silence more warnings for `@[translated]` files (#20964)
2 years ago
n/a
no_method_must_be_called_from_unsafe_in_translated.vv
parser,checker: silence more warnings for `@[translated]` files (#20964)
2 years ago
101 bytes
no_method_on_interface_propagation.vv
checker, cgen: add sumtype-like smartcasting capabilites to interfaces (#9256)
5 years ago
269 bytes
no_operator_can_only_be_used_as_a_statement_in_translated.vv
parser,checker: silence more warnings for `@[translated]` files (#20964)
2 years ago
152 bytes
no_pointer_arithmetic_is_only_allowed_in_translated.vv
parser,checker: silence more warnings for `@[translated]` files (#20964)
2 years ago
164 bytes
no_reading_a_union_field_in_translated.vv
parser,checker: silence more warnings for `@[translated]` files (#20964)
2 years ago
138 bytes
no_sign_notice_in_translated.vv
checker: remove notice when shifting signed int for `@[translated]` (#20935)
2 years ago
96 bytes
no_unused_variable_in_translated.out
parser,checker: silence more warnings for `@[translated]` files (#20964)
2 years ago
n/a
no_unused_variable_in_translated.vv
parser,checker: silence more warnings for `@[translated]` files (#20964)
2 years ago
51 bytes
no_warning_for_in_mut_var_unused.out
checker: fix for_in mut var unused warning (#10008)
5 years ago
n/a
non_const_match_range_err.vv
all: add support for `const` ident in `match` range (#16526)
3 years ago
150 bytes
non_lvalue_as_voidptr.vv
checker: prohibit passing non-lvalue as `voidptr` (#10838)
4 years ago
82 bytes
non_matching_functional_args.vv
checker: add details about a non matching functional argument
6 years ago
369 bytes
non_nil_array_with_nil_element_err.vv
checker: disallow nil in non-nil arrays and vice versa (#21786)
2 years ago
79 bytes
noreturn_with_non_empty_loop_at_end.vv
all: update attributes to use new syntax
2 years ago
173 bytes
noreturn_with_return.out
checker: relax the "unreachable code after a @[noreturn] call" error to a warning to reduce prototyping friction (#25173)
last Aug 26
705 bytes
noreturn_without_loop_or_another_noreturn_at_end.vv
all: update attributes to use new syntax
2 years ago
155 bytes
number_literal_overflows_known_type_range_warn.out
checker: add warning for `fn f(x u8) {} f(999)` (fix #26584) (fix #26585) (#26586)
last Feb 12
18.28 KB
oct_lit_without_digit_err.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
182 bytes
opaque_c_typedef_struct_field_err.vv
checker: fix cgen error when using `sdl.Window` as non-ref type for struct field (fixes #23042)
last Apr 23
84 bytes
operator_overloading_primitive_alias_return_type_err.vv
checker: fix arithmetic operator overloading result type (fixes #23194)
last Mar 25
150 bytes
operator_overloading_return_type_option_or_result.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
356 bytes
option_alias_result_type_err.out
checker: disallow using aliases of ?Type as !Type (#21128)
2 years ago
800 bytes
option_and_result_err.out
checker: fix missing option and result wrong type return type definition (#21626)
2 years ago
169 bytes
option_arithmetic_err.out
checker: report unwrapped option in infix arithmetic (fix #27082) (#27225)
last May 24
281 bytes
option_array_arg_err.out
checker: reject optional array args for plain arrays (#27425)
last Jun 12
583 bytes
option_array_push.out
checker: fix check for pushing on an unwrapped option array (fix #24073) (#24093)
1 year ago
256 bytes
option_as_cast_err.out
checker: fix missing option variable checking when casting using `as` operator (fix #23349) (#23358)
1 year ago
200 bytes
option_concrete_type_err.out
parser: detect wrong usage of Option as concrete type (#18334)
3 years ago
165 bytes
option_fields_addr_err.out
cgen, check, parser: implement first-class option type (#17017)
3 years ago
420 bytes
option_fn_field_err.out
checker: fix missing option function field checking (#17601)
3 years ago
199 bytes
option_fn_return_error.out
checker: turn the option/result split warning into an error; readme: better wording
2 years ago
249 bytes
option_fn_var_err.out
checker, cgen: fix codegen for option fntype used in a match (fix #22278) (#22280)
1 year ago
272 bytes
option_in_operator_err.out
checker: error for unwrapped option/result types used with in operator (fix #26208) (#26223)
last Jan 1
514 bytes
option_in_receiver_err.vv
parser: disallow defining methods on option receivers - `fn (x ?Type) method() {` (#17351)
3 years ago
165 bytes
option_map_err.vv
checker: fix missing checker for option map indexing (fix #22490) (#22495)
1 year ago
250 bytes
option_multi_return_err.vv
checker, orm: add error for unchecked option multi return types, fix undefined behavior (#21106)
2 years ago
127 bytes
option_mut_non_mut_err.vv
checker: add error for `if mut x != none {`, when `x` is an immutable option (fix #24692) (#24694)
1 year ago
115 bytes
option_propagate_nested.vv
checker: check option fn returning error (fix #17423) (#17438)
3 years ago
331 bytes
option_ptr_err.out
checker: fix option in struct member infix expr and swapped none comparion (fix #26351) (#26373)
last Jan 17
497 bytes
option_ptr_without_unwrapp_err.out
v: add selector option unwrapping inside `if tree.root != none {` (#22895)
1 year ago
276 bytes
option_receive_ptr_err.out
checker: fix option checker arg validation for ptr passing on non expected ptr (#21087)
2 years ago
303 bytes
option_ref_init_err.out
ci: fix vlib/v/checker/tests/option_ref_init_err.vv/.out after e736eca
2 years ago
1.4 KB
option_return_call_non_opt_err.out
checker: fix or-block expected type checking (#17469)
3 years ago
276 bytes
option_return_selector_non_opt_err.out
checker: fix or-block expected type checking (#17469)
3 years ago
274 bytes
option_return_selector_non_opt_err.vv
checker: fix or-block expected type checking (#17469)
3 years ago
194 bytes
option_selector_ierror_in_or_block_err.out
checker: fix missing compile time error for option selector in or block (fixes #17761)
last Apr 15
653 bytes
option_selector_ierror_in_or_block_err.vv
checker: fix missing compile time error for option selector in or block (fixes #17761)
last Apr 15
245 bytes
option_str_call.out
pg: exec_no_null(); gx: remove deprecated test; parser/tmpl: %raw translations; veb: time_to_render()
last Jan 24
638 bytes
option_type_call_err.out
checker: optimize option and result typ check, add more typinfo to error details (#21105)
2 years ago
802 bytes
option_var_assign_err.vv
checker: fix missing check for wrong assignment: non-option to option type (#17628)
3 years ago
238 bytes
option_var_unwrap_err.vv
cgen, check, parser: implement first-class option type (#17017)
3 years ago
91 bytes
option_with_match_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
or_block_assert_err.out
checker: cleanup and move test files to tests directory (#22870)
1 year ago
587 bytes
or_block_assert_err.vv
checker: cleanup and move test files to tests directory (#22870)
1 year ago
141 bytes
or_block_cast_wrong_default_type_err.vv
checker: validate or-block defaults before outer casts (#27059)
last May 2
95 bytes
or_block_check_err.vv
checker: fix missing or_block check for left expr of CallExpr(fix #19061) (#19074)
2 years ago
357 bytes
or_block_selector_cast_wrong_default_type_err.out
checker: validate or-block defaults before outer casts (#27059)
last May 2
290 bytes
or_block_selector_cast_wrong_default_type_err.vv
checker: validate or-block defaults before outer casts (#27059)
last May 2
108 bytes
or_block_smartcast_unwrapped_err.vv
checker: explain smartcast narrowing in `or {}`/`?` error on unwrapped option (fix #27130) (#27238)
last May 24
214 bytes
or_block_u64_to_f64_err.vv
checker: fix silent conversion of u64 to f64 (fixes #21778)
last Apr 14
129 bytes
or_err.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
89 bytes
orm_aggregate_sum_string_error.out
orm: add aggregate function support (#26697)
last Mar 7
290 bytes
orm_anon_struct_field.out
orm: fix errors and panics when using anonymous structs (fixes #23299)
last Mar 25
385 bytes
orm_bulk_pointer_array_error.vv
orm: add bulk insert/update support with CASE WHEN batch updates, MySQL time conversion, and checker/codegen validation (#27132)
last May 13
557 bytes
orm_fkey_attribute.vv
tests: run `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
orm_fkey_update.vv
orm: fix double fkey insert and update (fix #25593) (#25606)
last Oct 28
770 bytes
orm_fn_call_with_wrong_return_type.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
768 bytes
orm_insert_object_with_mismatched_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
341 bytes
orm_invalid_recursive_structs_err_2.out
orm: fix checking invalid recursive structs in sql stmts (fix #20278) (#20505)
2 years ago
284 bytes
orm_left_side_expr_in_infix_expr_has_no_struct_field_error.out
all: replace enum field name 'xxx_' with 'xxx' (#22469)
1 year ago
354 bytes
orm_left_side_expr_in_infix_expr_has_no_struct_field_error.vv
all: update attributes to use new syntax
2 years ago
293 bytes
orm_limit_less_than_zero_error.vv
checker: add a deprecation warning for `const ()` groups (an error after 2025-01-01) (#22019)
1 year ago
270 bytes
orm_no_default_value.out
checker: fix missing or-block check for callexpr (fix #22835) (#22840)
1 year ago
227 bytes
orm_op_with_option_and_none.out
orm: add null handling and option fields (#19379)
2 years ago
2.2 KB
orm_right_side_field_ref_in_where_error.vv
checker: fix orm compiler crash (fixes #18269)
last Mar 25
258 bytes
orm_table_attributes.out
all: replace enum field name 'xxx_' with 'xxx' (#22469)
1 year ago
232 bytes
orm_unused_var.out
orm: fix mark as used var on insert statement (fix #23032) (#23038)
1 year ago
224 bytes