0 branches
Tree
Top files
Clone with HTTPS:
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
run
cgen: fix showing the line where interface is used as generic type (fixes #23004)
last Mar 25
3.42 KB
templates
veb: fix @import gives `invalid character` but should `undefined ident` (fixes #23623)
last Feb 26
39 bytes
module_with_deprecated_structs
revert: deprecated_after attribute change (fixes #19138) - incomplete, breaks time/format.v
last Apr 14
870 bytes
amod
checker: fix pub field of private struct accessible outside module (fixes #26625)
last Mar 25
300 bytes
comptime_insert_err.cc
checker, cgen: add support for #insert, to simplify bootstrapping V
4 years ago
18 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.vv
checker,cgen: add comptime match support (#25165)
last Aug 25
288 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_cycle_decl_err.vv
cgen: fix print fn + cycle const error message (#17355)
3 years ago
16 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_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.vv
checker: add a deprecation warning for `const ()` groups (an error after 2025-01-01) (#22019)
1 year ago
32 bytes
const_field_inc_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.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.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
59 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_invalid_err.out
all: add support for `const` ident in `match` range (#16526)
3 years ago
489 bytes
const_match_range_invalid_err.vv
all: add support for `const` ident in `match` range (#16526)
3 years ago
155 bytes
const_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.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
defer_fn_inside_fn_scope.out
checker: error/warn when using `defer(fn)` inside function-scope and `lock` stmts (#25681)
last Nov 8
243 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_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.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
528 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
deprecate_any.vv
checker: add a deprecation note for `any` arg, prevent `any` from being used as map key,value or array type (#24277)
1 year ago
86 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
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
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_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_d.vv
checker: check enum field value duplicate (#21920)
2 years ago
154 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_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_redeclare_err.out
parser: fix enum redeclaration error (fix #22759) (#22766)
1 year ago
214 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.vv
checker: check option fn returning error (fix #17423) (#17438)
3 years ago
31 bytes
error_with_comment_with_crlf_ending.vv
v.scanner: fix error line numbers when comments end with CRLF
5 years ago
126 bytes
error_with_comment_with_lf_ending.out
parser: fix checking unexpected name (#12233)
4 years ago
248 bytes
error_with_several_comments_with_crlf_ending.vv
v: refactor $var to ${var} across entire repository, make vfmt always output the newer form `${expr}` (#26494)
last Feb 1
141 bytes
error_with_unicode.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
233 bytes
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_conv.vv
checker: do not allow &u8(0), force nil like we do with &Type(0)
1 year ago
184 bytes
fixed_array_decompose_err.vv
checker: add check for implicit fixed array decomp in function varargs (#16806)
3 years ago
135 bytes
fixed_array_init_with_default.vv
checker: check fixed array init with default expression (#19472)
2 years ago
186 bytes
fixed_array_new_syntax_size_mismatch_err.vv
v2: lifetimes; clone() auto-generation for structs with heap-allocated fields (#26859)
last May 13
36 bytes
fixed_array_non_const_size_err.vv
checker: change non-const size of fixed array error message (#8850)
5 years ago
65 bytes
fixed_array_sort_err.vv
checker: add tests for checking the new errors for fixed arrays .sort() calls (#22656)
1 year ago
109 bytes
float_lit_exp_not_integer_err.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
186 bytes
float_lit_exp_without_digit_err.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
169 bytes
float_lit_too_many_points_err.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
190 bytes
fn_args.out
checker: fix passing fixed array [n]t to generic function expecting []t (fixes #26899)
last Apr 21
1.86 KB
fn_args.vv
checker: fix passing fixed array [n]t to generic function expecting []t (fixes #26899)
last Apr 21
209 bytes
fn_array_decompose_arg_mismatch_err_b.vv
checker: fix checking mismatch of the fn array decompose argument (#15934)
3 years ago
128 bytes
fn_array_decompose_arg_mismatch_err_c.vv
checker: fix compiler crashes when passing an extra decompose parameter to a function(fix: 18995) (#18996)
3 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_e.out
checker: check fn call argument mismatch (fix #23016) (#23061)
1 year ago
209 bytes
fn_call_arg_multi_err.vv
checker: fix multi return var passing to fn arg (potential fix for #24870) (#25250)
last Sep 8
103 bytes
fn_call_arg_ptr_mismatch_err.vv
checker: fix multiple pointer check of fn and method args (fix #16261 #16262 #16263) (#16275)
3 years ago
660 bytes
fn_call_mut_arg_mismatch_err.out
checker: check mismatch of fn call mut argument (fix #21857) (#21873)
2 years ago
225 bytes
fn_call_mut_arg_mismatch_err.vv
checker: check mismatch of fn call mut argument (fix #21857) (#21873)
2 years ago
174 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.vv
checker: only allow `&u8` with `byteptr` and itself (#18146)
3 years ago
141 bytes
fn_call_using_none_arg_err.vv
checker: check fn call using 'none' as argument (#17070)
3 years ago
53 bytes
fn_call_with_extra_parenthesis.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
45 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_mismatch_option_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
82 bytes
fn_param_import_sym_conflict.vv
v: forbid function parameter names, shadowing imported module names (#17210)
3 years ago
448 bytes
fn_ptr_undereferenced_err.vv
cgen: fix fnptr indirections declaration (fix #25940) (#25987)
last Dec 19
85 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_result_option_call_infix_err.vv
checker: disallow `foo()? == foo` where foo returns `!string` (fix #26383) (#26403)
last Jan 21
98 bytes
fn_return_array_sort_err.vv
checker: check fn_call().sort() (fix #11040) (#11056)
4 years ago
78 bytes
fn_return_fixed_array_sort_err.vv
checker: add tests for checking the new errors for fixed arrays .sort() calls (#22656)
1 year ago
80 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_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.out
checker: disallow `$for i in struct.values` and `$for i in enum.fields` (#19845)
2 years ago
262 bytes
for_comptime_struct_values_err.out
checker: disallow `$for i in struct.values` and `$for i in enum.fields` (#19845)
2 years ago
268 bytes
for_in_invalid_identifier.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
831 bytes
for_in_iterator_returning_multiple_values_err.out
checker: add error for `for x in t {`, where `t.next()` returns multiple values
4 years ago
274 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_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.out
checker: move test files to tests directory (cleanup) (#23243)
1 year ago
1.6 KB
for_in_with_reserved_type_names.out
checker: check for reserved type names in `for in` (fix #14072) (#14212)
4 years ago
491 bytes
for_loop_range_inclusive_err.out
parser: add a better error msg for using `...`, instead of `..` in `for a in 1...10 {` (#16547)
3 years ago
217 bytes
for_mut_compare_rune_string_err.vv
checker: match type when auto deref occurs (fix #25913) (#25916)
last Dec 7
96 bytes
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
function_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
70 bytes
generic_array_init_err.vv
checker, cgen: fix generic container init (fix #23910) (#23912)
1 year ago
88 bytes
generic_closure_fn_decl_err_a.vv
checker: fix a bug checking generic closures (#18489)
3 years ago
193 bytes
generic_closure_fn_decl_err_b.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
299 bytes
generic_eq_wrong_type.err.vv
checker: fix generic infix expr type mismatch error (#18706)
3 years ago
389 bytes
generic_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_interface_callback_arg_err.vv
checker: cgen: passing interface to generic function result in C error. (fixes #18320)
last Apr 14
331 bytes
generic_interface_method_decl_err.out
checker: cleanup the generic tests (#20553)
2 years ago
238 bytes
generic_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.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.vv
tests: run `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_callback_wrapped_arg_err.vv
checker: fix checker checks wrapped generic type while cgen uses incorrect type (fixes #20664)
last Apr 21
150 bytes
generics_fn_called_fntype_arg_mismatch.out
all: replace generic '<>' with '[]' in .vv files (#16593)
3 years ago
460 bytes
generics_fn_called_fntype_arg_mismatch.vv
parser: check generic fntype declaration without type name (#18033)
3 years ago
591 bytes
generics_fn_called_multi_args_mismatch.vv
all: replace generic `<>` with `[]` - part 2 (#16536)
3 years ago
178 bytes
generics_fn_called_no_arg_err.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
163 bytes
generics_fn_called_outside_of_generic_fn.vv
all: replace generic '<>' with '[]' in .vv files (#16593)
3 years ago
40 bytes
generics_fn_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_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.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.vv
all: replace generic '<>' with '[]' in .vv files (#16593)
3 years ago
240 bytes
generics_struct_decl_no_mention_err.vv
all: replace generic `<>` with `[]` - part 2 (#16536)
3 years ago
73 bytes
generics_struct_declaration_err.vv
all: replace generic `<>` with `[]` - part 2 (#16536)
3 years ago
314 bytes
generics_struct_field_fn_args_err.vv
checker: cleanup the generic tests (#20553)
2 years ago
472 bytes
generics_struct_field_type_err.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
123 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.out
checker: allow `EnumName(number)` casts only inside `unsafe{}` blocks (#15932)
3 years ago
224 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.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_args.out
checker: make the misssing shared/mut modifer in fn and method calls error clearer
4 years ago
1.13 KB
generics_struct_init_type_parameter_err.out
checker: cleanup the generic tests (#20553)
2 years ago
647 bytes
generics_struct_init_with_inconsistent_generic_types_3_err.out
all: super batch 2 fixes
last Apr 4
n/a
generics_struct_nokeys_init_err.vv
checker: check generic struct no_keys init (fix #17061) (#17067)
3 years ago
153 bytes
generics_struct_type_mismatch_err.vv
all: replace generic '<>' with '[]' in .vv files (#16593)
3 years ago
120 bytes
generics_too_many_parameters.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
82 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.vv
all: replace generic `<>` with `[]` - part 2 (#16536)
3 years ago
138 bytes
generics_undefined_operation_2.vv
all: fix add checker error when non-explicitly downcasting integers internally (fixes #23695)
last Apr 23
545 bytes
global_const_call_init_err.vv
all: fix Ability to export a global symbol as a true (C-level) constant (fixes #20831)
last Apr 23
133 bytes
globals_error.run.out
compiler: restore support for --enable-globals flag, and add tests.
6 years ago
9 bytes
go_expr.out
checker: replace the `go` keyword in error messages with `spawn` (#16960)
3 years ago
160 bytes
go_mut_arg.out
checker: replace the `go` keyword in error messages with `spawn` (#16960)
3 years ago
234 bytes
go_mut_receiver.out
checker: replace the `go` keyword in error messages with `spawn` (#16960)
3 years ago
218 bytes
goto_label.vv
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
441 bytes
hash_flag_backticks_err.vv
checker: builder error "This should never happen" (fixes #12434)
last Mar 11
64 bytes
hex_lit_wrong_digit_err.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
197 bytes
hex_literal_overflow.out
scanner, cgen: improve support for escape codes in backticks/runes (#13127)
4 years ago
n/a
identifier_name_starts_with_number_err.out
scanner: fix wrong error message when identifier name starts with a number (fixes #14560)
last Apr 14
220 bytes
ierror_in_return_tuple.out
checker, cgen, parser: fix Option/Result error messages (capitalized) (#17486)
3 years ago
281 bytes
if_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_no_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
36 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_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_field_shift.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
192 bytes
immutable_array_in_if_expr_index.out
checker,transformer: add always true/false branch detection for the `if` and `match` constructs (#25674)
last Nov 9
960 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_field_postfix.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
396 bytes
immutable_interface_field.vv
checker: add mutability checks for interface fields; add tests (#8312)
5 years ago
153 bytes
immutable_pointer_selector_field_err.vv
checker: fix Modifying an immutable pointer indirectly is allowed (fixes #12899)
last Apr 23
251 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.vv
checker: fix immutability of variable may be broken (fixes #17135)
last Mar 25
615 bytes
immutable_var.vv
all: improve unused variable warning (fix `x = 1`, `x += 1` etc)
5 years ago
36 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.vv
checker: disallow import names and import aliases, shadowing the module name (#18431)
3 years ago
64 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.vv
checker: disallow import names and import aliases, shadowing the module name (#18431)
3 years ago
61 bytes
import_multiple_modules_err.out
time: update unix time acces, fix issues related to deviating unix times (#21293)
2 years ago
215 bytes
import_not_found_err.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
55 bytes
import_not_same_line_err.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
198 bytes
import_symbol_fn_err.out
v.parser: improve the unused import warning message (add fixing alternatives) (#25880)
last Dec 3
693 bytes
import_symbol_invalid.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
175 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_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_name_alias_type.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
161 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.out
tests: improve the incorrect_name_sum_type.vv and its .out file (#19890)
2 years ago
673 bytes
incorrect_name_variable.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
192 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_invalid_call.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
208 bytes
index_operator_assignment_without_setter_err.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.out
checker: add missing check for duplicated items on in expr (fix #22305) (#22308)
1 year ago
414 bytes
infix_err.out
checker: report unwrapped option in infix arithmetic (fix #27082) (#27225)
last May 24
4.67 KB
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
inner_functions_call_before_define.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
391 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_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_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_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
js_with_non_js_backend_too_many_arguments.out
cgen: check call argument on methods (#12965)
4 years ago
227 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_invalid.out
parser, checker: check invalid lambda expr (#20461)
2 years ago
308 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)
6 years ago
121 bytes
lock_already_rlocked.vv
checker, cgen: checks for shared/lock, first autolock (#5815)
6 years ago
121 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)
6 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_func_void_return_err.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
85 bytes
map_index_or_block_type_mismatch_err.vv
checker: fix checking got 'none' from or_block of map index (fix #20390) (#20394)
2 years ago
138 bytes
map_init_invalid_syntax.out
checker: add an error for `x.method({})` calls, when method expects a struct
4 years ago
425 bytes
map_init_invalid_update.out
v: add map update-init syntax: `new_map := {...old_map, 'k1': 1, 'k2': 5}` (#20561)
2 years ago
494 bytes
map_init_key_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
114 bytes
map_init_wrong_expected_type.vv
v: add map update-init syntax: `new_map := {...old_map, 'k1': 1, 'k2': 5}` (#20561)
2 years ago
646 bytes
map_init_wrong_type.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
143 bytes
map_init_wrong_update_type.vv
v: add map update-init syntax: `new_map := {...old_map, 'k1': 1, 'k2': 5}` (#20561)
2 years ago
314 bytes
map_key_val_or_not_progagate_err.vv
checker: check for unwrapped results in map keys and vals (fix #22521) (#22525)
1 year ago
108 bytes
map_lambda_void_return_err.vv
checker: disallow void return value lambdas in array.map method calls (#21011)
2 years ago
47 bytes
map_ops.out
checker: Compiler accepts &int as a key for map[int]int (fixes #23069)
last Apr 14
1.87 KB
map_ops.vv
checker: Compiler accepts &int as a key for map[int]int (fixes #23069)
last Apr 14
152 bytes
map_option_key_err.vv
checker: C error: cannot convert 'struct _option_string' to 'unsigned char *' (fixes #26347)
last Mar 11
143 bytes
map_repeated_float_key_err.vv
checker: fix missing map float key duplicated checking (fix #25098) (#25117)
last Aug 16
126 bytes
map_result_callback_fn_type_err.out
checker: Error handling, compile error (fixes #20980)
last Apr 14
796 bytes
map_result_callback_fn_type_err.vv
checker: Error handling, compile error (fixes #20980)
last Apr 14
210 bytes
map_unknown_value.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
47 bytes
map_with_none_err.out
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
1013 bytes
map_with_result_value_err.out
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
707 bytes
match_branch_call_expr_arg_mismatch.out
checker: fix mut smartcasts not working correctly (fixes #17440)
last Apr 15
n/a
match_cast_cond_not_same_range_cast_type_err.out
checker: add a deprecation warning for `const ()` groups (an error after 2025-01-01) (#22019)
1 year ago
345 bytes
match_cond_with_parenthesis_err.out
checker: warn instead of error, for unnecessary brackets on if/match (#18117)
3 years ago
985 bytes
match_duplicate_branch.vv
tests: run `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_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_missing.vv
parser, checker: move more match validation from the parser into the checker, add error for match without branches (#21181)
2 years ago
84 bytes
match_mut_with_immutable_var_err.vv
checker: fix tests (adjust byte to u8 in .out files too)
4 years ago
109 bytes
match_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_ranges_not_same_cast_err.out
checker: add a deprecation warning for `const ()` groups (an error after 2025-01-01) (#22019)
1 year ago
336 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_no_mut_err.out
checker: improve error message of method_call_arg_no_mut_err.vv (#15281)
4 years ago
267 bytes
method_call_on_undefined_err.out
checker:fix compiler panic on wrong arg count with or block (#26665)
last Feb 28
2.31 KB
method_generic_infer_err.vv
all: replace generic '<>' with '[]' in .vv files (#16593)
3 years ago
100 bytes
method_ptr_used_as_argument_err.out
checker: ensure fn pointer cannot be used as non-fn argument (fix #26017) (#26022)
last Dec 19
596 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
mismatched_ptr_op_ptr.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
752 bytes
missing_c_lib_header_1.out
cgen: produce cleaner error on missing C headers (with optional explanation) (#6637)
5 years ago
149 bytes
missing_concrete_type_err.out
checker: fix missing concrete type checking on a generic type specifier (#21614)
2 years ago
190 bytes
missing_export_attr_arg_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
192 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_const_err.out
checker: turn warning for var and param module name duplicates into error (#19645)
2 years ago
390 bytes
mod_name_duplicate_param_err.out
checker: turn warning for var and param module name duplicates into error (#19645)
2 years ago
428 bytes
mod_name_duplicate_var_err.out
checker: turn warning for var and param module name duplicates into error (#19645)
2 years ago
407 bytes
mod_op_wrong_type_err.out
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
3.81 KB
module_not_at_same_line_err.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
202 bytes
module_selector_decl_assign_err.out
checker: fix local variable with module before should give a compiler error (fixes #10658)
last Feb 26
230 bytes
mul_op_wrong_type_err.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
294 bytes
multi_const_field_name_duplicate_err.vv
checker: add a deprecation warning for `const ()` groups (an error after 2025-01-01) (#22019)
1 year ago
57 bytes
multi_return_option_element_mismatch_err.out
checker: reject multi-return elements that disagree on option-ness (fix #27562) (#27565)
last Jun 26
1.21 KB
multi_return_option_result_return_expr_err.out
checker: reject multi-return elements that disagree on option-ness (fix #27562) (#27565)
last Jun 26
1008 bytes
multi_return_pointer_number_return_expr_err.out
checker: fix return if fn multi-return (#27347)
last Jun 5
823 bytes
multi_return_pointer_number_return_expr_err.vv
checker: fix return if fn multi-return (#27347)
last Jun 5
277 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.out
checker: add check for mixing multi-return results with other types in return statements (fix #17501) (#18067)
3 years ago
218 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.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
391 bytes
no_arrays_of_references_in_translated.out
parser,checker: silence more warnings for `@[translated]` files (#20964)
2 years ago
n/a
no_arrays_of_references_in_translated.vv
parser,checker: silence more warnings for `@[translated]` files (#20964)
2 years ago
147 bytes
no_cannot_cast_a_fixed_array_in_translated.out
parser,checker: silence more warnings for `@[translated]` files (#20964)
2 years ago
n/a
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_c.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
92 bytes
no_main_println_err.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
10 bytes
no_method_must_be_called_from_unsafe_in_translated.vv
parser,checker: silence more warnings for `@[translated]` files (#20964)
2 years ago
101 bytes
no_method_on_interface_propagation.vv
checker, cgen: add sumtype-like smartcasting capabilites to interfaces (#9256)
5 years ago
269 bytes
no_operator_can_only_be_used_as_a_statement_in_translated.vv
parser,checker: silence more warnings for `@[translated]` files (#20964)
2 years ago
152 bytes
no_reading_a_union_field_in_translated.out
parser,checker: silence more warnings for `@[translated]` files (#20964)
2 years ago
n/a
no_sign_notice_in_translated.out
checker: remove notice when shifting signed int for `@[translated]` (#20935)
2 years ago
n/a
no_uninitialized_fn_struct_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
112 bytes
no_unused_variable_in_translated.out
parser,checker: silence more warnings for `@[translated]` files (#20964)
2 years ago
n/a
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)
5 years ago
82 bytes
non_nil_array_with_nil_element_err.out
checker: disallow nil in non-nil arrays and vice versa (#21786)
2 years ago
529 bytes
non_optional_array_append_optional_type_err.out
checker: disallow `non_opt_array << optvalue` (#20573)
2 years ago
600 bytes
none_match_cond_err.out
checker,transformer: add always true/false branch detection for the `if` and `match` constructs (#25674)
last Nov 9
339 bytes
noreturn_with_non_empty_loop_at_end.vv
all: update attributes to use new syntax
2 years ago
173 bytes
noreturn_without_loop_or_another_noreturn_at_end.vv
all: update attributes to use new syntax
2 years ago
155 bytes
number_literal_overflows_known_type_range_warn.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
oct_lit_wrong_digit_err.out
tests: use .vv files directly in compiler_errors_test.v
5 years ago
189 bytes
operator_overloading_primitive_alias_return_type_err.out
all: super batch 2 fixes
last Apr 4
1.08 KB
operator_overloading_primitive_alias_return_type_err.vv
checker: fix arithmetic operator overloading result type (fixes #23194)
last Mar 25
150 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_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_or_block_returns_value_of_incompatible_type.vv
checker: check option fn returning error (fix #17423) (#17438)
3 years ago
292 bytes
option_propagate_nested.vv
checker: check option fn returning error (fix #17423) (#17438)
3 years ago
331 bytes
option_ptr_without_unwrapp_err.vv
v: add selector option unwrapping inside `if tree.root != none {` (#22895)
1 year ago
176 bytes
option_receive_ptr_err.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
325 bytes
option_ref_init_err.vv
ci: fix vlib/v/checker/tests/option_ref_init_err.vv/.out after e736eca
2 years ago
212 bytes
option_return_call_non_opt_err.vv
checker: fix or-block expected type checking (#17469)
3 years ago
197 bytes
option_return_selector_non_opt_err.out
checker: fix or-block expected type checking (#17469)
3 years ago
274 bytes
option_selector_fn_unwrap_err.vv
checker,cgen: fix missing validation for selector unwrapping + fix default `return none` for unwrapping (#23183)
1 year ago
155 bytes
option_selector_ierror_in_or_block_err.vv
checker: fix missing compile time error for option selector in or block (fixes #17761)
last Apr 15
245 bytes
option_selector_or_block_err.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
223 bytes
option_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.out
checker: fix missing check for wrong assignment: non-option to option type (#17628)
3 years ago
317 bytes
option_var_unwrap_err.vv
cgen, check, parser: implement first-class option type (#17017)
3 years ago
91 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_non_option_err.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
33 bytes
or_block_selector_cast_wrong_default_type_err.vv
checker: validate or-block defaults before outer casts (#27059)
last May 2
108 bytes
or_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_invalid_recursive_structs_err_1.out
orm: fix checking invalid recursive structs in sql stmts (fix #20278) (#20505)
2 years ago
284 bytes
orm_invalid_recursive_structs_err_1.vv
tests: run `v fmt -w` over *.vv, when the semantics are the same; unify style; discover fmt bugs, to be filed separately (#22241)
1 year ago
385 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_unused_var.vv
orm: fix mark as used var on insert statement (fix #23032) (#23038)
1 year ago
220 bytes
orm_update_anon_fn_option_infix_err.vv
orm: fix C compilation error (fixes #26224)
last Feb 26
359 bytes
orm_using_non_struct_field_in_order_by_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
247 bytes
orm_using_undefined_var_in_where_err.out
orm: enforce that queries always return a Result, a query-resulting array can be used as a V array in place. (#17871)
3 years ago
271 bytes
orm_using_undefined_var_in_where_err.vv
all: update attributes to use new syntax
2 years ago
385 bytes
orm_where_clause_unsupported_field_types_err.vv
all: update attributes to use new syntax
2 years ago
380 bytes
orm_wrong_where_expr_error.out
orm: add null handling and option fields (#19379)
2 years ago
286 bytes
os_file_raw_io_unsupported_type_err.vv
checker: SIGSEGV termination with os write_struct() and read_struct() when in separate v files (fixes #11285)
last Mar 11
400 bytes