v/vlib/v/checker/tests
yuyi f4586b1577
parser: make sure interface field names use uppercase letters (#14228)
2022-04-30 16:26:27 +02:00
..
amod checker: show available sumtype variants in match branches on typos 2022-03-18 11:50:28 +02:00
comptime_env v.scanner: fix position of hash statements (#9222) 2021-03-10 20:23:17 +02:00
globals checker: check redefine global 'main' function (#13803) 2022-03-22 17:39:12 +02:00
globals_run checker: bugfix for `__global ( cpu_get_id fn () u64 ) ... cpu_get_id()` 2021-06-26 01:23:50 +03:00
modules all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
returns
run parser: handle `[noreturn]` on methods too 2021-12-22 19:58:37 +02:00
templates checker: remove vweb unused vars (#8180) 2021-01-21 11:09:19 +01:00
.gitattributes
.gitignore
a_test_file_with_0_test_fns_test.out all: support _test.vv files (to test _test.v errors/checks too) 2021-01-30 10:42:18 +02:00
a_test_file_with_0_test_fns_test.vv all: support _test.vv files (to test _test.v errors/checks too) 2021-01-30 10:42:18 +02:00
add_op_wrong_type_err.out checker: improve error position of infix expr (#8828) 2021-02-19 12:38:41 +02:00
add_op_wrong_type_err.vv
alias_array_unknown_op_overloading_err.out cgen: fix operator overloading for array/map aliases (#9529) 2021-03-30 11:39:54 +02:00
alias_array_unknown_op_overloading_err.vv cgen: fix operator overloading for array/map aliases (#9529) 2021-03-30 11:39:54 +02:00
alias_map_unknown_op_overloading_err.out cgen: fix operator overloading for array/map aliases (#9529) 2021-03-30 11:39:54 +02:00
alias_map_unknown_op_overloading_err.vv vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
alias_type_exists.out checker: fix position of unknown type errors (#10110) 2021-05-16 04:51:23 +03:00
alias_type_exists.vv checker: fix position of unknown type errors (#10110) 2021-05-16 04:51:23 +03:00
ambiguous_field_method_err.out
ambiguous_field_method_err.vv
ambiguous_function_call.out checker: merge ambiguous_function_call tests (#8388) 2021-01-28 15:53:54 +02:00
ambiguous_function_call.vv checker: merge ambiguous_function_call tests (#8388) 2021-01-28 15:53:54 +02:00
anon_fn_arg_type_err.out checker: fix unrecognised empty argument names in anon fn's (#13176) 2022-01-15 08:23:30 +02:00
anon_fn_arg_type_err.vv parser: check error of anon fn argument type (#13103) 2022-01-09 16:15:34 +02:00
any_int_float_ban_err.out checker: fix position of unknown type errors (#10110) 2021-05-16 04:51:23 +03:00
any_int_float_ban_err.vv builtin: rename `any_*` -> `*_literal` - 2. part (#8032) 2021-01-11 22:58:15 +01:00
append_err.out checker: disallow array append in an expression (#9265) 2021-03-12 16:09:01 +01:00
append_err.vv checker: disallow array append in an expression (#9265) 2021-03-12 16:09:01 +01:00
array_append_array_type_mismatch_err.out checker: fix tests (adjust byte to u8 in .out files too) 2022-04-17 12:14:30 +02:00
array_append_array_type_mismatch_err.vv tests: use u8 everywhere 2022-04-17 12:14:29 +02:00
array_builtin_method_args_err.out checker: check array builtin method's arguments (#14119) 2022-04-25 19:07:26 +02:00
array_builtin_method_args_err.vv checker: check array builtin method's arguments (#14119) 2022-04-25 19:07:26 +02:00
array_builtin_redefinition.out checker: allow `map` method name (#7834) 2021-01-03 16:57:29 +01:00
array_builtin_redefinition.vv checker: allow `map` method name (#7834) 2021-01-03 16:57:29 +01:00
array_cmp_err.out
array_cmp_err.vv
array_contains_args_err.out checker: simplify checking array.contains() argument (#14133) 2022-04-25 19:07:28 +02:00
array_contains_args_err.vv checker: check error for arguments of array.contains() (#14102) 2022-04-21 10:34:33 +02:00
array_declare_element_a.out
array_declare_element_a.vv
array_declare_element_b.out
array_declare_element_b.vv
array_declare_element_c.out
array_declare_element_c.vv
array_element_type.out
array_element_type.vv
array_fancy_sort_err.out checker: disallow array sort with fancy args for now (#11388) 2021-09-04 14:34:29 +03:00
array_fancy_sort_err.vv checker: disallow array sort with fancy args for now (#11388) 2021-09-04 14:34:29 +03:00
array_filter_fn_err.out checker: merge array_filter_fn_err tests (#8506) 2021-02-03 11:27:11 +02:00
array_filter_fn_err.vv checker: merge array_filter_fn_err tests (#8506) 2021-02-03 11:27:11 +02:00
array_index.out checker: check fixed array index when it's a literal (#8831) 2021-02-20 20:18:47 +02:00
array_index.vv checker: check fixed array index when it's a literal (#8831) 2021-02-20 20:18:47 +02:00
array_index_args_err.out checker: check error for array.index() argument (#14147) 2022-04-25 19:07:31 +02:00
array_index_args_err.vv checker: check error for array.index() argument (#14147) 2022-04-25 19:07:31 +02:00
array_init_sum_type_without_init_value_and_len_err.out checker: disallow `x := [13]SumType{}` too 2021-03-10 11:07:36 +02:00
array_init_sum_type_without_init_value_and_len_err.vv checker: disallow `x := [13]SumType{}` too 2021-03-10 11:07:36 +02:00
array_init_with_void_value_err.out checker: check array init with a void type value (#13106) 2022-01-09 16:53:37 +02:00
array_init_with_void_value_err.vv checker: check array init with a void type value (#13106) 2022-01-09 16:53:37 +02:00
array_insert_prepend_args_err.out checker: check array insert/prepend arguments (#11295) 2021-08-24 20:28:05 +03:00
array_insert_prepend_args_err.vv checker: check array insert/prepend arguments (#11295) 2021-08-24 20:28:05 +03:00
array_insert_type_mismatch.out types: rename `any_*`, `untyped *` -> `* literal` (#7845) 2021-01-04 00:11:09 +02:00
array_insert_type_mismatch.vv
array_literal_modify_err.out checker: disallow array append in an expression (#9265) 2021-03-12 16:09:01 +01:00
array_literal_modify_err.vv checker: check array literal modify error (#9243) 2021-03-11 14:57:04 +02:00
array_map_arg_mismatch.out checker: improve errors for `return` count mismatch (#8686) 2021-02-12 01:47:11 +02:00
array_map_arg_mismatch.vv checker: allow `map` method name (#7834) 2021-01-03 16:57:29 +01:00
array_map_fn_err.out checker: merge array_map_fn_err tests (#8507) 2021-02-03 11:26:26 +02:00
array_map_fn_err.vv checker: merge array_map_fn_err tests (#8507) 2021-02-03 11:26:26 +02:00
array_map_void_fn_err.out v.checker: fix `a.map(voidfn(it))` (#10985) 2021-07-29 11:43:56 +03:00
array_map_void_fn_err.vv v.checker: fix `a.map(voidfn(it))` (#10985) 2021-07-29 11:43:56 +03:00
array_of_generic_struct_init_err.out checker: check error for array of generic struct init (#13987) 2022-04-09 21:50:34 +03:00
array_of_generic_struct_init_err.vv checker: check error for array of generic struct init (#13987) 2022-04-09 21:50:34 +03:00
array_of_interfaces_with_len_without_init.out checker: check for `x := []Interface{len: 9}` without `init:` 2021-07-02 08:37:49 +03:00
array_of_interfaces_with_len_without_init.vv checker: check for `x := []Interface{len: 9}` without `init:` 2021-07-02 08:37:49 +03:00
array_of_sumtype_append_err.out checker: check error for array of sumtype appendding (#13593) 2022-02-24 11:07:03 +02:00
array_of_sumtype_append_err.vv checker: check error for array of sumtype appendding (#13593) 2022-02-24 11:07:03 +02:00
array_or_map_assign_err.out vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
array_or_map_assign_err.vv vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
array_pop_immutable_err.out checker: check array pop immutable (#12458) 2021-11-14 21:00:22 +02:00
array_pop_immutable_err.vv checker: check array pop immutable (#12458) 2021-11-14 21:00:22 +02:00
array_prepend_type_mismatch.out types: rename `any_*`, `untyped *` -> `* literal` (#7845) 2021-01-04 00:11:09 +02:00
array_prepend_type_mismatch.vv
array_sort_err.out checker: check array.sort(a < b) (#9321) 2021-03-17 01:42:51 +01:00
array_sort_err.vv checker: check array.sort(a < b) (#9321) 2021-03-17 01:42:51 +01:00
array_sort_struct_no_body_err.out checker: require .sort() body for some types (#10550) 2021-06-27 17:17:03 +03:00
array_sort_struct_no_body_err.vv checker: require .sort() body for some types (#10550) 2021-06-27 17:17:03 +03:00
array_sort_with_compare_err.out checker: check array sort_with_compare callback function parameters (#13511) 2022-02-19 10:06:36 +02:00
array_sort_with_compare_err.vv builtin: check array.sort_with_compare() arg mismatch (#11385) 2021-09-04 15:02:05 +03:00
array_sort_with_compare_ref_elem_err.out checker: check array sort_with_compare callback function parameters (#13511) 2022-02-19 10:06:36 +02:00
array_sort_with_compare_ref_elem_err.vv checker: check array sort_with_compare callback function parameters (#13511) 2022-02-19 10:06:36 +02:00
arrow_op_wrong_left_type_err_a.out
arrow_op_wrong_left_type_err_a.vv
arrow_op_wrong_left_type_err_b.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
arrow_op_wrong_left_type_err_b.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
arrow_op_wrong_right_type_err_a.out
arrow_op_wrong_right_type_err_a.vv
arrow_op_wrong_right_type_err_b.out
arrow_op_wrong_right_type_err_b.vv
asm_immutable_err.out all: reimplement inline assembly (#8645) 2021-03-17 01:43:17 +01:00
asm_immutable_err.vv all: reimplement inline assembly (#8645) 2021-03-17 01:43:17 +01:00
assert_optional_err.out parser, checker: check assert optional (#10319) 2021-06-02 20:38:26 +03:00
assert_optional_err.vv parser, checker: check assert optional (#10319) 2021-06-02 20:38:26 +03:00
assign_array_init_with_no_type.out checker: check assigning array_init with no type (#10757) 2021-07-11 18:52:01 +03:00
assign_array_init_with_no_type.vv checker: check assigning array_init with no type (#10757) 2021-07-11 18:52:01 +03:00
assign_deref_fn_call_on_left_side_err.out checker: do not allow dereferencing function calls on the left side of an = 2021-06-11 16:07:41 +03:00
assign_deref_fn_call_on_left_side_err.vv checker: do not allow dereferencing function calls on the left side of an = 2021-06-11 16:07:41 +03:00
assign_expr_channel_push.out ci: fix failing assign_expr_channel_push.out 2021-10-27 22:54:41 +03:00
assign_expr_channel_push.vv checker: disallow `<-` (channel push) on right-hand side of assignment (fix #12309) (#12321) 2021-10-27 17:53:50 +03:00
assign_expr_type_err_a.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_type_err_a.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_type_err_b.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_type_err_b.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_type_err_c.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_type_err_c.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_type_err_d.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_type_err_d.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_type_err_e.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_type_err_e.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_type_err_f.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_type_err_f.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_type_err_g.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_type_err_g.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_type_err_h.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_type_err_h.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_type_err_i.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_type_err_i.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_undefined_err_a.out
assign_expr_undefined_err_a.vv
assign_expr_undefined_err_b.out
assign_expr_undefined_err_b.vv
assign_expr_undefined_err_c.out
assign_expr_undefined_err_c.vv
assign_expr_undefined_err_d.out
assign_expr_undefined_err_d.vv
assign_expr_undefined_err_e.out
assign_expr_undefined_err_e.vv
assign_expr_undefined_err_f.out
assign_expr_undefined_err_f.vv
assign_expr_undefined_err_g.out parser: check assign_stmt of undefined variable (#8366) 2021-01-27 13:52:10 +01:00
assign_expr_undefined_err_g.vv parser: check assign_stmt of undefined variable (#8366) 2021-01-27 13:52:10 +01:00
assign_expr_undefined_err_h.out parser: make `v := f(v)' an undefined variable error (#8634) 2021-02-08 16:55:01 +02:00
assign_expr_undefined_err_h.vv parser: make `v := f(v)' an undefined variable error (#8634) 2021-02-08 16:55:01 +02:00
assign_expr_undefined_err_i.out parser: check undefined variables in array inits (#10746) 2021-07-11 03:49:07 +03:00
assign_expr_undefined_err_i.vv parser: check undefined variables in array inits (#10746) 2021-07-11 03:49:07 +03:00
assign_expr_undefined_err_j.out parser: check undefined variables in assign_stmt (#10755) 2021-07-11 19:09:35 +03:00
assign_expr_undefined_err_j.vv parser: check undefined variables in assign_stmt (#10755) 2021-07-11 19:09:35 +03:00
assign_expr_undefined_err_k.out vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
assign_expr_undefined_err_k.vv vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
assign_expr_undefined_err_l.out parser: check assign expr with undefined variables of struct_init (#13495) 2022-02-17 10:21:03 +03:00
assign_expr_undefined_err_l.vv parser: check assign expr with undefined variables of struct_init (#13495) 2022-02-17 10:21:03 +03:00
assign_expr_undefined_err_m.out parser: check assign expr with undefined variable (#13653) 2022-03-04 10:33:14 +02:00
assign_expr_undefined_err_m.vv parser: check assign expr with undefined variable (#13653) 2022-03-04 10:33:14 +02:00
assign_expr_undefined_err_n.out parser: check assign expr with undefined variable (#13653) 2022-03-04 10:33:14 +02:00
assign_expr_undefined_err_n.vv parser: check assign expr with undefined variable (#13653) 2022-03-04 10:33:14 +02:00
assign_expr_unresolved_variables_err_chain.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_unresolved_variables_err_chain.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_fn_call_on_left_side_err.out
assign_fn_call_on_left_side_err.vv
assign_multi_immutable_err.out
assign_multi_immutable_err.vv
assign_multi_mismatch.out checker: fix #9330 (#9342) 2021-03-17 20:57:14 +02:00
assign_multi_mismatch.vv checker: deny multi-value in a singe-value context (#8328) 2021-01-27 23:10:51 +02:00
assign_mut.out
assign_mut.vv
assign_sumtype2_err.out
assign_sumtype2_err.vv
assign_sumtype_err.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_sumtype_err.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_to_typeless_variable_err.out checker: add an error for `x.method({})` calls, when method expects a struct 2021-11-19 13:30:45 +02:00
assign_to_typeless_variable_err.vv checker: protect against assigning to a typeless variable (#11094) 2021-08-07 18:09:07 +03:00
assign_var_redefinition_err.out parser: check variable redefinition error (#12992) 2021-12-29 13:44:08 +02:00
assign_var_redefinition_err.vv parser: check variable redefinition error (#12992) 2021-12-29 13:44:08 +02:00
assing_none.out checker: add error for assigning `none` values (#13383) 2022-02-06 16:08:23 +02:00
assing_none.vv checker: add error for assigning `none` values (#13383) 2022-02-06 16:08:23 +02:00
bad_types_in_string_inter_lit.out checker: prohibit illegal types in string interpolation literals (#10705) 2021-07-10 00:00:12 +03:00
bad_types_in_string_inter_lit.vv checker: prohibit illegal types in string interpolation literals (#10705) 2021-07-10 00:00:12 +03:00
bin_lit_without_digit_err.out
bin_lit_without_digit_err.vv
bin_lit_wrong_digit_err.out
bin_lit_wrong_digit_err.vv
bit_op_wrong_left_type_err.out types: rename `any_*`, `untyped *` -> `* literal` (#7845) 2021-01-04 00:11:09 +02:00
bit_op_wrong_left_type_err.vv
bit_op_wrong_right_type_err.out types: rename `any_*`, `untyped *` -> `* literal` (#7845) 2021-01-04 00:11:09 +02:00
bit_op_wrong_right_type_err.vv
blank_ident_invalid_use.out
blank_ident_invalid_use.vv
blank_modify.out
blank_modify.vv
bool_string_cast_err.out all: fix casting of `string(MyString('abc'))` and `byte(MyByte(123))`; improve TypeSymbol handling (#12617) 2021-12-01 09:50:53 +02:00
bool_string_cast_err.vv
break_anon_fn_err.out checker: fix break inside anon fn (#10914) 2021-07-23 01:13:36 +03:00
break_anon_fn_err.vv checker: fix break inside anon fn (#10914) 2021-07-23 01:13:36 +03:00
c_fn_surplus_args.out checker: define missing C fn args & check C & JS args (#8770) 2021-03-05 17:41:11 +03:00
c_fn_surplus_args.vv tests: use u8 everywhere 2022-04-17 12:14:29 +02:00
cannot_assign_array.out all: change fixed array init from `[1,2,3]!!` to `[1,2,3]!` (#8068) 2021-01-13 03:28:53 +01:00
cannot_assign_array.vv all: change fixed array init from `[1,2,3]!!` to `[1,2,3]!` (#8068) 2021-01-13 03:28:53 +01:00
cannot_cast_to_alias.out checker: stricter type casting error messages 2022-02-03 14:18:30 +02:00
cannot_cast_to_alias.vv
cannot_cast_to_struct.out checker: allow `Struct{...expr}` where `expr` is another struct type (#8495) 2021-02-01 20:08:25 +01:00
cannot_cast_to_struct.vv
cast_err.out checker: add a check for casting to an unknown type (#8968) 2021-02-26 08:26:36 +02:00
cast_err.vv checker: add a check for casting to an unknown type (#8968) 2021-02-26 08:26:36 +02:00
cast_string_err.out checker: fix tests (adjust byte to u8 in .out files too) 2022-04-17 12:14:30 +02:00
cast_string_err.vv tests: use u8 everywhere 2022-04-17 12:14:29 +02:00
cast_string_to_int_err.out checker: check string cast to number (fix #12982) (#12983) 2021-12-28 07:55:39 +02:00
cast_string_to_int_err.vv checker: check string cast to number (fix #12982) (#12983) 2021-12-28 07:55:39 +02:00
cast_string_to_rune_err.out checker: fix c error on improper string to rune cast (#13197) (#13257) 2022-01-24 12:13:22 +02:00
cast_string_to_rune_err.vv checker: fix c error on improper string to rune cast (#13197) (#13257) 2022-01-24 12:13:22 +02:00
cast_string_with_byte_err.out checker: fix tests (adjust byte to u8 in .out files too) 2022-04-17 12:14:30 +02:00
cast_string_with_byte_err.vv
cast_to_byte_err.out checker: fix tests (adjust byte to u8 in .out files too) 2022-04-17 12:14:30 +02:00
cast_to_byte_err.vv checker: fix tests (adjust byte to u8 in .out files too) 2022-04-17 12:14:30 +02:00
cast_void.out checker: casted => cast 2021-07-08 05:11:12 +03:00
cast_void.vv checker: prohibit casting `void` (#10690) 2021-07-07 21:59:58 +03:00
chan_args.out checker: make the misssing shared/mut modifer in fn and method calls error clearer 2022-03-30 01:45:40 +03:00
chan_args.vv checker: check argument for `chan.try_push/pop()` (#9798) 2021-04-19 11:41:21 +03:00
chan_mut.out
chan_mut.vv
chan_ref.out ci: fix tests output files after 7f5c3cc 2021-04-25 09:31:12 +03:00
chan_ref.vv sync: don't force `Mutex` and `Semaphore` to be reference (#8331) 2021-01-29 20:52:14 +02:00
char_str.out checker: prohibit `char.str()`, add tests (#10615) 2021-06-30 08:16:31 +03:00
char_str.vv checker: prohibit `char.str()`, add tests (#10615) 2021-06-30 08:16:31 +03:00
check_err_msg_with_generics.out datatypes: fix bst child access, when .root is 0 (#14080) 2022-04-21 10:34:34 +02:00
check_err_msg_with_generics.vv ast: fix reported errors, when arrays of types defined in modules are involved (#13952) 2022-04-08 17:38:34 +03:00
closure_immutable.out all: initial support for closures (x64 / linux-only) (#11114) 2021-08-10 21:27:15 +03:00
closure_immutable.vv all: initial support for closures (x64 / linux-only) (#11114) 2021-08-10 21:27:15 +03:00
cmp_between_struct.out checker: make sure that the operator check is made on the concrete type (#13360) 2022-02-05 00:11:24 +02:00
cmp_between_struct.vv checker: make sure that the operator check is made on the concrete type (#13360) 2022-02-05 00:11:24 +02:00
compare_unsigned_signed.out checker: error if smaller signed == unsigned (#14078) 2022-04-25 19:07:30 +02:00
compare_unsigned_signed.vv checker: error if smaller signed == unsigned (#14078) 2022-04-25 19:07:30 +02:00
comparing_typesymbol_to_a_type_should_not_compile.out all: a massive merge of ast and table modules 2021-04-02 01:57:09 +03:00
comparing_typesymbol_to_a_type_should_not_compile.vv ast: rename 'table.get_type_symbol()' to 'table.sym()' and more related calls (#12898) 2021-12-19 18:25:18 +02:00
comptime_call_method.out ast, cgen, checker, parser: support method arguments in comptime $for (#9208) 2021-03-11 15:04:34 +02:00
comptime_call_method.vv ast, cgen, checker, parser: support method arguments in comptime $for (#9208) 2021-03-11 15:04:34 +02:00
comptime_call_method_args_err.out cgen: check error for comptime call method argument (#13115) 2022-01-10 12:03:50 +02:00
comptime_call_method_args_err.vv cgen: check error for comptime call method argument (#13115) 2022-01-10 12:03:50 +02:00
comptime_call_no_unused_var.out tests: fix weird CI failure with error details (#8449) 2021-01-30 18:53:39 +02:00
comptime_call_no_unused_var.vv checker: fix compile-time call with string identifier expression (#8415) 2021-01-30 15:24:16 +01:00
comptime_field_selector_not_in_for_err.out parser: add warning for s.$field.name without brackets (#8411) 2021-01-30 12:56:10 +01:00
comptime_field_selector_not_in_for_err.vv parser: add warning for s.$field.name without brackets (#8411) 2021-01-30 12:56:10 +01:00
comptime_field_selector_not_name_err.out checker: check types with $for/$if introspection (#8984) 2021-02-26 15:26:50 +01:00
comptime_field_selector_not_name_err.vv parser: add warning for s.$field.name without brackets (#8411) 2021-01-30 12:56:10 +01:00
comptime_for.out all: fix error for comptime for in field with generic fn (fix #13409) (#13439) 2022-02-11 22:00:13 +02:00
comptime_for.vv all: fix error for comptime for in field with generic fn (fix #13409) (#13439) 2022-02-11 22:00:13 +02:00
comptime_insert_err.cc checker, cgen: add support for #insert, to simplify bootstrapping V 2022-04-21 10:34:33 +02:00
comptime_insert_err.out checker, cgen: add support for #insert, to simplify bootstrapping V 2022-04-21 10:34:33 +02:00
comptime_insert_err.vv checker, cgen: add support for #insert, to simplify bootstrapping V 2022-04-21 10:34:33 +02:00
const_array_unknown_type_err.out checker: fix position of unknown type errors (#10110) 2021-05-16 04:51:23 +03:00
const_array_unknown_type_err.vv checker: fix position of unknown type errors (#10110) 2021-05-16 04:51:23 +03:00
const_define_in_function_err.out
const_define_in_function_err.vv
const_field_add_err.out
const_field_add_err.vv
const_field_dec_err.out
const_field_dec_err.vv
const_field_inc_err.out
const_field_inc_err.vv
const_field_name_duplicate_err.out
const_field_name_duplicate_err.vv
const_field_name_snake_case.out
const_field_name_snake_case.vv
const_field_sub_err.out
const_field_sub_err.vv
ctdefine.out checker: fix ctdefine check in non-main modules (#8332) 2021-01-27 13:54:33 +01:00
ctdefine.vv checker: fix ctdefine check in non-main modules (#8332) 2021-01-27 13:54:33 +01:00
custom_comptime_define_error.mysymbol.run.out
custom_comptime_define_error.out
custom_comptime_define_error.vv
custom_comptime_define_if_debug.cg.run.out tests: add tests for `-d debug`, `-cg`, `-g` in combination for `[if debug]fn` etc 2021-03-07 12:42:30 +02:00
custom_comptime_define_if_debug.debug.bar.run.out tests: add tests for `-d debug`, `-cg`, `-g` in combination for `[if debug]fn` etc 2021-03-07 12:42:30 +02:00
custom_comptime_define_if_debug.debug.run.out tests: add tests for `-d debug`, `-cg`, `-g` in combination for `[if debug]fn` etc 2021-03-07 12:42:30 +02:00
custom_comptime_define_if_debug.g.run.out tests: add tests for `-d debug`, `-cg`, `-g` in combination for `[if debug]fn` etc 2021-03-07 12:42:30 +02:00
custom_comptime_define_if_debug.out tests: add tests for `-d debug`, `-cg`, `-g` in combination for `[if debug]fn` etc 2021-03-07 12:42:30 +02:00
custom_comptime_define_if_debug.run.out tests: add tests for `-d debug`, `-cg`, `-g` in combination for `[if debug]fn` etc 2021-03-07 12:42:30 +02:00
custom_comptime_define_if_debug.vv ci: fix `[if xyz ?]` usages 2021-06-22 10:46:43 +03:00
custom_comptime_define_if_flag.mydebug.run.out
custom_comptime_define_if_flag.nodebug.run.out
custom_comptime_define_if_flag.out
custom_comptime_define_if_flag.vv ci: fix `[if xyz ?]` usages 2021-06-22 10:46:43 +03:00
dec_lit_wrong_digit_err.out
dec_lit_wrong_digit_err.vv
decompose_type_err.out parser: change array decompose syntax (#7965) 2021-01-09 22:48:23 +01:00
decompose_type_err.vv parser: change array decompose syntax (#7965) 2021-01-09 22:48:23 +01:00
defer_in_for.out checker: disallow labels in defer statements (#10901) 2021-07-23 22:35:05 +03:00
defer_in_for.vv checker: disallow labels in defer statements (#10901) 2021-07-23 22:35:05 +03:00
defer_optional.out checker: fix defer ident handling & fix defer optional error message (#10975) 2021-07-30 20:29:06 +03:00
defer_optional.vv checker: fix defer ident handling & fix defer optional error message (#10975) 2021-07-30 20:29:06 +03:00
deprecations.out ci: fix deprecations.out (time is now > 2021/08/28 00:00:00) 2021-08-28 13:02:59 +03:00
deprecations.vv v.checker: make calling a deprecated fn an error, 180 days (6 months) after its deprecation date (#10682) 2021-08-04 17:41:00 +03:00
direct_map_alias_init_err.out checker: error on direct map alias init (#10282) 2021-05-31 12:14:37 +03:00
direct_map_alias_init_err.vv checker: error on direct map alias init (#10282) 2021-05-31 12:14:37 +03:00
disallow_pointer_arithmetic_err.out checker: disallow invalid pointer arithmetic (#10888) 2021-07-21 23:39:49 +03:00
disallow_pointer_arithmetic_err.vv checker: disallow invalid pointer arithmetic (#10888) 2021-07-21 23:39:49 +03:00
div_mod_by_cast_zero_int_err.out
div_mod_by_cast_zero_int_err.vv
div_op_wrong_type_err.out checker: improve error position of infix expr (#8828) 2021-02-19 12:38:41 +02:00
div_op_wrong_type_err.vv
division_by_cast_zero_float_err.out
division_by_cast_zero_float_err.vv
division_by_zero_float_err.out
division_by_zero_float_err.vv
division_by_zero_int_err.out
division_by_zero_int_err.vv
dump_char.out checker: fix tests (adjust byte to u8 in .out files too) 2022-04-17 12:14:30 +02:00
dump_char.vv checker: add a check for `dump(c)`, where `typeof(c) == "char"` 2022-03-24 12:11:59 +02:00
dump_of_void_expr.out v: support dump(expr) (#9160) 2021-03-06 18:09:28 +01:00
dump_of_void_expr.vv v: support dump(expr) (#9160) 2021-03-06 18:09:28 +01:00
duplicate_field_method_err.out checker: check duplicated field and method (only for fields that are anon-fns for now) (#10927) 2021-07-24 16:06:09 +03:00
duplicate_field_method_err.vv checker: check duplicated field and method (only for fields that are anon-fns for now) (#10927) 2021-07-24 16:06:09 +03:00
embed_unknown_compress_type.out all: support `$embed_file('embed.vv', .zlib)` (#12654) 2021-12-04 19:43:19 +02:00
embed_unknown_compress_type.vv all: support `$embed_file('embed.vv', .zlib)` (#12654) 2021-12-04 19:43:19 +02:00
enum_as_int_err.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
enum_as_int_err.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
enum_cast.out checker: fix invalid cast warning for flag enums (#12848) 2021-12-15 16:58:25 +02:00
enum_cast.vv checker: fix invalid cast warning for flag enums (#12848) 2021-12-15 16:58:25 +02:00
enum_empty.out checker: do not allow empty enums (#7848) 2021-01-05 01:46:32 +01:00
enum_empty.vv checker: do not allow empty enums (#7848) 2021-01-05 01:46:32 +01:00
enum_err.out checker: update enum test 2021-12-03 09:07:33 +03:00
enum_err.vv checker: update enum test 2021-12-03 08:43:03 +03:00
enum_error_module.out checker: small cleanup of commit edc6c9e 2022-01-28 11:03:15 +02:00
enum_error_module.vv checker: small cleanup of commit edc6c9e 2022-01-28 11:03:15 +02:00
enum_field_name_duplicate_err.out
enum_field_name_duplicate_err.vv
enum_field_overflow.out
enum_field_overflow.vv
enum_field_value_duplicate_a.out checker: prevent enum value duplication check bypass (#10287) 2021-06-05 12:28:17 +03:00
enum_field_value_duplicate_a.vv checker: prevent enum value duplication check bypass (#10287) 2021-06-05 12:28:17 +03:00
enum_field_value_duplicate_b.out checker: prevent enum value duplication check bypass (#10287) 2021-06-05 12:28:17 +03:00
enum_field_value_duplicate_b.vv checker: prevent enum value duplication check bypass (#10287) 2021-06-05 12:28:17 +03:00
enum_field_value_overflow.out
enum_field_value_overflow.vv
enum_op_err.out ast, parser: patches for VLS (#9562) 2021-04-02 16:26:37 +02:00
enum_op_err.vv checker, cgen: allow | between bitfield enum values, autogenerate a more specific .str method for them too (#8856) 2021-02-20 21:51:54 +02:00
enum_op_flag_err.out ast, parser: patches for VLS (#9562) 2021-04-02 16:26:37 +02:00
enum_op_flag_err.vv checker, cgen: allow | between bitfield enum values, autogenerate a more specific .str method for them too (#8856) 2021-02-20 21:51:54 +02:00
enum_single_letter.out
enum_single_letter.vv
eq_ne_op_wrong_type_err.out cgen: auto eq method for sumtype (#9408) 2021-03-22 06:39:07 +01:00
eq_ne_op_wrong_type_err.vv cgen: auto eq method for sumtype (#9408) 2021-03-22 06:39:07 +01:00
error_fn_with_0_args.out checker: fix panic on `fn abc()?{ return error() }` 2021-05-29 23:46:56 +03:00
error_fn_with_0_args.vv checker: fix panic on `fn abc()?{ return error() }` 2021-05-29 23:46:56 +03:00
error_with_comment_with_crlf_ending.out parser: fix checking unexpected name (#12233) 2021-10-19 12:27:59 +03:00
error_with_comment_with_crlf_ending.vv
error_with_comment_with_lf_ending.out parser: fix checking unexpected name (#12233) 2021-10-19 12:27:59 +03:00
error_with_comment_with_lf_ending.vv
error_with_several_comments_with_crlf_ending.out
error_with_several_comments_with_crlf_ending.vv
error_with_unicode.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
error_with_unicode.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
expression_should_return_an_option.out
expression_should_return_an_option.vv
field_can_not_be_from_the_same_type_as_containing_struct.out checker: correct error message of struct_decl() (#13240) 2022-01-21 12:10:09 +02:00
field_can_not_be_from_the_same_type_as_containing_struct.vv checker: add error for `type StructAlias = Struct struct Struct { field StructAlias }` 2022-01-02 15:54:40 +02:00
filter_func_return_nonbool_err.out checker: add check for call expr in map/filter (#9559) 2021-04-02 01:56:51 +02:00
filter_func_return_nonbool_err.vv checker: add check for call expr in map/filter (#9559) 2021-04-02 01:56:51 +02:00
filter_on_non_arr_err.out checker: improve error message when using fields as methods (#10367) 2021-06-12 15:15:25 +03:00
filter_on_non_arr_err.vv
fixed_array_conv.out checker: fix tests (adjust byte to u8 in .out files too) 2022-04-17 12:14:30 +02:00
fixed_array_conv.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
fixed_array_non_const_size_err.out checker: change non-const size of fixed array error message (#8850) 2021-02-20 12:14:44 +01:00
fixed_array_non_const_size_err.vv checker: change non-const size of fixed array error message (#8850) 2021-02-20 12:14:44 +01:00
fixed_array_size_err.out checker: fix tests (adjust byte to u8 in .out files too) 2022-04-17 12:14:30 +02:00
fixed_array_size_err.vv tests: use u8 everywhere 2022-04-17 12:14:29 +02:00
float_lit_exp_not_integer_err.out
float_lit_exp_not_integer_err.vv
float_lit_exp_without_digit_err.out
float_lit_exp_without_digit_err.vv
float_lit_too_many_points_err.out
float_lit_too_many_points_err.vv
float_modulo_err.out
float_modulo_err.vv
fn_arg_of_optional_err.out checker: check error for fn decl with optional arguments (#14076) 2022-04-19 12:42:43 +02:00
fn_arg_of_optional_err.vv checker: check error for fn decl with optional arguments (#14076) 2022-04-19 12:42:43 +02:00
fn_args.out checker: fix tests (adjust byte to u8 in .out files too) 2022-04-17 12:14:30 +02:00
fn_args.vv tests: use u8 everywhere 2022-04-17 12:14:29 +02:00
fn_call_arg_mismatch.out checker: fix the argument mismatch of fn call (#12479) 2021-11-16 17:19:02 +02:00
fn_call_arg_mismatch.vv checker: fix the argument mismatch of fn call (#12479) 2021-11-16 17:19:02 +02:00
fn_call_no_body.out checker: make a calling no-body function a checker error (#8265) 2021-01-26 11:19:48 +01:00
fn_call_no_body.vv checker: make a calling no-body function a checker error (#8265) 2021-01-26 11:19:48 +01:00
fn_check_for_matching_optional_result_in_fields.out checker: check for `x := Abc { f: fn () ? {} }` mismatch, when `f` is `fn ()` 2021-10-11 19:20:41 +03:00
fn_check_for_matching_optional_result_in_fields.vv checker: check for `x := Abc { f: fn () ? {} }` mismatch, when `f` is `fn ()` 2021-10-11 19:20:41 +03:00
fn_duplicate.out builder: fix detecting duplicate functions (#9033) 2021-03-01 21:38:31 +01:00
fn_duplicate.vv builder: fix detecting duplicate functions (#9033) 2021-03-01 21:38:31 +01:00
fn_init_sig.out checker: check that the module `init` fn, should have no params, and no return type (#8988) 2021-02-27 11:11:20 +02:00
fn_init_sig.vv checker: check that the module `init` fn, should have no params, and no return type (#8988) 2021-02-27 11:11:20 +02:00
fn_return_array_sort_err.out checker: check fn_call().sort() (fix #11040) (#11056) 2021-08-04 21:23:22 +03:00
fn_return_array_sort_err.vv checker: check fn_call().sort() (fix #11040) (#11056) 2021-08-04 21:23:22 +03:00
fn_return_or_err.out all: basic implementation of result type (#14140) 2022-04-30 16:26:27 +02:00
fn_return_or_err.vv checker: check non-optional fn return or_block (#9227) 2021-03-10 12:53:23 +01:00
fn_return_type_mismatch.out checker: check fn return type mismatch (#14081) 2022-04-19 12:42:44 +02:00
fn_return_type_mismatch.vv checker: check fn return type mismatch (#14081) 2022-04-19 12:42:44 +02:00
fn_type_exists.out checker: fix position of unknown type errors (#10110) 2021-05-16 04:51:23 +03:00
fn_type_exists.vv checker: fix position of unknown type errors (#10110) 2021-05-16 04:51:23 +03:00
fn_type_mismatch.out builtin: add a `byterune` method on `[]byte` (#13145) 2022-01-13 22:26:17 +02:00
fn_type_mismatch.vv checker: fix checking fn prototype mismatch (#11369) 2021-09-03 12:26:46 +03:00
fn_var.out checker: fix tests (adjust byte to u8 in .out files too) 2022-04-17 12:14:30 +02:00
fn_var.vv tests: use u8 everywhere 2022-04-17 12:14:29 +02:00
fn_variadic.out checker: show position for variadic/shared/method argument errors (#8939) 2021-02-24 19:35:32 +01:00
fn_variadic.vv checker: show position for variadic/shared/method argument errors (#8939) 2021-02-24 19:35:32 +01:00
for_c_stmt_with_optional_call.out checker: check error in for_c_stmt with optional call (#14190) 2022-04-29 21:38:22 +02:00
for_c_stmt_with_optional_call.vv checker: check error in for_c_stmt with optional call (#14190) 2022-04-29 21:38:22 +02:00
for_in_index_optional.out
for_in_index_optional.vv
for_in_index_type.out checker: add error for `print( voidfn() )` 2021-03-02 17:54:38 +02:00
for_in_index_type.vv
for_in_invalid_identifier.out checker: only cast as ast.Var if not unresolved, fixes #13561 (#13562) 2022-02-22 15:23:15 +02:00
for_in_invalid_identifier.vv checker: only cast as ast.Var if not unresolved, fixes #13561 (#13562) 2022-02-22 15:23:15 +02:00
for_in_iterator_returning_multiple_values_err.out checker: add error for `for x in t {`, where `t.next()` returns multiple values 2022-01-05 00:46:44 +02:00
for_in_iterator_returning_multiple_values_err.vv checker: add error for `for x in t {`, where `t.next()` returns multiple values 2022-01-05 00:46:44 +02:00
for_in_map_one_variable_err.out checker: fix mut check bypass with for in loops (#12208) 2021-10-17 06:41:39 +03:00
for_in_map_one_variable_err.vv vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
for_in_mut_string.out checker: add error for `for mut var in string {` (fix #12998) (#13000) 2021-12-31 09:54:06 +02:00
for_in_mut_string.vv checker: add error for `for mut var in string {` (fix #12998) (#13000) 2021-12-31 09:54:06 +02:00
for_in_mut_val_type.out checker: fix mut check bypass with for in loops (#12208) 2021-10-17 06:41:39 +03:00
for_in_mut_val_type.vv checker: fix mut check bypass with for in loops (#12208) 2021-10-17 06:41:39 +03:00
for_in_range_not_match_type.out
for_in_range_not_match_type.vv
for_in_range_string_type.out
for_in_range_string_type.vv
for_in_with_reserved_type_names.out checker: check for reserved type names in `for in` (fix #14072) (#14212) 2022-04-30 16:26:27 +02:00
for_in_with_reserved_type_names.vv checker: check for reserved type names in `for in` (fix #14072) (#14212) 2022-04-30 16:26:27 +02:00
for_match_err.out
for_match_err.vv
free_method_errors.out v.checker: add checks for `.free()` methods 2021-09-09 09:54:06 +03:00
free_method_errors.vv v.checker: add checks for `.free()` methods 2021-09-09 09:54:06 +03:00
function_arg_mutable_err.out ci: fix the content of function_arg_mutable_err.out 2021-03-26 15:06:29 +02:00
function_arg_mutable_err.vv
function_arg_redefinition.out
function_arg_redefinition.vv
function_count_of_args_mismatch_err.out checker: fix panic when calling generic function with too few args (#8416) 2021-01-29 20:14:22 +02:00
function_count_of_args_mismatch_err.vv checker: fix panic when calling generic function with too few args (#8416) 2021-01-29 20:14:22 +02:00
function_missing_return_type.out all: promote value type function arguments to heap if necessary (#10528) 2021-06-20 18:40:24 +03:00
function_missing_return_type.vv v.ast, v.checker: fix absent 'missing return' warning, when a function ended with a t.panic() call 2021-04-20 11:49:06 +03:00
function_variadic_arg_array_decompose.out checker: check fn_variadic with array_decompose (#8894) 2021-02-22 14:26:54 +01:00
function_variadic_arg_array_decompose.vv checker: check fn_variadic with array_decompose (#8894) 2021-02-22 14:26:54 +01:00
function_wrong_arg_type.out
function_wrong_arg_type.vv
function_wrong_return_type.out types: rename `any_*`, `untyped *` -> `* literal` (#7845) 2021-01-04 00:11:09 +02:00
function_wrong_return_type.vv
generic_fn_decl_without_generic_names_err.out checker: check generic struct init without type parameter (#13404) 2022-02-09 14:06:45 +02:00
generic_fn_decl_without_generic_names_err.vv checker: check generic struct init without type parameter (#13404) 2022-02-09 14:06:45 +02:00
generic_interface_err.out checker: infer generic interface type in `i := Interface(Struct<u32>{})` 2021-12-30 21:24:52 +02:00
generic_interface_err.vv checker: infer generic interface type in `i := Interface(Struct<u32>{})` 2021-12-30 21:24:52 +02:00
generic_param_used_as_an_array_err.out v.checker: restrict `x T` in `fn test<T>(x T){ unsafe{ println(x[0]) }`, but allow `x &T` 2021-06-09 12:07:08 +03:00
generic_param_used_as_an_array_err.vv v.checker: restrict `x T` in `fn test<T>(x T){ unsafe{ println(x[0]) }`, but allow `x &T` 2021-06-09 12:07:08 +03:00
generic_parameter_on_method.out checker: check if generic values have the same types (#13718) 2022-03-23 09:13:10 +02:00
generic_parameter_on_method.vv checker: check if generic values have the same types (#13718) 2022-03-23 09:13:10 +02:00
generic_sumtype_invalid_variant.out all: fix formating Foo<A,B> to Foo<A, B> (#11225) 2021-08-18 17:17:21 +03:00
generic_sumtype_invalid_variant.vv v: initial support for generic interfaces and sumtypes (#10795) 2021-07-15 08:29:13 +03:00
generic_type_inference.out checker: type inference over a generic type should compile (#13824) 2022-04-01 19:31:27 +03:00
generic_type_inference.vv checker: type inference over a generic type should compile (#13824) 2022-04-01 19:31:27 +03:00
generics_fn_arg_type_err.out checker: check argument type error of the generics fn declaration (#12539) 2021-11-22 22:39:20 +02:00
generics_fn_arg_type_err.vv checker: check argument type error of the generics fn declaration (#12539) 2021-11-22 22:39:20 +02:00
generics_fn_arguments_count_err.out checker: fix error message when number of generic parameters is incorrect (#14090) 2022-04-21 10:34:33 +02:00
generics_fn_arguments_count_err.vv checker: check the count of generics in fn arguments (#13855) 2022-03-29 10:04:19 +03:00
generics_fn_called_arg_mismatch.out checker: check generics variadic arg mismatch (#9700) 2021-04-13 02:06:24 +02:00
generics_fn_called_arg_mismatch.vv generics: check generic_fn called arg mismatch (#9510) 2021-03-30 09:36:45 +02:00
generics_fn_called_fntype_arg_mismatch.out ast: fix checking generic fn call with fntype arg mismatch (#12132) 2021-10-10 11:14:19 +03:00
generics_fn_called_fntype_arg_mismatch.vv ast: fix checking generic fn call with fntype arg mismatch (#12132) 2021-10-10 11:14:19 +03:00
generics_fn_called_multi_args_mismatch.out checker: check generic method call args mismatch (#10669) 2021-07-05 10:14:00 +03:00
generics_fn_called_multi_args_mismatch.vv checker: check generic method call args mismatch (#10669) 2021-07-05 10:14:00 +03:00
generics_fn_called_no_arg_err.out checker: check generic fn called no arg without generic names (#9825) 2021-04-20 21:36:21 +03:00
generics_fn_called_no_arg_err.vv checker: check generic fn called no arg without generic names (#9825) 2021-04-20 21:36:21 +03:00
generics_fn_called_outside_of_generic_fn.out checker: check generics fn called outside of generic fn (#9984) 2021-05-03 19:50:08 +03:00
generics_fn_called_outside_of_generic_fn.vv checker: check generics fn called outside of generic fn (#9984) 2021-05-03 19:50:08 +03:00
generics_fn_called_variadic_arg_mismatch.out checker: fix generic fn infer variadic parameter with arrays (#11324) 2021-08-28 10:32:51 +03:00
generics_fn_called_variadic_arg_mismatch.vv checker: fix generic fn infer variadic parameter with arrays (#11324) 2021-08-28 10:32:51 +03:00
generics_fn_return_generic_struct_err.out checker: check generic struct init without type parameter (#13404) 2022-02-09 14:06:45 +02:00
generics_fn_return_generic_struct_err.vv checker: check generics fn that return generic struct (#9979) 2021-05-03 19:48:54 +03:00
generics_inst_non_generic_struct_err.out parser, checker: optimize checking generic struct type mismatch (#12179) 2021-10-15 00:11:31 +03:00
generics_inst_non_generic_struct_err.vv checker: check non-generic struct init (#11300) 2021-08-25 14:40:40 +03:00
generics_method_called_arg_mismatch.out checker: check type mismatch in args of generics method calls (fix #13193) (#13196) 2022-01-17 16:48:59 +02:00
generics_method_called_arg_mismatch.vv checker: check type mismatch in args of generics method calls (fix #13193) (#13196) 2022-01-17 16:48:59 +02:00
generics_method_receiver_type_err.out checker: check argument type error of the generics fn declaration (#12539) 2021-11-22 22:39:20 +02:00
generics_method_receiver_type_err.vv checker: check generic method receivers with no type parameter (#10374) 2021-06-07 12:11:29 +03:00
generics_non_generic_fn_called_like_a_generic_one.out
generics_non_generic_fn_called_like_a_generic_one.vv
generics_struct_declaration_err.out checker: check generic struct declaration (fix #9974) (#9978) 2021-05-03 19:47:02 +03:00
generics_struct_declaration_err.vv v.checker: fix multi insts of generics fn with generic struct (#11161) 2021-08-12 22:58:02 +03:00
generics_struct_field_fn_args_err.out checker: check generic struct field fn args type mismatch (#12379) 2021-11-04 10:18:36 +02:00
generics_struct_field_fn_args_err.vv checker: check generic struct field fn args type mismatch (#12379) 2021-11-04 10:18:36 +02:00
generics_struct_in_non_generic_fn_err.out checker: check generic struct using in non-generic fn (#12136) 2021-10-11 02:46:44 +03:00
generics_struct_in_non_generic_fn_err.vv checker: check generic struct using in non-generic fn (#12136) 2021-10-11 02:46:44 +03:00
generics_struct_init_err.out checker: check generic struct init without type parameter (#13404) 2022-02-09 14:06:45 +02:00
generics_struct_init_err.vv checker: check generic struct init without type parameter (#10193) 2021-05-25 06:15:05 +03:00
generics_struct_init_type_parameter_err.out checker: strengthen the judgment of generic type parameters replacement, merge generic type init tests (#13460) 2022-02-14 02:38:47 +02:00
generics_struct_init_type_parameter_err.vv checker: strengthen the judgment of generic type parameters replacement, merge generic type init tests (#13460) 2022-02-14 02:38:47 +02:00
generics_struct_type_mismatch_err.out parser, checker: optimize checking generic struct type mismatch (#12179) 2021-10-15 00:11:31 +03:00
generics_struct_type_mismatch_err.vv checker: check generics struct init that types mismatch (fix #12115) (#12120) 2021-10-09 15:03:37 +03:00
generics_too_many_parameters.out checker: fix error message when number of generic parameters is incorrect (#14090) 2022-04-21 10:34:33 +02:00
generics_too_many_parameters.vv generics: add more checks (#9539) 2021-04-02 16:27:54 +02:00
generics_type_ambiguous.out checker: fix spelling in 'inferred generic type is ambiguous:' check (#9593) 2021-04-05 18:21:09 +03:00
generics_type_ambiguous.vv checker: fix spelling in 'inferred generic type is ambiguous:' check (#9593) 2021-04-05 18:21:09 +03:00
generics_undefined_operation.out checker: check generics undefined operation of infix expression (#13223) 2022-01-20 08:57:25 +02:00
generics_undefined_operation.vv checker: check generics undefined operation of infix expression (#13223) 2022-01-20 08:57:25 +02:00
globals_error.out v: replace `--enable-globals` with `-enable-globals` (#9898) 2021-04-28 07:44:28 +03:00
globals_error.run.out
globals_error.vv
go_expr.out
go_expr.vv
go_mut_arg.out
go_mut_arg.vv
go_mut_receiver.out
go_mut_receiver.vv
go_wait_or.out all: basic implementation of result type (#14140) 2022-04-30 16:26:27 +02:00
go_wait_or.vv all: support `thread` handles and `wait()` for functions returning optionals (#8990) 2021-02-27 10:16:55 +02:00
goto_label.out checker: fix regression of anon fns that have loops with break/continue 2021-07-25 10:46:31 +03:00
goto_label.vv checker: warn when using `goto` outside of `unsafe` (#8741) 2021-02-15 15:48:24 +02:00
hex_lit_without_digit_err.out
hex_lit_without_digit_err.vv
hex_lit_wrong_digit_err.out
hex_lit_wrong_digit_err.vv
hex_literal_overflow.out scanner, cgen: improve support for escape codes in backticks/runes (#13127) 2022-01-11 22:36:18 +02:00
hex_literal_overflow.vv checker: fix hex literal overflow check (#10782) 2021-07-14 22:33:02 +03:00
ierror_in_return_tuple.out checker: prohibit option and `IError` in multi-return (#10689) 2021-07-07 11:57:10 +03:00
ierror_in_return_tuple.vv checker: prohibit option and `IError` in multi-return (#10689) 2021-07-07 11:57:10 +03:00
if_expr_last_stmt.out
if_expr_last_stmt.vv
if_expr_mismatch.out types: rename `any_*`, `untyped *` -> `* literal` (#7845) 2021-01-04 00:11:09 +02:00
if_expr_mismatch.vv
if_expr_no_else.out
if_expr_no_else.vv
if_expr_optional_err.out checker: check if condition optional (#10921) 2021-07-23 08:52:51 +03:00
if_expr_optional_err.vv checker: check if condition optional (#10921) 2021-07-23 08:52:51 +03:00
if_guard_variables_err.out ast, checker, cgen: implement if guard with multi return optional (#13273) 2022-01-25 14:36:33 +02:00
if_guard_variables_err.vv ast, checker, cgen: implement if guard with multi return optional (#13273) 2022-01-25 14:36:33 +02:00
if_match_expr.out ast: allow `a := match x { 101 { ... for {...} ... y }` 2022-04-25 19:07:26 +02:00
if_match_expr.vv
if_match_expr_err.out
if_match_expr_err.vv
if_match_result.out
if_match_result.vv
if_mut_with_immutable_var_err.out checker: fix tests (adjust byte to u8 in .out files too) 2022-04-17 12:14:30 +02:00
if_mut_with_immutable_var_err.vv tests: use u8 everywhere 2022-04-17 12:14:29 +02:00
if_non_bool_cond.out checker: report correct position for non-bool cond error (#8735) 2021-02-14 19:19:41 +01:00
if_non_bool_cond.vv checker: reject void type condition (#8737) 2021-02-14 07:33:24 +01:00
immutable_arg.out
immutable_arg.vv
immutable_array_field_assign.out
immutable_array_field_assign.vv
immutable_array_field_shift.out
immutable_array_field_shift.vv
immutable_array_struct_assign.out
immutable_array_struct_assign.vv
immutable_array_struct_shift.out
immutable_array_struct_shift.vv
immutable_array_var.out
immutable_array_var.vv
immutable_builtin_modify.out checker: fix tests (adjust byte to u8 in .out files too) 2022-04-17 12:14:30 +02:00
immutable_builtin_modify.vv tests: use u8 everywhere 2022-04-17 12:14:29 +02:00
immutable_field.out
immutable_field.vv
immutable_field_postfix.out
immutable_field_postfix.vv
immutable_interface_field.out checker: add mutability checks for interface fields; add tests (#8312) 2021-01-24 22:11:17 +01:00
immutable_interface_field.vv checker: add mutability checks for interface fields; add tests (#8312) 2021-01-24 22:11:17 +01:00
immutable_map.out map: add `move` method (#8660) 2021-02-12 02:02:33 +02:00
immutable_map.vv map: add `move` method (#8660) 2021-02-12 02:02:33 +02:00
immutable_rec.out
immutable_rec.vv
immutable_struct_postfix.out
immutable_struct_postfix.vv
immutable_var.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
immutable_var.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
immutable_var_postfix.out
immutable_var_postfix.vv
import_duplicate_err.out checker: clarify duplicate import error (#10150) 2021-05-21 06:12:38 +03:00
import_duplicate_err.vv
import_middle_err.out
import_middle_err.vv
import_mod_as_mod_err.out
import_mod_as_mod_err.vv
import_mod_sub_as_sub_err.out scanner, cgen: improve support for escape codes in backticks/runes (#13127) 2022-01-11 22:36:18 +02:00
import_mod_sub_as_sub_err.vv
import_multiple_modules_err.out
import_multiple_modules_err.vv
import_not_found_err.out builder: show file:line when import fails (#8537) 2021-02-04 09:09:54 +02:00
import_not_found_err.vv
import_not_same_line_err.out
import_not_same_line_err.vv
import_symbol_empty.out
import_symbol_empty.vv
import_symbol_fn_err.out
import_symbol_fn_err.vv
import_symbol_invalid.out
import_symbol_invalid.vv
import_symbol_private_err.out ci: fix import_symbol_private_err.vv and its .out file (time.since is no longer private) 2021-10-24 22:06:32 +03:00
import_symbol_private_err.vv ci: fix import_symbol_private_err.vv and its .out file (time.since is no longer private) 2021-10-24 22:06:32 +03:00
import_symbol_type_err.out checker: stricter `unknown type` checks, show better suggestions (#8816) 2021-02-19 11:23:13 +02:00
import_symbol_type_err.vv
import_symbol_unclosed.out
import_symbol_unclosed.vv
import_syntax_err.out
import_syntax_err.vv
import_unused_warning.out
import_unused_warning.vv
in_mismatch_type.out checker: update error message for `if 'a' in 'abcd' {` 2022-01-05 12:21:17 +02:00
in_mismatch_type.vv vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
incorrect_for_in_name_variable.out
incorrect_for_in_name_variable.vv
incorrect_name_alias_type.out
incorrect_name_alias_type.vv
incorrect_name_const.out
incorrect_name_const.vv
incorrect_name_enum.out
incorrect_name_enum.vv
incorrect_name_enum_field.out
incorrect_name_enum_field.vv
incorrect_name_fn_type.out
incorrect_name_fn_type.vv
incorrect_name_function.out
incorrect_name_function.vv
incorrect_name_interface.out parser: fix InterfaceDecl's position (#9649) 2021-04-09 17:18:22 +02:00
incorrect_name_interface.vv
incorrect_name_interface_method.out
incorrect_name_interface_method.vv
incorrect_name_module.out
incorrect_name_module.vv
incorrect_name_struct.out
incorrect_name_struct.vv
incorrect_name_struct_field.out
incorrect_name_struct_field.vv
incorrect_name_sum_type.out
incorrect_name_sum_type.vv
incorrect_name_variable.out
incorrect_name_variable.vv
incorrect_smartcast2_err.out checker: handle invalid smartcast with if/match none ident or selector (fix #12317) (#13762) 2022-03-18 17:50:54 +03:00
incorrect_smartcast2_err.vv checker: handle invalid smartcast with if/match none ident or selector (fix #12317) (#13762) 2022-03-18 17:50:54 +03:00
incorrect_smartcast_err.out checker: add a notice for potentially incorrect smartcasts (#13644) 2022-03-03 16:36:40 +02:00
incorrect_smartcast_err.vv checker: add a notice for potentially incorrect smartcasts (#13644) 2022-03-03 16:36:40 +02:00
index_expr.out checker: check fixed array index when it's a literal (#8831) 2021-02-20 20:18:47 +02:00
index_expr.vv checker: make negative literal index a checker error (#8242) 2021-01-21 13:27:16 +02:00
index_invalid_call.out checker: show errors for index calls to values which are not functions, fixes #11539 (#12024) 2021-10-01 15:17:02 +03:00
index_invalid_call.vv checker: show errors for index calls to values which are not functions, fixes #11539 (#12024) 2021-10-01 15:17:02 +03:00
index_of_optional_err.out checker: check error for index of optional (#13785) 2022-03-21 10:17:57 +02:00
index_of_optional_err.vv checker: check error for index of optional (#13785) 2022-03-21 10:17:57 +02:00
infix_compare_optional_err.out checker: check error for infix compare optional (#13701) 2022-03-09 20:20:21 +02:00
infix_compare_optional_err.vv checker: check error for infix compare optional (#13701) 2022-03-09 20:20:21 +02:00
infix_err.out checker: change wording of the error message for complex boolean expressions 2021-04-14 19:55:52 +03:00
infix_err.vv parser: display correct position on boolean expression error (#8563) 2021-02-05 16:52:35 +01:00
int_modulo_by_zero_err.out builtin: add a `byterune` method on `[]byte` (#13145) 2022-01-13 22:26:17 +02:00
int_modulo_by_zero_err.vv
interface_field_name_err.out parser: make sure interface field names use uppercase letters (#14228) 2022-04-30 16:26:27 +02:00
interface_field_name_err.vv parser: make sure interface field names use uppercase letters (#14228) 2022-04-30 16:26:27 +02:00
interface_generic_err.out checker: infer generic interface type in `i := Interface(Struct<u32>{})` 2021-12-30 21:24:52 +02:00
interface_generic_err.vv checker: fix infinite recursion on generic interface cast 2021-12-30 19:28:42 +02:00
interface_implementing_interface.out checker: make implementing an interface with another interface an error (#8398) 2021-01-29 00:41:59 +01:00
interface_implementing_interface.vv checker: make implementing an interface with another interface an error (#8398) 2021-01-29 00:41:59 +01:00
interface_implementing_own_interface_method.out interfaces: error on implemention of own interface method & on duplicate normal methods 2021-03-03 15:02:10 +11:00
interface_implementing_own_interface_method.vv interfaces: error on implemention of own interface method & on duplicate normal methods 2021-03-03 15:02:10 +11:00
interface_init_err.out v.checker: turn `interface field ... must be initialized` to a notice temporarily 2021-08-11 16:39:41 +03:00
interface_init_err.vv checker: force interface init (#10910) 2021-07-30 03:18:20 +03:00
interface_method_name_err.out parser: check interface methods name (fix #14217) (#14218) 2022-04-29 21:38:24 +02:00
interface_method_name_err.vv parser: check interface methods name (fix #14217) (#14218) 2022-04-29 21:38:24 +02:00
interface_return_parameter_err.out ast, parser: add additional pos info for FnDecl and InterfaceDecl nodes (#9603) 2021-04-05 18:14:21 +03:00
interface_return_parameter_err.vv checker: stricter `unknown type` checks, show better suggestions (#8816) 2021-02-19 11:23:13 +02:00
interface_sameness_check_for_mutable_methods.out checker: do not deref non-pointer types in `fn_signature_using_aliases` (#12340) 2021-11-01 02:26:15 +03:00
interface_sameness_check_for_mutable_methods.vv checker: do not deref non-pointer types in `fn_signature_using_aliases` (#12340) 2021-11-01 02:26:15 +03:00
interface_too_many_embedding_levels.out v: implement interface embedding (#9935) 2021-05-02 03:00:47 +03:00
interface_too_many_embedding_levels.vv v: implement interface embedding (#9935) 2021-05-02 03:00:47 +03:00
interpolation_recursive_str_err.out
interpolation_recursive_str_err.vv
invalid_char_err.out scanner: print multibyte char for invalid char error (#8804) 2021-02-18 15:43:39 +02:00
invalid_char_err.vv scanner: print multibyte char for invalid char error (#8804) 2021-02-18 15:43:39 +02:00
invalid_insert_references_test.out checker: fix detection of invalid insertions, fixes #3600 (#11945) 2021-09-23 11:59:43 +03:00
invalid_insert_references_test.vv checker: fix detection of invalid insertions, fixes #3600 (#11945) 2021-09-23 11:59:43 +03:00
invalid_mut.out checker: check invalid 'mut' keyword in infix expr (#13742) 2022-03-15 14:50:17 +03:00
invalid_mut.vv checker: check invalid 'mut' keyword in infix expr (#13742) 2022-03-15 14:50:17 +03:00
invalid_parameter_name_err.out checker: check invalid fn parameter name (#12540) 2021-11-22 16:51:58 +02:00
invalid_parameter_name_err.vv checker: check invalid fn parameter name (#12540) 2021-11-22 16:51:58 +02:00
invalid_property.out checker: improve error message for invalid property (#9263) 2021-03-12 14:18:52 +02:00
invalid_property.vv checker: improve error message for invalid property (#9263) 2021-03-12 14:18:52 +02:00
invalid_variable_name_err.out checker: check invalid map variable name (#12474) 2021-11-16 08:42:49 +02:00
invalid_variable_name_err.vv checker: check invalid map variable name (#12474) 2021-11-16 08:42:49 +02:00
invalid_vweb_param_type.out vweb: prohibit invalid parameter types in vweb app methods (#10631) 2021-07-04 18:37:09 +03:00
invalid_vweb_param_type.vv vweb: prohibit invalid parameter types in vweb app methods (#10631) 2021-07-04 18:37:09 +03:00
invert_other_types_bits_error.out
invert_other_types_bits_error.vv
is_type_invalid.out checker: fix tests (adjust byte to u8 in .out files too) 2022-04-17 12:14:30 +02:00
is_type_invalid.vv tests: use u8 everywhere 2022-04-17 12:14:29 +02:00
is_type_not_exist.out checker, cgen: allow using literals as `int` and `f64` for sum types (#7864) 2021-01-04 20:48:13 +02:00
is_type_not_exist.vv
js_with_non_js_backend_too_many_arguments.out cgen: check call argument on methods (#12965) 2021-12-26 11:53:56 +02:00
js_with_non_js_backend_too_many_arguments.vv cgen: check call argument on methods (#12965) 2021-12-26 11:53:56 +02:00
labelled_break_continue.out
labelled_break_continue.vv
lock_already_locked.out shared: support `lock` on SelectorExpression (#10105) 2021-05-15 04:34:27 +03:00
lock_already_locked.vv
lock_already_rlocked.out shared: support `lock` on SelectorExpression (#10105) 2021-05-15 04:34:27 +03:00
lock_already_rlocked.vv
lock_const.out shared: support `lock` on SelectorExpression (#10105) 2021-05-15 04:34:27 +03:00
lock_const.vv
lock_needed.out shared: support `lock` on SelectorExpression (#10105) 2021-05-15 04:34:27 +03:00
lock_needed.vv checker: require `shared a` to be `rlocked` to read `a[i]` or `a.e` (#9266) 2021-03-12 16:08:39 +01:00
lock_nonshared.out shared: support `lock` on SelectorExpression (#10105) 2021-05-15 04:34:27 +03:00
lock_nonshared.vv
main_and_script_err.out
main_and_script_err.vv
main_args_err.out
main_args_err.vv
main_called_err.out
main_called_err.vv
main_no_body_err.out checker: make the no-body main function a checker error (#8211) 2021-01-23 10:30:26 +02:00
main_no_body_err.vv checker: make the no-body main function a checker error (#8211) 2021-01-23 10:30:26 +02:00
main_return_err.out
main_return_err.vv
map_builtin_method_args_err.out checker: check map builtin method's arguments (#14120) 2022-04-25 19:07:26 +02:00
map_builtin_method_args_err.vv checker: check map builtin method's arguments (#14120) 2022-04-25 19:07:26 +02:00
map_delete.out vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
map_delete.vv vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
map_func_return_multiple_values_err.out checker: add error for .map() calling a fn with multiple return values (prevent inaccessible tuple leak) 2022-01-04 23:10:58 +02:00
map_func_return_multiple_values_err.vv checker: add error for .map() calling a fn with multiple return values (prevent inaccessible tuple leak) 2022-01-04 23:10:58 +02:00
map_func_void_return_err.out checker: add check for call expr in map/filter (#9559) 2021-04-02 01:56:51 +02:00
map_func_void_return_err.vv checker: add check for call expr in map/filter (#9559) 2021-04-02 01:56:51 +02:00
map_init_invalid_syntax.out checker: add an error for `x.method({})` calls, when method expects a struct 2021-11-19 13:30:45 +02:00
map_init_invalid_syntax.vv vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
map_init_key_duplicate_err.out vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
map_init_key_duplicate_err.vv vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
map_init_wrong_type.out vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
map_init_wrong_type.vv vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
map_of_generic_struct_init_err.out checker: check error for map of generic struct init (#13999) 2022-04-11 10:07:23 +03:00
map_of_generic_struct_init_err.vv checker: check error for map of generic struct init (#13999) 2022-04-11 10:07:23 +03:00
map_ops.out parser: remove the 'non-string keys are work in progress' warning 2021-01-22 12:25:17 +02:00
map_ops.vv
map_unknown_value.out checker: stricter `unknown type` checks, show better suggestions (#8816) 2021-02-19 11:23:13 +02:00
map_unknown_value.vv
match_alias_type_err.out checker: check `match` with type alias (#10863) 2021-07-20 15:06:36 +03:00
match_alias_type_err.vv checker: check `match` with type alias (#10863) 2021-07-20 15:06:36 +03:00
match_cond_with_parenthesis_err.out checker: check error for match conditions with parenthesis (#13130) 2022-01-11 09:50:20 +02:00
match_cond_with_parenthesis_err.vv checker: check error for match conditions with parenthesis (#13130) 2022-01-11 09:50:20 +02:00
match_duplicate_branch.out parser: fix sumtype match with array type (#7939) 2021-01-07 20:12:35 +01:00
match_duplicate_branch.vv
match_else_last_expr.out parser: fix sumtype match with array type (#7939) 2021-01-07 20:12:35 +01:00
match_else_last_expr.vv
match_expr_and_expected_type_error.out checker: check `match` with type alias (#10863) 2021-07-20 15:06:36 +03:00
match_expr_and_expected_type_error.vv
match_expr_else.out parser: fix sumtype match with array type (#7939) 2021-01-07 20:12:35 +01:00
match_expr_else.vv
match_expr_empty_branch.out checker: check for empty branches in match expressions (#10593) 2021-06-28 19:32:28 +03:00
match_expr_empty_branch.vv checker: check for empty branches in match expressions (#10593) 2021-06-28 19:32:28 +03:00
match_expr_non_void_stmt_last.out checker: check for empty branches in match expressions (#10593) 2021-06-28 19:32:28 +03:00
match_expr_non_void_stmt_last.vv checker: check for empty branches in match expressions (#10593) 2021-06-28 19:32:28 +03:00
match_expr_range_low_higher_than_high.out checker: add a warning if start value is higher than end value (#12602) 2021-11-28 18:46:52 +02:00
match_expr_range_low_higher_than_high.vv checker: add a warning if start value is higher than end value (#12602) 2021-11-28 18:46:52 +02:00
match_invalid_type.out checker: fix tests (adjust byte to u8 in .out files too) 2022-04-17 12:14:30 +02:00
match_invalid_type.vv checker: fix tests (adjust byte to u8 in .out files too) 2022-04-17 12:14:30 +02:00
match_mut_with_immutable_var_err.out checker: fix tests (adjust byte to u8 in .out files too) 2022-04-17 12:14:30 +02:00
match_mut_with_immutable_var_err.vv checker: fix tests (adjust byte to u8 in .out files too) 2022-04-17 12:14:30 +02:00
match_range_mismatch_type_err.out checker: check type in match range (fix #11337) (#11389) 2021-09-05 04:50:43 +03:00
match_range_mismatch_type_err.vv checker: check type in match range (fix #11337) (#11389) 2021-09-05 04:50:43 +03:00
match_return_mismatch_type_err.out
match_return_mismatch_type_err.vv
match_return_sumtype_mismatch_err.out checker: check the sumtype mismatch returned by match expr (#13751) 2022-03-16 09:31:38 +02:00
match_return_sumtype_mismatch_err.vv checker: check the sumtype mismatch returned by match expr (#13751) 2022-03-16 09:31:38 +02:00
match_sumtype_multiple_types.out
match_sumtype_multiple_types.vv
match_undefined_cond.out checker: check `match` with type alias (#10863) 2021-07-20 15:06:36 +03:00
match_undefined_cond.vv
method_array_slice.out checker: error on a.slice(x,y) outside `builtin` 2021-01-19 15:55:52 +02:00
method_array_slice.vv checker: error on a.slice(x,y) outside `builtin` 2021-01-19 15:55:52 +02:00
method_call_with_empty_struct_init.out checker: add an error for `x.method({})` calls, when method expects a struct 2021-11-19 13:30:45 +02:00
method_call_with_empty_struct_init.vv checker: add an error for `x.method({})` calls, when method expects a struct 2021-11-19 13:30:45 +02:00
method_generic_infer_err.out checker: fix panic in generic methods (#7944) 2021-01-08 00:50:59 +01:00
method_generic_infer_err.vv checker: fix panic in generic methods (#7944) 2021-01-08 00:50:59 +01:00
method_op_alias_err.out checker: fix `for in mut val` for floats (#10470) 2021-06-16 04:04:31 +03:00
method_op_alias_err.vv cgen: allow assignment operators for type aliases (#8086) 2021-01-15 02:27:19 +01:00
method_op_err.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
method_op_err.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
method_wrong_arg_type.out checker: show position for variadic/shared/method argument errors (#8939) 2021-02-24 19:35:32 +01:00
method_wrong_arg_type.vv checker: only allow passing integer *literal* to non-integer pointer method parameter (#8825) 2021-02-19 14:14:40 +02:00
minus_op_wrong_type_err.out scanner, cgen: improve support for escape codes in backticks/runes (#13127) 2022-01-11 22:36:18 +02:00
minus_op_wrong_type_err.vv checker: make sure negation is only used with numeric types (#9854) 2021-04-23 15:18:56 +03:00
mismatched_ptr_op_ptr.out checker: disallow invalid pointer arithmetic (#10888) 2021-07-21 23:39:49 +03:00
mismatched_ptr_op_ptr.vv
missing_c_lib_header_1.out
missing_c_lib_header_1.vv
missing_c_lib_header_with_explanation_2.out
missing_c_lib_header_with_explanation_2.vv
misspelled_mod_fn_name_should_have_suggestion.out checker: add suggestions for misspelled `mod.func_name()` calls 2022-04-03 20:07:52 +03:00
misspelled_mod_fn_name_should_have_suggestion.vv checker: add suggestions for misspelled `mod.func_name()` calls 2022-04-03 20:07:52 +03:00
mod_op_wrong_type_err.out checker: improve error position of infix expr (#8828) 2021-02-19 12:38:41 +02:00
mod_op_wrong_type_err.vv
module_not_at_same_line_err.out
module_not_at_same_line_err.vv
mul_op_wrong_type_err.out checker: improve error position of infix expr (#8828) 2021-02-19 12:38:41 +02:00
mul_op_wrong_type_err.vv
multi_const_field_name_duplicate_err.out
multi_const_field_name_duplicate_err.vv
multi_names_err.out parser: fix checking unexpected name (#12233) 2021-10-19 12:27:59 +03:00
multi_names_err.vv
multi_value_method_err.out checker: reject method that have multi-value type receiver (#8696) 2021-02-15 17:55:54 +02:00
multi_value_method_err.vv checker: reject method that have multi-value type receiver (#8696) 2021-02-15 17:55:54 +02:00
multiple_pointer_yield_err.out checker: forbid multiple pointer yields (#11105) 2021-08-09 02:11:53 +03:00
multiple_pointer_yield_err.vv checker: forbid multiple pointer yields (#11105) 2021-08-09 02:11:53 +03:00
mut_arg.out checker: make the misssing shared/mut modifer in fn and method calls error clearer 2022-03-30 01:45:40 +03:00
mut_arg.vv
mut_args_warning.out
mut_args_warning.vv
mut_array_get_element_address_err.out scanner, cgen: improve support for escape codes in backticks/runes (#13127) 2022-01-11 22:36:18 +02:00
mut_array_get_element_address_err.vv
mut_assign_ref.out checker: disallow `mut_ptr = &immutable_var` (#13814) 2022-03-24 20:43:25 +02:00
mut_assign_ref.vv checker: disallow `mut_ptr = &immutable_var` (#13814) 2022-03-24 20:43:25 +02:00
mut_int.out ci: fix the content of mut_int.out 2021-03-26 15:02:30 +02:00
mut_int.vv
mut_interface_param_err.out checker: make the misssing shared/mut modifer in fn and method calls error clearer 2022-03-30 01:45:40 +03:00
mut_interface_param_err.vv checker: check mut interface arguments (#13479) 2022-02-16 11:53:41 +02:00
mut_map_get_value_address_err.out vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
mut_map_get_value_address_err.vv vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
mut_receiver.out parser: improve the position of mut receiver warning / error (#8240) 2021-01-22 09:38:37 +02:00
mut_receiver.vv parser: improve the position of mut receiver warning / error (#8240) 2021-01-22 09:38:37 +02:00
mut_receiver_lit.out checker: prohibit using non-lvalue as mut receiver (#10790) 2021-07-16 13:03:40 +03:00
mut_receiver_lit.vv checker: prohibit using non-lvalue as mut receiver (#10790) 2021-07-16 13:03:40 +03:00
mut_receiver_wrong_return_type.out v.checker: fix return type checking being skipped for mutable method receivers (#12043) 2021-10-02 23:26:46 +03:00
mut_receiver_wrong_return_type.vv v.checker: fix return type checking being skipped for mutable method receivers (#12043) 2021-10-02 23:26:46 +03:00
negative_assign_to_unsigned.out checker: fix negative values for unsigned integers (#10976) 2021-07-30 03:27:59 +03:00
negative_assign_to_unsigned.vv checker: fix negative values for unsigned integers (#10976) 2021-07-30 03:27:59 +03:00
nested_aliases.out checker: fix position of unknown type errors (#10110) 2021-05-16 04:51:23 +03:00
nested_aliases.vv
no_heap_struct.out all: various fixes for [heap]/auto-heap handling (#10033) 2021-05-07 15:58:48 +03:00
no_heap_struct.vv all: various fixes for [heap]/auto-heap handling (#10033) 2021-05-07 15:58:48 +03:00
no_interface_instantiation_a.out
no_interface_instantiation_a.vv
no_interface_instantiation_b.out parser: deprecate short struct init (#10842) 2021-07-20 11:17:08 +03:00
no_interface_instantiation_b.vv parser: deprecate short struct init (#10842) 2021-07-20 11:17:08 +03:00
no_interface_instantiation_c.out
no_interface_instantiation_c.vv
no_interface_str.out
no_interface_str.vv
no_main_mod.out
no_main_mod.vv
no_main_println_err.out
no_main_println_err.vv
no_method_on_interface_propagation.out checker: improve error message when using fields as methods (#10367) 2021-06-12 15:15:25 +03:00
no_method_on_interface_propagation.vv checker, cgen: add sumtype-like smartcasting capabilites to interfaces (#9256) 2021-04-09 11:00:05 +03:00
no_pub_in_main.out
no_warning_for_in_mut_var_unused.out checker: fix for_in mut var unused warning (#10008) 2021-05-05 14:11:32 +03:00
no_warning_for_in_mut_var_unused.vv checker: fix for_in mut var unused warning (#10008) 2021-05-05 14:11:32 +03:00
non_lvalue_as_voidptr.out checker: prohibit passing non-lvalue as `voidptr` (#10838) 2021-07-18 15:04:16 +03:00
non_lvalue_as_voidptr.vv checker: prohibit passing non-lvalue as `voidptr` (#10838) 2021-07-18 15:04:16 +03:00
non_matching_functional_args.out checker,builder: rename `details:` to `Details:` 2021-01-30 10:20:09 +02:00
non_matching_functional_args.vv
none_type_cast_err.out
none_type_cast_err.vv
noreturn_with_non_empty_loop_at_end.out checker: `[noreturn]` part 2 (cleanup) (#10667) 2021-07-05 05:05:37 +03:00
noreturn_with_non_empty_loop_at_end.vv all: support `[noreturn] fn abc() { for{} }`, mark panic/1 and exit/1with it too. (#10654) 2021-07-04 20:24:19 +03:00
noreturn_with_return.out checker: `[noreturn]` part 2 (cleanup) (#10667) 2021-07-05 05:05:37 +03:00
noreturn_with_return.vv all: support `[noreturn] fn abc() { for{} }`, mark panic/1 and exit/1with it too. (#10654) 2021-07-04 20:24:19 +03:00
noreturn_without_loop_or_another_noreturn_at_end.out checker: `[noreturn]` part 2 (cleanup) (#10667) 2021-07-05 05:05:37 +03:00
noreturn_without_loop_or_another_noreturn_at_end.vv all: support `[noreturn] fn abc() { for{} }`, mark panic/1 and exit/1with it too. (#10654) 2021-07-04 20:24:19 +03:00
oct_lit_without_digit_err.out
oct_lit_without_digit_err.vv
oct_lit_wrong_digit_err.out
oct_lit_wrong_digit_err.vv
optional_fn_err.out checker: temporary error for optional struct fields (#11293) (#11534) 2021-09-18 23:22:24 +03:00
optional_fn_err.vv checker: fix unchecked optional in match condition (#10041) 2021-05-08 13:33:13 +03:00
optional_in_println_mismatch.out checker: check or block inside println calls (#10354) 2021-06-05 23:01:58 +03:00
optional_in_println_mismatch.vv checker: check or block inside println calls (#10354) 2021-06-05 23:01:58 +03:00
optional_interface_mismatch.out checker: check optional interface type mismatch (#10617) 2021-06-30 08:54:28 +03:00
optional_interface_mismatch.vv checker: check optional interface type mismatch (#10617) 2021-06-30 08:54:28 +03:00
optional_or_block_mismatch.out
optional_or_block_mismatch.vv
optional_or_block_none_err.out checker: fix tests (adjust byte to u8 in .out files too) 2022-04-17 12:14:30 +02:00
optional_or_block_none_err.vv tests: use u8 everywhere 2022-04-17 12:14:29 +02:00
optional_or_block_returns_value_of_incompatible_type.out types: rename `any_*`, `untyped *` -> `* literal` (#7845) 2021-01-04 00:11:09 +02:00
optional_or_block_returns_value_of_incompatible_type.vv
optional_propagate_nested.out checker: support nested propagation cases `f(g() ?)` (#8447) 2021-01-30 16:53:31 +01:00
optional_propagate_nested.vv checker: support nested propagation cases `f(g() ?)` (#8447) 2021-01-30 16:53:31 +01:00
optional_type_call_err.out
optional_type_call_err.vv
or_err.out checker: fix error for 'or expr with nested match expr' (#13658) 2022-03-05 13:06:08 +02:00
or_err.vv
or_expr_types_mismatch.out vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
or_expr_types_mismatch.vv vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
orm_empty_struct.out orm: fix empty struct and simplify (#8246) 2021-01-22 23:28:26 +01:00
orm_empty_struct.vv orm: fix empty struct and simplify (#8246) 2021-01-22 23:28:26 +01:00
orm_not_a_struct.out checker: fix orm cast check (#12018) 2021-09-30 00:43:08 +03:00
orm_not_a_struct.vv checker: fix orm cast check (#12018) 2021-09-30 00:43:08 +03:00
orm_using_undefined_var_in_where_err.out parser: check orm sql statements, using undefined variables in where expr (fix #13367) (#13368) 2022-02-05 11:32:41 +02:00
orm_using_undefined_var_in_where_err.vv parser: check orm sql statements, using undefined variables in where expr (fix #13367) (#13368) 2022-02-05 11:32:41 +02:00
os_prefix.out checker: fix looking for unprefixed `os` functions (#9968) 2021-05-02 21:46:12 +03:00
os_prefix.vv checker: fix looking for unprefixed `os` functions (#9968) 2021-05-02 21:46:12 +03:00
overflow_int_err.out parser: parse `-1` and `-13.3` as number literals (#8321) 2021-01-24 22:09:51 +01:00
overflow_int_err.vv
overload_return_type.out
overload_return_type.vv
oversized_int_lit.out checker: check integer literals (#10706) 2021-07-09 14:02:10 +03:00
oversized_int_lit.vv checker: check integer literals (#10706) 2021-07-09 14:02:10 +03:00
pass_mut_lit.out checker: check that `mut` args are lvalues (#10779) 2021-07-13 08:06:39 +03:00
pass_mut_lit.vv checker: check that `mut` args are lvalues (#10779) 2021-07-13 08:06:39 +03:00
passing_expr_to_fn_expecting_voidptr.out checker: prohibit passing non-lvalue as `voidptr` (#10838) 2021-07-18 15:04:16 +03:00
passing_expr_to_fn_expecting_voidptr.vv checker: prohibit passing non-lvalue as `voidptr` (#10838) 2021-07-18 15:04:16 +03:00
pointer_ops.out checker: fix non-numeric type check for translated code 2022-04-04 04:59:14 +03:00
pointer_ops.vv checker: fix non-numeric type check for translated code 2022-04-04 04:59:14 +03:00
prefix_err.out docs: fix functions in array/map example (#8695) 2021-02-12 21:10:54 +02:00
prefix_err.vv checker: support ParExpr for trying to take address errors & simplify messages 2021-02-13 02:49:22 +11:00
prefix_expr_decl_assign_err.out fmt: keep single empty lines (#8189) 2021-01-19 14:49:40 +01:00
prefix_expr_decl_assign_err.vv
print_char.out checker: prohibit `char.str()`, add tests (#10615) 2021-06-30 08:16:31 +03:00
print_char.vv checker: prohibit `char.str()`, add tests (#10615) 2021-06-30 08:16:31 +03:00
println_can_not_print_void_expressions.out checker: add error for `print( voidfn() )` 2021-03-02 17:54:38 +02:00
println_can_not_print_void_expressions.vv checker: add error for `print( voidfn() )` 2021-03-02 17:54:38 +02:00
propagate_option_with_result_err.out all: basic implementation of result type (#14140) 2022-04-30 16:26:27 +02:00
propagate_option_with_result_err.vv all: basic implementation of result type (#14140) 2022-04-30 16:26:27 +02:00
propagate_result_with_option.out all: basic implementation of result type (#14140) 2022-04-30 16:26:27 +02:00
propagate_result_with_option.vv all: basic implementation of result type (#14140) 2022-04-30 16:26:27 +02:00
ptr_assign.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
ptr_assign.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
ptr_slice.out checker: fix tests (adjust byte to u8 in .out files too) 2022-04-17 12:14:30 +02:00
ptr_slice.vv tests: use u8 everywhere 2022-04-17 12:14:29 +02:00
receiver_unknown_type_single_letter.out checker: fix position of unknown type errors (#10110) 2021-05-16 04:51:23 +03:00
receiver_unknown_type_single_letter.vv parser: ensure generic function declaration specifies type names (fix #9959) (#9967) 2021-05-02 19:30:39 +03:00
recursive_interface_err.out checker: force interface init (#10910) 2021-07-30 03:18:20 +03:00
recursive_interface_err.vv checker: force interface init (#10910) 2021-07-30 03:18:20 +03:00
redefining_builtin_pub_functions.out checker: error on redefining any of the public builtin functions, not just ['print', 'println', 'eprint', 'eprintln', 'isnil', 'panic', 'exit'] (#13419) 2022-02-10 12:26:30 +02:00
redefining_builtin_pub_functions.vv checker: error on redefining any of the public builtin functions, not just ['print', 'println', 'eprint', 'eprintln', 'isnil', 'panic', 'exit'] (#13419) 2022-02-10 12:26:30 +02:00
redundant_parentheses_warning.out checker: check using redundant parentheses (#11228) 2021-08-18 13:49:50 +03:00
redundant_parentheses_warning.vv checker: check using redundant parentheses (#11228) 2021-08-18 13:49:50 +03:00
reference_field_must_be_initialized.out
reference_field_must_be_initialized.vv
reference_return.out
reference_return.vv
require_or_block_sumtype_map.err.out v.checker: fix spurious warning for `if x := map_of_sumtypes[k] {}` 2021-09-15 15:42:28 +03:00
require_or_block_sumtype_map.err.vv v.checker: fix spurious warning for `if x := map_of_sumtypes[k] {}` 2021-09-15 15:42:28 +03:00
return_count_mismatch.out checker: improve errors for `return` count mismatch (#8686) 2021-02-12 01:47:11 +02:00
return_count_mismatch.vv checker: improve errors for `return` count mismatch (#8686) 2021-02-12 01:47:11 +02:00
return_duplicate_with_none_err_a.out
return_duplicate_with_none_err_a.vv
return_duplicate_with_none_err_b.out
return_duplicate_with_none_err_b.vv
return_fixed_array.out checker: prohibit returning a fixed array (#10882) 2021-07-21 11:39:22 +03:00
return_fixed_array.vv checker: prohibit returning a fixed array (#10882) 2021-07-21 11:39:22 +03:00
return_missing_comp_if.out
return_missing_comp_if.vv
return_missing_comp_if_nested.out
return_missing_comp_if_nested.vv
return_missing_if_else_simple.out
return_missing_if_else_simple.vv
return_missing_if_match.out
return_missing_if_match.vv
return_missing_match_if.out
return_missing_match_if.vv
return_missing_match_simple.out parser: forbid empty match statements 'match cond.op {else {}}' (#12618) 2021-11-30 09:32:48 +02:00
return_missing_match_simple.vv
return_missing_nested.out
return_missing_nested.vv
return_missing_simple.out
return_missing_simple.vv
return_ref_as_no_ref_bug.out
return_ref_as_no_ref_bug.vv
return_type.out types: rename `any_*`, `untyped *` -> `* literal` (#7845) 2021-01-04 00:11:09 +02:00
return_type.vv
return_void_type_err.out v.checker: check fn returning void type (fix #12076) (#12078) 2021-10-06 21:04:33 +03:00
return_void_type_err.vv v.checker: check fn returning void type (fix #12076) (#12078) 2021-10-06 21:04:33 +03:00
return_working_comp_if.out
return_working_comp_if.vv
return_working_comp_if_nested.out
return_working_comp_if_nested.vv
return_working_if_match.out
return_working_if_match.vv
return_working_match_if.out
return_working_match_if.vv
return_working_nested.out
return_working_nested.vv
return_working_simple.out
return_working_simple.vv
return_working_two_if.out
return_working_two_if.vv
return_working_unsafe.out
return_working_unsafe.vv
right_hand_side_mut.out checker: disallow `mut` keyword in right-hand side of assignment (#12318) 2021-10-29 12:03:05 +03:00
right_hand_side_mut.vv checker: disallow `mut` keyword in right-hand side of assignment (#12318) 2021-10-29 12:03:05 +03:00
rshift_op_wrong_left_type_err.out checker: disallow array append in an expression (#9265) 2021-03-12 16:09:01 +01:00
rshift_op_wrong_left_type_err.vv
rshift_op_wrong_right_type_err.out types: rename `any_*`, `untyped *` -> `* literal` (#7845) 2021-01-04 00:11:09 +02:00
rshift_op_wrong_right_type_err.vv
selective_const_import.out checker: prohibit selective const imports (#10574) 2021-06-26 18:09:52 +03:00
selective_const_import.vv checker: prohibit selective const imports (#10574) 2021-06-26 18:09:52 +03:00
selector_expr_assign.out
selector_expr_assign.vv
selector_expr_optional_err.out checker: improve checking of a << b, when a and b are numbers (#12589) 2021-11-29 03:48:49 +03:00
selector_expr_optional_err.vv checker: improve checking of a << b, when a and b are numbers (#12589) 2021-11-29 03:48:49 +03:00
shared_bad_args.out shared: support `lock` on SelectorExpression (#10105) 2021-05-15 04:34:27 +03:00
shared_bad_args.vv vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
shared_element_lock.out shared: support `lock` on SelectorExpression (#10105) 2021-05-15 04:34:27 +03:00
shared_element_lock.vv checker: check write access to shared elements of `struct` and `array` (#9314) 2021-03-15 15:54:06 +02:00
shared_lock.out checker: show position for variadic/shared/method argument errors (#8939) 2021-02-24 19:35:32 +01:00
shared_lock.vv checker: show position for variadic/shared/method argument errors (#8939) 2021-02-24 19:35:32 +01:00
shared_type_mismatch.out fmt: enable shared return types (#8614) 2021-02-06 21:25:06 +01:00
shared_type_mismatch.vv fmt: enable shared return types (#8614) 2021-02-06 21:25:06 +01:00
shift_op_wrong_left_type_err.out checker: disallow array append in an expression (#9265) 2021-03-12 16:09:01 +01:00
shift_op_wrong_left_type_err.vv
shift_op_wrong_right_type_err.out types: rename `any_*`, `untyped *` -> `* literal` (#7845) 2021-01-04 00:11:09 +02:00
shift_op_wrong_right_type_err.vv
shift_ops_expressions.out checker: improve checking of a << b, when a and b are numbers (#12589) 2021-11-29 03:48:49 +03:00
shift_ops_expressions.vv checker: improve checking of a << b, when a and b are numbers (#12589) 2021-11-29 03:48:49 +03:00
short_struct_wrong_number.out
short_struct_wrong_number.vv
slice_reassignment.out checker: add an error for assigning to array slices `a[..2] = [0, 0]` (#10412) 2021-06-10 19:18:14 +03:00
slice_reassignment.vv checker: add an error for assigning to array slices `a[..2] = [0, 0]` (#10412) 2021-06-10 19:18:14 +03:00
sort_method_called_on_immutable_receiver.out
sort_method_called_on_immutable_receiver.vv
static_vars_in_translated_mode.out v.parser, v.checker, v.gen: add support for [translated] tag (#13373) 2022-02-06 00:16:02 +02:00
static_vars_in_translated_mode.vv fmt: fix support for `mut static x := 42` 2021-02-28 19:40:21 +02:00
store_string_err.out checker: string != IError (#10665) 2021-07-05 05:05:08 +03:00
store_string_err.vv checker: string != IError (#10665) 2021-07-05 05:05:08 +03:00
str_method_0_arguments.out
str_method_0_arguments.vv
str_method_return_string.out
str_method_return_string.vv
string_escape_u_err_a.out
string_escape_u_err_a.vv
string_escape_u_err_b.out
string_escape_u_err_b.vv
string_escape_x_err_a.out scanner, cgen: improve support for escape codes in backticks/runes (#13127) 2022-01-11 22:36:18 +02:00
string_escape_x_err_a.vv
string_escape_x_err_b.out scanner, cgen: improve support for escape codes in backticks/runes (#13127) 2022-01-11 22:36:18 +02:00
string_escape_x_err_b.vv
string_index_assign_error.out
string_index_assign_error.vv
string_index_non_int_err.out
string_index_non_int_err.vv
string_interpolation_invalid_fmt.out
string_interpolation_invalid_fmt.vv
string_interpolation_wrong_fmt.out
string_interpolation_wrong_fmt.vv
struct_assigned_to_pointer_to_struct.out parser: deprecate short struct init (#10842) 2021-07-20 11:17:08 +03:00
struct_assigned_to_pointer_to_struct.vv parser: deprecate short struct init (#10842) 2021-07-20 11:17:08 +03:00
struct_cast_to_struct_generic_err.out checker: allow `Struct{...expr}` where `expr` is another struct type (#8495) 2021-02-01 20:08:25 +01:00
struct_cast_to_struct_generic_err.vv
struct_cast_to_struct_mut_err_a.out checker: allow `Struct{...expr}` where `expr` is another struct type (#8495) 2021-02-01 20:08:25 +01:00
struct_cast_to_struct_mut_err_a.vv
struct_cast_to_struct_mut_err_b.out checker: allow `Struct{...expr}` where `expr` is another struct type (#8495) 2021-02-01 20:08:25 +01:00
struct_cast_to_struct_mut_err_b.vv
struct_cast_to_struct_pub_err_a.out checker: allow `Struct{...expr}` where `expr` is another struct type (#8495) 2021-02-01 20:08:25 +01:00
struct_cast_to_struct_pub_err_a.vv
struct_cast_to_struct_pub_err_b.out checker: allow `Struct{...expr}` where `expr` is another struct type (#8495) 2021-02-01 20:08:25 +01:00
struct_cast_to_struct_pub_err_b.vv
struct_embed_invalid_type.out
struct_embed_invalid_type.vv
struct_field_init_with_nobody_anon_fn_err.out checker: check error for struct field init with nobody anon fn (#13777) 2022-03-20 13:04:31 +02:00
struct_field_init_with_nobody_anon_fn_err.vv checker: check error for struct field init with nobody anon fn (#13777) 2022-03-20 13:04:31 +02:00
struct_field_name_duplicate_err.out
struct_field_name_duplicate_err.vv
struct_field_name_err.out checker: check struct field name using uppercase letters (#14220) 2022-04-29 21:38:24 +02:00
struct_field_name_err.vv checker: check struct field name using uppercase letters (#14220) 2022-04-29 21:38:24 +02:00
struct_field_reference_type_err.out checker: check struct field reference type mismatch (#13575) 2022-02-23 11:53:22 +03:00
struct_field_reference_type_err.vv checker: check struct field reference type mismatch (#13575) 2022-02-23 11:53:22 +03:00
struct_field_type_err.out ast: fix bug where fn_signature return wrong str for variadic arg (#9993) 2021-05-04 12:33:24 +03:00
struct_field_type_err.vv ast: fix bug where fn_signature return wrong str for variadic arg (#9993) 2021-05-04 12:33:24 +03:00
struct_field_with_any_type_err.out checker: check struct field using 'any' type (#12489) 2021-11-17 11:42:05 +02:00
struct_field_with_any_type_err.vv checker: check struct field using 'any' type (#12489) 2021-11-17 11:42:05 +02:00
struct_init_update_type_err.out checker: allow `Struct{...expr}` where `expr` is another struct type (#8495) 2021-02-01 20:08:25 +01:00
struct_init_update_type_err.vv checker: allow `Struct{...expr}` where `expr` is another struct type (#8495) 2021-02-01 20:08:25 +01:00
struct_pub_field.out
struct_pub_field.vv
struct_required_field.out
struct_required_field.vv
struct_required_fn_field.out parser: fix required function members in struct (#10299) 2021-06-03 02:55:58 +03:00
struct_required_fn_field.vv parser: fix required function members in struct (#10299) 2021-06-03 02:55:58 +03:00
struct_type_cast_err.out checker: fix tests (adjust byte to u8 in .out files too) 2022-04-17 12:14:30 +02:00
struct_type_cast_err.vv tests: use u8 everywhere 2022-04-17 12:14:29 +02:00
struct_unknown_field.out
struct_unknown_field.vv
struct_unneeded_default.out
struct_unneeded_default.vv
sum.out checker: implement if smartcast multi conds (part 2) (#10487) 2021-06-17 12:27:31 +03:00
sum.vv checker: implement if smartcast multi conds (part 2) (#10487) 2021-06-17 12:27:31 +03:00
sum_type_assign_non_variant_err.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
sum_type_assign_non_variant_err.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
sum_type_common_fields_alias_error.out checker: allow accessing fields common to all sumtype members (#9201) 2021-03-09 19:16:18 +02:00
sum_type_common_fields_alias_error.vv checker: allow accessing fields common to all sumtype members (#9201) 2021-03-09 19:16:18 +02:00
sum_type_common_fields_error.out checker: allow accessing fields common to all sumtype members (#9201) 2021-03-09 19:16:18 +02:00
sum_type_common_fields_error.vv checker: allow accessing fields common to all sumtype members (#9201) 2021-03-09 19:16:18 +02:00
sum_type_exists.out checker: fix position of unknown type errors (#10110) 2021-05-16 04:51:23 +03:00
sum_type_exists.vv checker: fix position of unknown type errors (#10110) 2021-05-16 04:51:23 +03:00
sum_type_infix_err.out checker, cgen: fix `for in mut val` (#10444) 2021-06-15 04:43:10 +03:00
sum_type_infix_err.vv checker, cgen: fix `for in mut val` (#10444) 2021-06-15 04:43:10 +03:00
sum_type_multiple_type_define.out
sum_type_multiple_type_define.vv
sum_type_mutable_cast_err.out
sum_type_mutable_cast_err.vv
sum_type_ref_variant_err.out scanner: multibyte rune literals now support unicode, hex, and octal escape codes (#13140) 2022-01-19 03:23:25 +03:00
sum_type_ref_variant_err.vv
sumtype_as_mismatched_type.out checker: check sumtype as mismatched type (#12743) 2021-12-07 01:31:47 +03:00
sumtype_as_mismatched_type.vv checker: check sumtype as mismatched type (#12743) 2021-12-07 01:31:47 +03:00
sumtype_has_no_variant_suggestion.out checker: show available sumtype variants in match branches on typos 2022-03-18 11:50:28 +02:00
sumtype_has_no_variant_suggestion.vv checker: show available sumtype variants in match branches on typos 2022-03-18 11:50:28 +02:00
sumtype_in_sumtype_err.out checker: fix sumtype comparison and sumtype in itself (#9917) 2021-04-29 09:04:02 +03:00
sumtype_in_sumtype_err.vv checker: fix sumtype comparison and sumtype in itself (#9917) 2021-04-29 09:04:02 +03:00
sumtype_mismatch_of_aggregate_err.out table, checker: fix sumtype array appending aggregate type values (fix #11197) (#11258) 2021-08-21 17:18:01 +03:00
sumtype_mismatch_of_aggregate_err.vv table, checker: fix sumtype array appending aggregate type values (fix #11197) (#11258) 2021-08-21 17:18:01 +03:00
sumtype_mismatched_type.out checker: fix sumtype comparison and sumtype in itself (#9917) 2021-04-29 09:04:02 +03:00
sumtype_mismatched_type.vv checker: fix sumtype comparison and sumtype in itself (#9917) 2021-04-29 09:04:02 +03:00
test_functions_wrong_signature_test.out checker: report error for test functions that have parameters (#12500) 2021-11-18 08:33:28 +03:00
test_functions_wrong_signature_test.vv checker: report error for test functions that have parameters (#12500) 2021-11-18 08:33:28 +03:00
trailing_comma_struct_attr.out parser: improve printing of unexpected tokens (#8654) 2021-02-09 17:07:30 +02:00
trailing_comma_struct_attr.vv
type_cast_optional_err.out
type_cast_optional_err.vv
typedef_attr_v_struct_err.out checker/cgen: add checks and fix cgen for [typedef] for C structs (#8169) 2021-01-17 17:18:07 +02:00
typedef_attr_v_struct_err.vv checker/cgen: add checks and fix cgen for [typedef] for C structs (#8169) 2021-01-17 17:18:07 +02:00
undefined_ident_of_struct.out checker: check undefined ident of struct (#9164) 2021-03-07 14:09:38 +01:00
undefined_ident_of_struct.vv checker: check undefined ident of struct (#9164) 2021-03-07 14:09:38 +01:00
undefined_type_on_sumtype.out checker: ensure that the variant SubType exists (#14053) 2022-04-17 12:14:33 +02:00
undefined_type_on_sumtype.vv checker: ensure that the variant SubType exists (#14053) 2022-04-17 12:14:33 +02:00
unexpected_or.out all: basic implementation of result type (#14140) 2022-04-30 16:26:27 +02:00
unexpected_or.vv
unexpected_or_propagate.out all: basic implementation of result type (#14140) 2022-04-30 16:26:27 +02:00
unexpected_or_propagate.vv
unfinished_string.out
unfinished_string.vv
unimplemented_interface_a.out
unimplemented_interface_a.vv
unimplemented_interface_b.out checker: add an interface check for mutability, fixes #1081, fixes #7038 (#11963) 2021-10-11 15:41:31 +03:00
unimplemented_interface_b.vv
unimplemented_interface_c.out checker: add an interface check for mutability, fixes #1081, fixes #7038 (#11963) 2021-10-11 15:41:31 +03:00
unimplemented_interface_c.vv
unimplemented_interface_d.out checker: add an interface check for mutability, fixes #1081, fixes #7038 (#11963) 2021-10-11 15:41:31 +03:00
unimplemented_interface_d.vv
unimplemented_interface_e.out checker: add an interface check for mutability, fixes #1081, fixes #7038 (#11963) 2021-10-11 15:41:31 +03:00
unimplemented_interface_e.vv checker: check casting struct -> interface; disallow casting struct -> interface pointer (#8110) 2021-01-15 01:20:58 +01:00
unimplemented_interface_f.out checker: add an interface check for mutability, fixes #1081, fixes #7038 (#11963) 2021-10-11 15:41:31 +03:00
unimplemented_interface_f.vv
unimplemented_interface_g.out
unimplemented_interface_g.vv.disabled
unimplemented_interface_h.out checker: add mutability checks for interface fields; add tests (#8312) 2021-01-24 22:11:17 +01:00
unimplemented_interface_h.vv checker: add mutability checks for interface fields; add tests (#8312) 2021-01-24 22:11:17 +01:00
unimplemented_interface_i.out checker: add mutability checks for interface fields; add tests (#8312) 2021-01-24 22:11:17 +01:00
unimplemented_interface_i.vv checker: add mutability checks for interface fields; add tests (#8312) 2021-01-24 22:11:17 +01:00
unimplemented_interface_j.out checker: add mutability checks for interface fields; add tests (#8312) 2021-01-24 22:11:17 +01:00
unimplemented_interface_j.vv checker: add mutability checks for interface fields; add tests (#8312) 2021-01-24 22:11:17 +01:00
union_unsafe_fields.out checker: fix warning & allow assigning to a union field without unsafe (#7970) 2021-01-09 01:32:33 +01:00
union_unsafe_fields.vv checker: fix warning & allow assigning to a union field without unsafe (#7970) 2021-01-09 01:32:33 +01:00
unknown_array_element_type_b.out checker: stricter `unknown type` checks, show better suggestions (#8816) 2021-02-19 11:23:13 +02:00
unknown_array_element_type_b.vv
unknown_as_type.out checker: replace checking type exists with c.ensure_type_exists (#9100) 2021-03-04 12:28:48 +02:00
unknown_as_type.vv
unknown_comptime_expr.out tests: a minor grammar fix 2021-05-11 09:47:09 +03:00
unknown_comptime_expr.vv checker: check left selector expression in `$if left is right` (#8987) 2021-02-26 21:51:35 +01:00
unknown_field.out checker: improve error message when using fields as methods (#10367) 2021-06-12 15:15:25 +03:00
unknown_field.vv
unknown_function.out checker: add suggestions for misspelled `mod.func_name()` calls 2022-04-03 20:07:52 +03:00
unknown_function.vv checker: check using const var as function (#13006) 2022-01-01 09:15:43 +02:00
unknown_generic_type.out checker: require explicit return none (#8060) 2021-01-12 11:43:55 +01:00
unknown_generic_type.vv checker: require explicit return none (#8060) 2021-01-12 11:43:55 +01:00
unknown_method.out checker: improve error message when using fields as methods (#10367) 2021-06-12 15:15:25 +03:00
unknown_method.vv
unknown_method_suggest_name.out checker: prohibit illegal types in string interpolation literals (#10705) 2021-07-10 00:00:12 +03:00
unknown_method_suggest_name.vv
unknown_sizeof_type_err_a.out cgen: check unknown sizeof type (#8815) 2021-02-18 09:38:57 +02:00
unknown_sizeof_type_err_a.vv cgen: check unknown sizeof type (#8815) 2021-02-18 09:38:57 +02:00
unknown_sizeof_type_err_b.out cgen: check unknown sizeof type (#8815) 2021-02-18 09:38:57 +02:00
unknown_sizeof_type_err_b.vv cgen: check unknown sizeof type (#8815) 2021-02-18 09:38:57 +02:00
unknown_struct_field_suggest_name.out checker: prohibit illegal types in string interpolation literals (#10705) 2021-07-10 00:00:12 +03:00
unknown_struct_field_suggest_name.vv
unknown_struct_name.out checker: check for an unknown struct name (fix #8007) (#8010) 2021-01-10 21:16:53 +02:00
unknown_struct_name.vv checker: check for an unknown struct name (fix #8007) (#8010) 2021-01-10 21:16:53 +02:00
unknown_type_in_anon_fn.out checker: check error for unknown type in anon fn field of struct (#13778) 2022-03-20 13:28:35 +02:00
unknown_type_in_anon_fn.vv checker: check error for unknown type in anon fn field of struct (#13778) 2022-03-20 13:28:35 +02:00
unknown_var_assign.out
unknown_var_assign.vv
unnecessary_parenthesis.out
unnecessary_parenthesis.vv
unnecessary_parenthesis_of_reference.out parser: notice unnecessary parenthesis of reference (fix #11179) (#13739) 2022-03-15 16:11:53 +02:00
unnecessary_parenthesis_of_reference.vv parser: notice unnecessary parenthesis of reference (fix #11179) (#13739) 2022-03-15 16:11:53 +02:00
unreachable_code.out
unreachable_code.vv
unsafe_c_calls_should_be_checked.out
unsafe_c_calls_should_be_checked.vv
unsafe_fixed_array_assign.out checker: prohibit fixed array to fixed array assignment where elem_typ is a pointer (#10775) 2021-07-15 08:38:03 +03:00
unsafe_fixed_array_assign.vv checker: prohibit fixed array to fixed array assignment where elem_typ is a pointer (#10775) 2021-07-15 08:38:03 +03:00
unsafe_pointer_arithmetic_should_be_checked.out checker: disallow invalid pointer arithmetic (#10888) 2021-07-21 23:39:49 +03:00
unsafe_pointer_arithmetic_should_be_checked.vv
unsafe_required.out
unsafe_required.vv
unwrapped_optional_infix.out checker: improve error position of infix expr (#8828) 2021-02-19 12:38:41 +02:00
unwrapped_optional_infix.vv
use_deprecated_function_warning.out checker: warn for deprecated methods too (#8861) 2021-02-20 19:25:54 +02:00
use_deprecated_function_warning.vv checker: warn for deprecated methods too (#8861) 2021-02-20 19:25:54 +02:00
var_duplicate_const.out checker: check duplicate of a const name (#8396) 2021-01-28 18:34:55 +01:00
var_duplicate_const.vv checker: check duplicate of a const name (#8396) 2021-01-28 18:34:55 +01:00
var_eval_not_used.out
var_eval_not_used.vv
var_eval_not_used_scope.out
var_eval_not_used_scope.vv
var_used_before_declaration.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
var_used_before_declaration.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
void_fn_as_value.out
void_fn_as_value.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
void_function_assign_to_string.out
void_function_assign_to_string.vv
void_optional_err.out
void_optional_err.vv
vweb_routing_checks.out vweb: fix routing test 2021-01-08 05:59:23 +01:00
vweb_routing_checks.vv vweb: remove init_server() from all examples, tutorials, and tests 2021-08-03 16:03:16 +03:00
vweb_tmpl_used_var.out checker: remove vweb unused vars (#8180) 2021-01-21 11:09:19 +01:00
vweb_tmpl_used_var.vv vweb: make thread safe; checker: `$if T is Interface {` 2021-05-11 09:30:18 +03:00
warnings_for_string_c2v_calls.out parser: fix pointer cast expressions hack (#10777) 2021-07-13 12:01:24 +03:00
warnings_for_string_c2v_calls.vv parser: fix pointer cast expressions hack (#10777) 2021-07-13 12:01:24 +03:00
wrong_propagate_ret_type.out
wrong_propagate_ret_type.vv