1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/v/checker/tests
2023-07-13 11:56:11 +03:00
..
amod checker: show available sumtype variants in match branches on typos 2022-03-18 11:50:28 +02:00
anon_structs_visibility vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
comptime_env
globals checker: add missing check for global var on assignment to shared var (#18125) 2023-05-10 18:30:57 +03:00
globals_run cgen: fix nested struct generation for globals for gcc (#16614) 2022-12-08 21:38:01 +02:00
module_with_structs_with_deprecated_fields all: add support for struct field deprecation (#14527) 2022-05-26 00:44:18 +03:00
modules thirdparty: update all sokol and fontstash headers with their upstream versions (#16940) 2023-01-11 11:29:38 +02:00
returns
run checker, cgen: allow comptime ident is array of types (#18765) 2023-07-04 06:45:30 +03:00
templates checker: add an error for $tmpl function type mismatches (#18826) 2023-07-09 19:40:10 +03:00
with_check_option parser: improve error for fixed array, when it has len and cap attributes in the initialisation list (#16120) 2022-10-20 13:36:13 +03:00
.gitattributes
.gitignore tests: do not use -prod for compiling .vv files in vlib/v/checker/tests/ and vlib/v/parser/tests/ 2022-05-18 13:39:57 +03:00
a_test_file_with_0_test_fns_test.out
a_test_file_with_0_test_fns_test.vv
add_op_wrong_type_err.out
add_op_wrong_type_err.vv
addr.out cgen: add __addr (bootstraps #14818) (#15585) 2022-08-30 10:28:47 +03:00
addr.vv cgen: add __addr (bootstraps #14818) (#15585) 2022-08-30 10:28:47 +03:00
alias_array_possible_type_mismatch.out checker: allow + operator overrides for type aliases 2022-08-27 12:54:16 +03:00
alias_array_possible_type_mismatch.vv checker: allow + operator overrides for type aliases 2022-08-27 12:54:16 +03:00
alias_array_unknown_op_overloading_err.out
alias_array_unknown_op_overloading_err.vv
alias_map_unknown_op_overloading_err.out
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_to_option_err.out cgen: fix alias to option handling (#18490) 2023-06-20 11:55:25 +03:00
alias_to_option_err.vv cgen: fix alias to option handling (#18490) 2023-06-20 11:55:25 +03:00
alias_type_cast_option_result_unhandled_err.out checker, cgen, parser: fix Option/Result error messages (capitalized) (#17486) 2023-03-04 09:02:57 +03:00
alias_type_cast_option_result_unhandled_err.vv checker: check option and result handling in type-casted aliases (#16988) 2023-01-15 23:09:30 +02:00
alias_type_exists.out
alias_type_exists.vv
ambiguous_field_method_err.out tests: do not use -prod for compiling .vv files in vlib/v/checker/tests/ and vlib/v/parser/tests/ 2022-05-18 13:39:57 +03:00
ambiguous_field_method_err.vv
ambiguous_function_call.out
ambiguous_function_call.vv
anon_arg_redefinition_err.out parser: check for anonymous function param redefinitions (#17382) 2023-02-23 16:34:42 +02:00
anon_arg_redefinition_err.vv parser: check for anonymous function param redefinitions (#17382) 2023-02-23 16:34:42 +02:00
anon_fn_arg_type_err.out checker: make undefined ident error for closures more friendly (#18100) 2023-05-03 08:02:59 +03:00
anon_fn_arg_type_err.vv parser: check error of anon fn argument type (#13103) 2022-01-09 16:15:34 +02:00
anon_fn_without_body.out checker: always trigger error for anon fns without a body block (#16358) 2022-11-08 15:50:59 +02:00
anon_fn_without_body.vv checker: always trigger error for anon fns without a body block (#16358) 2022-11-08 15:50:59 +02:00
anon_struct_assign_err.out checker: add missing check for mismatch anon struct to typed struct (#18250) 2023-05-25 02:53:14 +02:00
anon_struct_assign_err.vv checker: add missing check for mismatch anon struct to typed struct (#18250) 2023-05-25 02:53:14 +02:00
anon_structs_visibility.out checker, parser, fmt: fix visibility of anon struct in different modules.(fix #15763) (#15787) 2022-09-18 18:08:33 +03:00
any_int_float_ban_err.out
any_int_float_ban_err.vv
append_err.out
append_err.vv
array_append_array_type_mismatch_err.out checker: fix tests (adjust byte to u8 in .out files too) 2022-04-15 20:15:03 +03:00
array_append_array_type_mismatch_err.vv tests: use u8 everywhere 2022-04-15 18:34:15 +03:00
array_assign_err.out checker: check unsafe array assign (fix #9651) (#15515) 2022-08-25 08:52:13 +03:00
array_assign_err.vv checker: check unsafe array assign (fix #9651) (#15515) 2022-08-25 08:52:13 +03:00
array_builtin_method_args_err.out checker: check array builtin method's arguments (#14119) 2022-04-21 12:51:04 +03:00
array_builtin_method_args_err.vv checker: check array builtin method's arguments (#14119) 2022-04-21 12:51:04 +03:00
array_builtin_redefinition.out
array_builtin_redefinition.vv
array_cmp_err.out
array_cmp_err.vv
array_contains_args_err.out checker: simplify checking array.contains() argument (#14133) 2022-04-22 22:34:13 +03:00
array_contains_args_err.vv checker: check error for arguments of array.contains() (#14102) 2022-04-20 11:00:59 +03: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_delete_imut_err.out checker: missing mutability check for array.delete calls (#18096) 2023-05-02 22:48:40 +03:00
array_delete_imut_err.vv checker: missing mutability check for array.delete calls (#18096) 2023-05-02 22:48:40 +03:00
array_delete_print_err.out checker: missing mutability check for array.delete calls (#18096) 2023-05-02 22:48:40 +03:00
array_delete_print_err.vv checker: missing mutability check for array.delete calls (#18096) 2023-05-02 22:48:40 +03:00
array_element_type.out
array_element_type.vv
array_fancy_sort_err.out all: change optional to result of io (#16075) 2022-10-16 09:28:57 +03:00
array_fancy_sort_err.vv all: change optional to result of io (#16075) 2022-10-16 09:28:57 +03:00
array_filter_arg_mismatch_err.out checker: check argument mismatch of array.filter/all/any() (#14273) 2022-05-03 16:56:18 +03:00
array_filter_arg_mismatch_err.vv checker: check argument mismatch of array.filter/all/any() (#14273) 2022-05-03 16:56:18 +03:00
array_filter_fn_err.out
array_filter_fn_err.vv
array_filter_map_array_expression_as_argument_err.out checker: disallow array append as expression in .map and `.filter methods (#15823) 2022-09-20 07:30:30 +03:00
array_filter_map_array_expression_as_argument_err.vv checker: disallow array append as expression in .map and `.filter methods (#15823) 2022-09-20 07:30:30 +03:00
array_filter_map_option_function_err.out all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
array_filter_map_option_function_err.vv all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
array_index_args_err.out checker: check error for array.index() argument (#14147) 2022-04-25 14:42:31 +03:00
array_index_args_err.vv checker: check error for array.index() argument (#14147) 2022-04-25 14:42:31 +03:00
array_index.out
array_index.vv
array_init_option_err.out checker: add check for unwrapped option in array cap (#17851) 2023-04-02 15:47:08 +02:00
array_init_option_err.vv checker: add check for unwrapped option in array cap (#17851) 2023-04-02 15:47:08 +02:00
array_init_ptr_non_ptr_elem_err.out checker: disallow non-ptr elem in init ptr array (#18161) 2023-05-12 08:56:22 +03:00
array_init_ptr_non_ptr_elem_err.vv checker: disallow non-ptr elem in init ptr array (#18161) 2023-05-12 08:56:22 +03:00
array_init_sum_type_without_init_value_and_len_err.out
array_init_sum_type_without_init_value_and_len_err.vv
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
array_insert_type_mismatch.vv
array_literal_modify_err.out
array_literal_modify_err.vv
array_map_arg_mismatch.out
array_map_arg_mismatch.vv
array_map_fn_err.out
array_map_fn_err.vv
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: improve error messages of missing generic type names (#16610) 2022-12-07 11:29:18 +02:00
array_of_generic_struct_init_err.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
array_of_interfaces_with_len_without_init.out
array_of_interfaces_with_len_without_init.vv
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 checker: check unsafe array assign (fix #9651) (#15515) 2022-08-25 08:52:13 +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_plus_assign_err.out checker: fix no error on plus-assigning array (fix #15544) (#15552) 2022-08-26 23:11:23 +03:00
array_plus_assign_err.vv checker: fix no error on plus-assigning array (fix #15544) (#15552) 2022-08-26 23:11:23 +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
array_prepend_type_mismatch.vv
array_sort_err.out
array_sort_err.vv
array_sort_struct_no_body_err.out
array_sort_struct_no_body_err.vv
array_sort_with_compare_err.out checker: improve error message of fn args mismatch (#15550) 2022-08-26 22:38:53 +03: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 parser: fix fn argument type position (#15102) 2022-07-17 10:55:20 +03: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
arraydecompose_arg_err.out cgen, checker: allow array decompose on non-variadic func call (e.g call(...arr)) (#17284) 2023-02-13 13:13:52 +02:00
arraydecompose_arg_err.vv cgen, checker: allow array decompose on non-variadic func call (e.g call(...arr)) (#17284) 2023-02-13 13:13:52 +02:00
arraydecompose_arg2_err.out cgen, checker: allow array decompose on non-variadic func call (e.g call(...arr)) (#17284) 2023-02-13 13:13:52 +02:00
arraydecompose_arg2_err.vv cgen, checker: allow array decompose on non-variadic func call (e.g call(...arr)) (#17284) 2023-02-13 13:13:52 +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
arrow_op_wrong_left_type_err_b.vv
arrow_op_wrong_right_type_err_a.out
arrow_op_wrong_right_type_err_a.vv
arrow_op_wrong_right_type_err_b.out checker: produce more informative error messages on ~,!,-,<- operator type mismatches 2022-10-16 20:27:40 +03:00
arrow_op_wrong_right_type_err_b.vv
as_cast_option_result_unhandled_err.out checker, cgen, parser: fix Option/Result error messages (capitalized) (#17486) 2023-03-04 09:02:57 +03:00
as_cast_option_result_unhandled_err.vv checker: check option and result handling in as casts (#17133) 2023-01-29 12:28:14 +02:00
asm_immutable_err.out
asm_immutable_err.vv
assert_extra_message.out all: support assert condition, extra_message, evaluating and showing extra_message on assert failure (#15322) 2022-08-03 01:14:01 +03:00
assert_extra_message.vv all: support assert condition, extra_message, evaluating and showing extra_message on assert failure (#15322) 2022-08-03 01:14:01 +03:00
assert_option_err.out all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
assert_option_err.vv all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
assign_anon_struct_to_typed_struct_err.out checker: disallow assigning anon struct to typed struct (#18017) 2023-04-27 16:54:26 +02:00
assign_anon_struct_to_typed_struct_err.vv checker: disallow assigning anon struct to typed struct (#18017) 2023-04-27 16:54:26 +02:00
assign_array_init_with_no_type.out
assign_array_init_with_no_type.vv
assign_deref_fn_call_on_left_side_err.out
assign_deref_fn_call_on_left_side_err.vv
assign_enum_at_comptime.out checker,json2: relax checking of x.enum = integer at comptime; refactor json2 to clean it up (#16926) 2023-01-11 10:18:45 +02:00
assign_enum_at_comptime.vv checker,json2: relax checking of x.enum = integer at comptime; refactor json2 to clean it up (#16926) 2023-01-11 10:18:45 +02: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
assign_expr_type_err_a.vv
assign_expr_type_err_b.out
assign_expr_type_err_b.vv
assign_expr_type_err_c.out
assign_expr_type_err_c.vv
assign_expr_type_err_d.out
assign_expr_type_err_d.vv
assign_expr_type_err_e.out
assign_expr_type_err_e.vv
assign_expr_type_err_f.out
assign_expr_type_err_f.vv
assign_expr_type_err_g.out
assign_expr_type_err_g.vv
assign_expr_type_err_h.out
assign_expr_type_err_h.vv
assign_expr_type_err_i.out
assign_expr_type_err_i.vv
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
assign_expr_undefined_err_g.vv
assign_expr_undefined_err_h.out
assign_expr_undefined_err_h.vv
assign_expr_undefined_err_i.out parser: disallow the array init: attr, when the len: attr is not provided (#16735) 2022-12-21 21:24:16 +02:00
assign_expr_undefined_err_i.vv parser: disallow the array init: attr, when the len: attr is not provided (#16735) 2022-12-21 21:24:16 +02:00
assign_expr_undefined_err_j.out
assign_expr_undefined_err_j.vv
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
assign_expr_unresolved_variables_err_chain.vv
assign_fn_call_on_left_side_err.out
assign_fn_call_on_left_side_err.vv
assign_generic_fn_err.out parser: fix parsing generic types using '[]' in anon fn decl (#16605) 2022-12-06 18:15:59 +02:00
assign_generic_fn_err.vv parser: fix parsing generic types using '[]' in anon fn decl (#16605) 2022-12-06 18:15:59 +02:00
assign_immutable_reference_var_err.out checker: stricter mutable reference check (fix #14803) (#14805) 2022-06-21 13:23:21 +03:00
assign_immutable_reference_var_err.vv checker: stricter mutable reference check (fix #14803) (#14805) 2022-06-21 13:23:21 +03:00
assign_immutable_reference_var_with_parenthesis_err.out checker: extend check assigning mut reference to immutable var in nested parens (#18442) 2023-06-15 02:07:25 +03:00
assign_immutable_reference_var_with_parenthesis_err.vv checker: extend check assigning mut reference to immutable var in nested parens (#18442) 2023-06-15 02:07:25 +03:00
assign_multi_immutable_err.out
assign_multi_immutable_err.vv
assign_multi_mismatch.out
assign_multi_mismatch.vv
assign_mut.out
assign_mut.vv
assign_none.out checker: rename test assing -> assign (#16446) 2022-11-16 14:46:36 +02:00
assign_none.vv checker: rename test assing -> assign (#16446) 2022-11-16 14:46:36 +02:00
assign_sumtype_err.out
assign_sumtype_err.vv
assign_sumtype2_err.out
assign_sumtype2_err.vv
assign_to_typeless_variable_err.out tests: do not use -prod for compiling .vv files in vlib/v/checker/tests/ and vlib/v/parser/tests/ 2022-05-18 13:39:57 +03: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
assign_with_dump_multireturn_value.out checker: check error for simple assignment with dumping of multireturn value (#15512) 2022-08-26 07:08:05 +03:00
assign_with_dump_multireturn_value.vv checker: check error for simple assignment with dumping of multireturn value (#15512) 2022-08-26 07:08:05 +03:00
auto_deref_assign_err.out checker: fix type checker on auto deref var (#18842) 2023-07-13 11:56:11 +03:00
auto_deref_assign_err.vv checker: fix type checker on auto deref var (#18842) 2023-07-13 11:56:11 +03:00
bad_types_in_string_inter_lit.out
bad_types_in_string_inter_lit.vv
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
bit_op_wrong_left_type_err.vv
bit_op_wrong_right_type_err.out
bit_op_wrong_right_type_err.vv
blank_ident_invalid_use.out
blank_ident_invalid_use.vv
blank_ident_select_branch_send_err.out checker: disallow _ = <- quit (#18104) 2023-05-04 21:23:34 +03:00
blank_ident_select_branch_send_err.vv checker: disallow _ = <- quit (#18104) 2023-05-04 21:23:34 +03:00
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
break_anon_fn_err.vv
c_fn_surplus_args.out
c_fn_surplus_args.vv tests: use u8 everywhere 2022-04-15 18:34:15 +03:00
cannot_assign_array.out
cannot_assign_array.vv
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 tests: do not use -prod for compiling .vv files in vlib/v/checker/tests/ and vlib/v/parser/tests/ 2022-05-18 13:39:57 +03:00
cannot_cast_to_struct.vv
cast_array_to_number_err.out checker: check option and result handling in type-casted aliases (#16988) 2023-01-15 23:09:30 +02:00
cast_array_to_number_err.vv checker: check option and result handling in type-casted aliases (#16988) 2023-01-15 23:09:30 +02:00
cast_err.out
cast_err.vv
cast_function_to_string_err.out checker: check error for cast function to string (#14375) 2022-05-12 10:04:38 +03:00
cast_function_to_string_err.vv checker: check error for cast function to string (#14375) 2022-05-12 10:04:38 +03:00
cast_string_err.out checker: fix tests (adjust byte to u8 in .out files too) 2022-04-15 20:15:03 +03:00
cast_string_err.vv tests: use u8 everywhere 2022-04-15 18:34:15 +03:00
cast_string_to_char_err.out checker: fix check omission in cast string to char. (fix #15760) (#15764) 2022-09-15 09:33:38 +03:00
cast_string_to_char_err.vv checker: fix check omission in cast string to char. (fix #15760) (#15764) 2022-09-15 09:33:38 +03: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_ptr_err.out checker: fix check omission in cast string to ptr. (fix #14921) (#15721) 2022-09-11 13:54:56 +03:00
cast_string_to_ptr_err.vv checker: fix check omission in cast string to ptr. (fix #14921) (#15721) 2022-09-11 13:54:56 +03: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-15 20:15:03 +03:00
cast_string_with_byte_err.vv
cast_sumtype_err.out checker: optimize casting sumtype error message (fix #14023) (#14877) 2022-06-28 17:13:58 +03:00
cast_sumtype_err.vv checker: optimize casting sumtype error message (fix #14023) (#14877) 2022-06-28 17:13:58 +03:00
cast_to_byte_err.out checker: fix tests (adjust byte to u8 in .out files too) 2022-04-15 20:15:03 +03:00
cast_to_byte_err.vv checker: fix tests (adjust byte to u8 in .out files too) 2022-04-15 20:15:03 +03:00
cast_to_interface_err.out checker: check error of casting to interface (fix #17522) (#17531) 2023-03-07 23:49:53 +03:00
cast_to_interface_err.vv checker: check error of casting to interface (fix #17522) (#17531) 2023-03-07 23:49:53 +03:00
cast_to_ref_struct_err.out checker: check cast to reference struct (fix #15590) (#15601) 2022-08-30 11:42:21 +03:00
cast_to_ref_struct_err.vv checker: check cast to reference struct (fix #15590) (#15601) 2022-08-30 11:42:21 +03:00
cast_void.out
cast_void.vv
cast_voidptr_to_struct_err.out all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
cast_voidptr_to_struct_err.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
casting_numbers_to_enums_outside_unsafe_err.out checker: allow EnumName(number) casts only inside unsafe{} blocks (#15932) 2022-10-02 22:39:11 +03:00
casting_numbers_to_enums_outside_unsafe_err.vv checker: allow EnumName(number) casts only inside unsafe{} blocks (#15932) 2022-10-02 22:39:11 +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
chan_elem_type_unknown.out ast: add elem_type_pos to ChanInit (#14873) 2022-06-28 08:30:02 +03:00
chan_elem_type_unknown.vv checker: check unknown chan element type (#14843) 2022-06-25 05:19:41 +03:00
chan_mut.out
chan_mut.vv
chan_ref.out
chan_ref.vv
char_str.out
char_str.vv
check_err_msg_with_generics.out checker: fix generic stack of sumtype push() (#16855) 2023-01-03 18:29:29 +02:00
check_err_msg_with_generics.vv all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
check_fn_init_as_mutable.out checker: improve mut arg error msg (#16540) 2022-11-27 07:07:35 +03:00
check_fn_init_as_mutable.vv checker: improve mut arg error msg (#16540) 2022-11-27 07:07:35 +03:00
check_incompatible_struct.out checker: disallow Bar{...foo} when Bar needs more fields, than what foo has (#16609) 2022-12-07 16:56:07 +02:00
check_incompatible_struct.vv checker: disallow Bar{...foo} when Bar needs more fields, than what foo has (#16609) 2022-12-07 16:56:07 +02:00
check_wrong_usage_of_break_and_continue.out checker: add clearer errors for break/continue used within a $for loop (#16600) 2022-12-06 17:27:59 +02:00
check_wrong_usage_of_break_and_continue.vv checker: add clearer errors for break/continue used within a $for loop (#16600) 2022-12-06 17:27:59 +02:00
checker_comparison_between_obj_and_int.out checker: ban unsafe pointer/fn comparison (#14462) 2022-05-20 18:30:16 +03:00
checker_comparison_between_obj_and_int.vv checker: ban unsafe pointer/fn comparison (#14462) 2022-05-20 18:30:16 +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
closure_undefined_ident_err.out checker: check undefined ident in closure anon fn (fix #16274) (#16278) 2022-11-02 15:41:44 +02:00
closure_undefined_ident_err.vv checker: check undefined ident in closure anon fn (fix #16274) (#16278) 2022-11-02 15:41:44 +02: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 12:09:25 +03:00
compare_unsigned_signed.vv checker: error if smaller signed == unsigned (#14078) 2022-04-25 12:09:25 +03:00
comparing_typesymbol_to_a_type_should_not_compile.out checker: allow + operator overrides for type aliases 2022-08-27 12:54:16 +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
compile_error.out tests: do not use -prod for compiling .vv files in vlib/v/checker/tests/ and vlib/v/parser/tests/ 2022-05-18 13:39:57 +03:00
compile_error.vv parser,checker: support $compile_error('message') and $compile_warn('message') (#14320) 2022-05-09 08:18:26 +03:00
comptime_assign_missing_mut_err.out checker: add mutability check for comptime assignments (#18354) 2023-06-06 19:58:30 +03:00
comptime_assign_missing_mut_err.vv checker: add mutability check for comptime assignments (#18354) 2023-06-06 19:58:30 +03:00
comptime_branching_working_with_a_custom_compile_error.out checker: fix comptime if branch checking (#16938) 2023-01-14 15:06:38 +02:00
comptime_branching_working_with_a_custom_compile_error.vv checker: fix comptime if branch checking (#16938) 2023-01-14 15:06:38 +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_method_void_err.out cgen: check comptime call method (no value) used as value (#15241) 2022-07-27 21:32:00 +03:00
comptime_call_method_void_err.vv cgen: check comptime call method (no value) used as value (#15241) 2022-07-27 21:32:00 +03:00
comptime_call_method.out
comptime_call_method.vv
comptime_call_no_unused_var.out
comptime_call_no_unused_var.vv
comptime_dump_fields_var_test.out cgen: fix auto_str for option values (#17910) 2023-04-10 05:56:57 +02:00
comptime_dump_fields_var_test.vv checker,cgen: fix dump when using comptime variable val.${field.name} (#16671) 2022-12-14 20:45:28 +02:00
comptime_else_compile_error_no_return.out checker: allow no return in compile_error else block (#18758) 2023-07-04 06:44:24 +03:00
comptime_else_compile_error_no_return.vv checker: allow no return in compile_error else block (#18758) 2023-07-04 06:44:24 +03:00
comptime_field_selector_not_in_for_err.out
comptime_field_selector_not_in_for_err.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
comptime_field_selector_not_name_err.out
comptime_field_selector_not_name_err.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
comptime_for.out tests: do not use -prod for compiling .vv files in vlib/v/checker/tests/ and vlib/v/parser/tests/ 2022-05-18 13:39:57 +03:00
comptime_for.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
comptime_if_option_string_test.out all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
comptime_if_option_string_test.vv all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
comptime_insert_err.cc checker, cgen: add support for #insert, to simplify bootstrapping V 2022-04-19 19:37:04 +03:00
comptime_insert_err.out checker, cgen: add support for #insert, to simplify bootstrapping V 2022-04-19 19:37:04 +03:00
comptime_insert_err.vv checker, cgen: add support for #insert, to simplify bootstrapping V 2022-04-19 19:37:04 +03:00
comptime_selector_expr_type_err.out checker, cgen: check comptime selector that has no field name (#14282) 2022-05-04 07:06:52 +03:00
comptime_selector_expr_type_err.vv checker, cgen: check comptime selector that has no field name (#14282) 2022-05-04 07:06:52 +03:00
const_array_unknown_type_err.out
const_array_unknown_type_err.vv
const_cycle_decl_err.out cgen: fix print fn + cycle const error message (#17355) 2023-02-22 13:38:08 +02:00
const_cycle_decl_err.vv cgen: fix print fn + cycle const error message (#17355) 2023-02-22 13:38:08 +02:00
const_decl_multi_return_err.out checker: disallow multiple return values in const declarations (#18273) 2023-05-27 01:55:14 +03:00
const_decl_multi_return_err.vv checker: disallow multiple return values in const declarations (#18273) 2023-05-27 01:55:14 +03:00
const_define_in_function_err.out
const_define_in_function_err.vv
const_expr_match_range_invalid_err.out all: add support for const ident in match range (#16526) 2022-11-26 08:56:00 +02:00
const_expr_match_range_invalid_err.vv all: add support for const ident in match range (#16526) 2022-11-26 08:56:00 +02:00
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 parser: change warn to error, for const names with upper letter (fix #18838) (#18840) 2023-07-11 17:48:53 +03:00
const_field_name_snake_case.vv
const_field_sub_err.out
const_field_sub_err.vv
const_int_overflow_err.out checker: check int overflow for const vars (#16332) 2022-11-06 08:22:28 +03:00
const_int_overflow_err.vv checker: check int overflow for const vars (#16332) 2022-11-06 08:22:28 +03:00
const_match_invalid_type_range_err.out all: add support for const ident in match range (#16526) 2022-11-26 08:56:00 +02:00
const_match_invalid_type_range_err.vv all: add support for const ident in match range (#16526) 2022-11-26 08:56:00 +02:00
const_match_mismatch_end_range_err.out all: add support for const ident in match range (#16526) 2022-11-26 08:56:00 +02:00
const_match_mismatch_end_range_err.vv all: add support for const ident in match range (#16526) 2022-11-26 08:56:00 +02:00
const_match_range_duplicate_case_err.out all: add support for const ident in match range (#16526) 2022-11-26 08:56:00 +02:00
const_match_range_duplicate_case_err.vv all: add support for const ident in match range (#16526) 2022-11-26 08:56:00 +02:00
const_match_range_invalid_err.out all: add support for const ident in match range (#16526) 2022-11-26 08:56:00 +02:00
const_match_range_invalid_err.vv all: add support for const ident in match range (#16526) 2022-11-26 08:56:00 +02:00
const_match_type_mismatch_range_err.out all: add support for const ident in match range (#16526) 2022-11-26 08:56:00 +02:00
const_match_type_mismatch_range_err.vv all: add support for const ident in match range (#16526) 2022-11-26 08:56:00 +02:00
ctdefine.out
ctdefine.vv
custom_comptime_define_error.mysymbol.run.out all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
custom_comptime_define_error.out all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
custom_comptime_define_error.vv all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
custom_comptime_define_if_debug.cg.run.out
custom_comptime_define_if_debug.debug.bar.run.out
custom_comptime_define_if_debug.debug.run.out
custom_comptime_define_if_debug.g.run.out
custom_comptime_define_if_debug.out
custom_comptime_define_if_debug.run.out
custom_comptime_define_if_debug.vv
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
dec_lit_wrong_digit_err.out
dec_lit_wrong_digit_err.vv
decompose_type_err.out
decompose_type_err.vv
defer_in_for.out
defer_in_for.vv
defer_use_multi_return_value_with_index_out_of_bounds.out all: add $res compile time function to get returned value in defer block (#18382) 2023-06-17 14:08:50 +03:00
defer_use_multi_return_value_with_index_out_of_bounds.vv all: add $res compile time function to get returned value in defer block (#18382) 2023-06-17 14:08:50 +03:00
defer_use_multi_return_value_without_index.out all: add $res compile time function to get returned value in defer block (#18382) 2023-06-17 14:08:50 +03:00
defer_use_multi_return_value_without_index.vv all: add $res compile time function to get returned value in defer block (#18382) 2023-06-17 14:08:50 +03:00
defer_use_returned_value_when_nothing_is_returned.out all: add $res compile time function to get returned value in defer block (#18382) 2023-06-17 14:08:50 +03:00
defer_use_returned_value_when_nothing_is_returned.vv all: add $res compile time function to get returned value in defer block (#18382) 2023-06-17 14:08:50 +03:00
defer_use_returned_value_when_result_is_returned.out all: add $res compile time function to get returned value in defer block (#18382) 2023-06-17 14:08:50 +03:00
defer_use_returned_value_when_result_is_returned.vv all: add $res compile time function to get returned value in defer block (#18382) 2023-06-17 14:08:50 +03:00
deference_nil_ptr_err.out checker: disallow deferencing a nil pointer (#18038) 2023-04-25 01:10:01 +03:00
deference_nil_ptr_err.vv checker: disallow deferencing a nil pointer (#18038) 2023-04-25 01:10:01 +03:00
deprecations.out tests: do not use -prod for compiling .vv files in vlib/v/checker/tests/ and vlib/v/parser/tests/ 2022-05-18 13:39:57 +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
diff_type_map_value_err.out checker: fix missing check for diff type on map value declaration (#18522) 2023-06-22 22:48:15 +03:00
diff_type_map_value_err.vv checker: fix missing check for diff type on map value declaration (#18522) 2023-06-22 22:48:15 +03:00
direct_map_alias_init_err.out
direct_map_alias_init_err.vv
disallow_pointer_arithmetic_err.out tests: do not use -prod for compiling .vv files in vlib/v/checker/tests/ and vlib/v/parser/tests/ 2022-05-18 13:39:57 +03:00
disallow_pointer_arithmetic_err.vv
div_mod_by_cast_zero_int_err.out
div_mod_by_cast_zero_int_err.vv
div_op_wrong_type_err.out
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-15 20:15:03 +03: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
dump_of_void_expr.vv
duplicate_field_method_err.out
duplicate_field_method_err.vv
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
enum_as_int_err.vv
enum_cast.out checker: allow EnumName(number) casts only inside unsafe{} blocks (#15932) 2022-10-02 22:39:11 +03:00
enum_cast.vv checker: allow EnumName(number) casts only inside unsafe{} blocks (#15932) 2022-10-02 22:39:11 +03:00
enum_empty.out
enum_empty.vv
enum_err.out all: add support for enum Xyz as u64 { + tests (#16246) 2022-10-29 06:32:20 +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 all: add support for enum Xyz as u64 { + tests (#16246) 2022-10-29 06:32:20 +03:00
enum_field_name_duplicate_err.vv
enum_field_overflow.out all: add support for enum Xyz as u64 { + tests (#16246) 2022-10-29 06:32:20 +03:00
enum_field_overflow.vv
enum_field_value_duplicate_a.out
enum_field_value_duplicate_a.vv
enum_field_value_duplicate_b.out
enum_field_value_duplicate_b.vv
enum_field_value_overflow.out checker: allow i32 in enum MyEnum as i32 { (#18172) 2023-05-16 08:09:13 +03:00
enum_field_value_overflow.vv all: add support for enum Xyz as u64 { + tests (#16246) 2022-10-29 06:32:20 +03:00
enum_init_err.out checker: disallow enum initalization (#17361) 2023-02-19 22:22:07 +01:00
enum_init_err.vv checker: disallow enum initalization (#17361) 2023-02-19 22:22:07 +01:00
enum_op_err.out
enum_op_err.vv
enum_op_flag_err.out
enum_op_flag_err.vv
enum_single_letter.out
enum_single_letter.vv
eq_ne_op_wrong_type_err.out checker: allow + operator overrides for type aliases 2022-08-27 12:54:16 +03:00
eq_ne_op_wrong_type_err.vv
error_fn_with_0_args.out checker: check option fn returning error (fix #17423) (#17438) 2023-03-02 15:49:50 +02:00
error_fn_with_0_args.vv checker: check option fn returning error (fix #17423) (#17438) 2023-03-02 15:49:50 +02: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
error_with_unicode.vv
expression_should_return_an_option.out checker, cgen, parser: fix Option/Result error messages (capitalized) (#17486) 2023-03-04 09:02:57 +03:00
expression_should_return_an_option.vv checker: check option fn returning error (fix #17423) (#17438) 2023-03-02 15:49:50 +02:00
field_can_not_be_from_the_same_type_as_containing_struct.out checker: unsafe 0 for references (default value) 2022-06-26 06:40:40 +03:00
field_can_not_be_from_the_same_type_as_containing_struct.vv checker: unsafe 0 for references (default value) 2022-06-26 06:40:40 +03:00
field_deprecations.out all: add support for struct field deprecation (#14527) 2022-05-26 00:44:18 +03:00
field_deprecations.vv all: add support for struct field deprecation (#14527) 2022-05-26 00:44:18 +03:00
filter_func_return_nonbool_err.out tests: do not use -prod for compiling .vv files in vlib/v/checker/tests/ and vlib/v/parser/tests/ 2022-05-18 13:39:57 +03:00
filter_func_return_nonbool_err.vv
filter_on_non_arr_err.out
filter_on_non_arr_err.vv
fixed_array_conv.out ci: fix fixed_array_conv.out output (the .vv file was formatted) 2022-07-21 22:45:54 +03:00
fixed_array_conv.vv all: wrap up unsafe { nil } (p. 3) 2022-07-21 21:01:30 +03:00
fixed_array_decompose_err.out checker: add check for implicit fixed array decomp in function varargs (#16806) 2022-12-30 01:06:41 +02:00
fixed_array_decompose_err.vv checker: add check for implicit fixed array decomp in function varargs (#16806) 2022-12-30 01:06:41 +02:00
fixed_array_non_const_size_err.out
fixed_array_non_const_size_err.vv
fixed_array_size_err.out checker: fix tests (adjust byte to u8 in .out files too) 2022-04-15 20:15:03 +03:00
fixed_array_size_err.vv tests: use u8 everywhere 2022-04-15 18:34:15 +03: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_args.out checker: improve error message of fn args mismatch (#15550) 2022-08-26 22:38:53 +03:00
fn_args.vv tests: use u8 everywhere 2022-04-15 18:34:15 +03:00
fn_array_decompose_arg_mismatch_err_a.out checker: fix checking mismatch of the fn array decompose argument (#15934) 2022-10-01 13:25:24 +03:00
fn_array_decompose_arg_mismatch_err_a.vv checker: fix checking mismatch of the fn array decompose argument (#15934) 2022-10-01 13:25:24 +03:00
fn_array_decompose_arg_mismatch_err_b.out checker: fix checking mismatch of the fn array decompose argument (#15934) 2022-10-01 13:25:24 +03:00
fn_array_decompose_arg_mismatch_err_b.vv checker: fix checking mismatch of the fn array decompose argument (#15934) 2022-10-01 13:25:24 +03:00
fn_call_arg_mismatch_err_a.out checker: check error for fn call argument mismatch (fix #14280) (#14283) 2022-05-04 12:13:22 +03:00
fn_call_arg_mismatch_err_a.vv checker: check error for fn call argument mismatch (fix #14280) (#14283) 2022-05-04 12:13:22 +03:00
fn_call_arg_mismatch_err_b.out checker: check error for fn call argument mismatch (fix #14280) (#14283) 2022-05-04 12:13:22 +03:00
fn_call_arg_mismatch_err_b.vv checker: check error for fn call argument mismatch (fix #14280) (#14283) 2022-05-04 12:13:22 +03:00
fn_call_arg_mismatch_err_c.out all: change optional to result of io (#16075) 2022-10-16 09:28:57 +03:00
fn_call_arg_mismatch_err_c.vv all: change optional to result of io (#16075) 2022-10-16 09:28:57 +03:00
fn_call_arg_mismatch_err_d.out checker: add a test for fn call arg of fn pointer mismatch (#15757) 2022-09-14 17:46:07 +03:00
fn_call_arg_mismatch_err_d.vv checker: add a test for fn call arg of fn pointer mismatch (#15757) 2022-09-14 17:46:07 +03:00
fn_call_arg_ptr_mismatch_err.out checker: fix multiple pointer check of fn and method args (fix #16261 #16262 #16263) (#16275) 2022-11-01 19:05:34 +02:00
fn_call_arg_ptr_mismatch_err.vv checker: fix multiple pointer check of fn and method args (fix #16261 #16262 #16263) (#16275) 2022-11-01 19:05:34 +02:00
fn_call_no_body.out
fn_call_no_body.vv
fn_call_ref_incompatible_u8_test.out checker: only allow &u8 with byteptr and itself (#18146) 2023-05-11 18:28:49 +10:00
fn_call_ref_incompatible_u8_test.vv checker: only allow &u8 with byteptr and itself (#18146) 2023-05-11 18:28:49 +10:00
fn_call_using_none_arg_err.out cgen, check, parser: implement first-class option type (#17017) 2023-02-18 11:45:01 +02:00
fn_call_using_none_arg_err.vv checker: check fn call using 'none' as argument (#17070) 2023-01-22 14:58:34 +02:00
fn_call_with_extra_parenthesis.out checker: check error for fn call with extra parenthesis (#16052) 2022-10-12 22:43:59 +03:00
fn_call_with_extra_parenthesis.vv checker: check error for fn call with extra parenthesis (#16052) 2022-10-12 22:43:59 +03:00
fn_check_for_matching_option_result_in_fields.out all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
fn_check_for_matching_option_result_in_fields.vv all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
fn_duplicate.out v.builder: improve builder error messages (fix #14386) (#14421) 2022-05-17 12:12:20 +03:00
fn_duplicate.vv v.builder: improve builder error messages (fix #14386) (#14421) 2022-05-17 12:12:20 +03:00
fn_init_sig.out
fn_init_sig.vv
fn_param_import_sym_conflict.out v: forbid function parameter names, shadowing imported module names (#17210) 2023-02-08 20:37:04 +02:00
fn_param_import_sym_conflict.vv v: forbid function parameter names, shadowing imported module names (#17210) 2023-02-08 20:37:04 +02:00
fn_ref_arg_mismatch_err.out all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
fn_ref_arg_mismatch_err.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +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_fn_type_mismatch_err.out checker: check fn returning fn type mismatch (fix #15988) (#15997) 2022-10-08 19:28:41 +03:00
fn_return_fn_type_mismatch_err.vv checker: check fn returning fn type mismatch (fix #15988) (#15997) 2022-10-08 19:28:41 +03:00
fn_return_or_err.out checker, cgen, parser: fix Option/Result error messages (capitalized) (#17486) 2023-03-04 09:02:57 +03:00
fn_return_or_err.vv
fn_return_type_mismatch.out checker: check fn return type mismatch (#14081) 2022-04-19 13:04:41 +03:00
fn_return_type_mismatch.vv checker: check fn return type mismatch (#14081) 2022-04-19 13:04:41 +03:00
fn_return_unsign_type_mismatch.out checker: remove too vague notice about signed expressions while returning unsigned number types 2022-09-25 11:03:23 +03:00
fn_return_unsign_type_mismatch.vv checker: fix missing checker error for fn abc() u64 { return -1 } (fix #15789) (#15795) 2022-09-17 20:59:52 +03:00
fn_selector_expr_err.out checker: add error for println('x').abcd (#15423) 2022-08-14 09:43:54 +03:00
fn_selector_expr_err.vv checker: add error for println('x').abcd (#15423) 2022-08-14 09:43:54 +03:00
fn_type_exists.out
fn_type_exists.vv
fn_type_mismatch.out checker: fix map get anon fn value with mut argument (fix #14479) (#14493) 2022-05-22 16:28:53 +03: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-15 20:15:03 +03:00
fn_var.vv tests: use u8 everywhere 2022-04-15 18:34:15 +03:00
fn_variadic_arg_err.out checker: check fn variadic passing arg error (fix #15629) (#15632) 2022-09-01 21:24:24 +03:00
fn_variadic_arg_err.vv checker: check fn variadic passing arg error (fix #15629) (#15632) 2022-09-01 21:24:24 +03:00
fn_variadic.out
fn_variadic.vv
for_c_stmt_with_option_call.out all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
for_c_stmt_with_option_call.vv all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
for_c_stmt_with_var_declaration_in_post_stmt.out checker: forbid var declaration in post statement of for loop (#17120) 2023-01-26 17:40:10 +02:00
for_c_stmt_with_var_declaration_in_post_stmt.vv checker: forbid var declaration in post statement of for loop (#17120) 2023-01-26 17:40:10 +02:00
for_in_index_option.out all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
for_in_index_option.vv all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
for_in_index_type.out
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_key_redefinition.out checker: fixed error pointer for "redefinition of key iteration variable" and "redefinition of value iteration variable" errors (#17121) 2023-01-26 12:31:35 +02:00
for_in_key_redefinition.vv checker: fixed error pointer for "redefinition of key iteration variable" and "redefinition of value iteration variable" errors (#17121) 2023-01-26 12:31:35 +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: disallow for mut letter in 'abc' { (#17234) 2023-02-06 11:58:03 +02:00
for_in_mut_string.vv checker: disallow for mut letter in 'abc' { (#17234) 2023-02-06 11:58:03 +02:00
for_in_mut_val_type.out checker: require unsafe for Struct(voidptr) casts 2023-01-06 09:28:11 +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_value_redefinition.out checker: fixed error pointer for "redefinition of key iteration variable" and "redefinition of value iteration variable" errors (#17121) 2023-01-26 12:31:35 +02:00
for_in_value_redefinition.vv checker: fixed error pointer for "redefinition of key iteration variable" and "redefinition of value iteration variable" errors (#17121) 2023-01-26 12:31:35 +02:00
for_in_with_reserved_type_names.out checker: check for reserved type names in for in (fix #14072) (#14212) 2022-04-30 01:25:29 +03:00
for_in_with_reserved_type_names.vv checker: check for reserved type names in for in (fix #14072) (#14212) 2022-04-30 01:25:29 +03:00
for_loop_range_inclusive_err.out parser: add a better error msg for using ..., instead of .. in for a in 1...10 { (#16547) 2022-11-28 10:37:12 +02:00
for_loop_range_inclusive_err.vv parser: add a better error msg for using ..., instead of .. in for a in 1...10 { (#16547) 2022-11-28 10:37:12 +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
func_with_static_keyword_err.out parser, checker: fix static method naming and generic call (#18694) 2023-06-28 07:07:07 +03:00
func_with_static_keyword_err.vv parser, checker: fix static method naming and generic call (#18694) 2023-06-28 07:07:07 +03:00
function_arg_mutable_err.out
function_arg_mutable_err.vv
function_arg_redefinition.out
function_arg_redefinition.vv
function_cast_outside_unsafe_err.out checker: disallow function cast outside unsafe (#16030) 2022-10-11 15:46:35 +03:00
function_cast_outside_unsafe_err.vv checker: disallow function cast outside unsafe (#16030) 2022-10-11 15:46:35 +03:00
function_count_of_args_mismatch_err.out
function_count_of_args_mismatch_err.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
function_missing_return_type.out
function_missing_return_type.vv
function_variadic_arg_array_decompose.out
function_variadic_arg_array_decompose.vv
function_wrong_arg_type.out
function_wrong_arg_type.vv
function_wrong_return_type.out
function_wrong_return_type.vv
generic_closure_fn_decl_err_a.out checker: fix a bug checking generic closures (#18489) 2023-06-19 18:22:25 +03:00
generic_closure_fn_decl_err_a.vv checker: fix a bug checking generic closures (#18489) 2023-06-19 18:22:25 +03:00
generic_closure_fn_decl_err_b.out checker: fix a bug checking generic closures (#18489) 2023-06-19 18:22:25 +03:00
generic_closure_fn_decl_err_b.vv checker: fix a bug checking generic closures (#18489) 2023-06-19 18:22:25 +03:00
generic_eq_wrong_type.err.out checker: fix generic infix expr type mismatch error (#18706) 2023-06-29 21:32:21 +03:00
generic_eq_wrong_type.err.vv checker: fix generic infix expr type mismatch error (#18706) 2023-06-29 21:32:21 +03:00
generic_fn_call_arg_mismatch_err.out checker: check generic fn call argument type mismatch (#17680) 2023-03-16 21:19:03 +02:00
generic_fn_call_arg_mismatch_err.vv checker: check generic fn call argument type mismatch (#17680) 2023-03-16 21:19:03 +02:00
generic_fn_decl_err.out all: replace generic '<>' with '[]' in error messages and comments (#16571) 2022-12-02 09:22:48 +02:00
generic_fn_decl_err.vv checker: check generic fn declaration (#15104) 2022-07-17 14:32:59 +03:00
generic_fn_decl_without_generic_names_err.out all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generic_fn_decl_without_generic_names_err.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generic_fn_infinite_loop_limit_err.out checker: fix error assigning generic function variable with generic struct return (#18472) 2023-06-18 22:22:22 +03:00
generic_fn_infinite_loop_limit_err.vv checker: add a hard to reach limit of 1_000_000 iterations for resolving all generics (usually <10 are enough) (#18477) 2023-06-17 22:29:36 +03:00
generic_infix_plus_err.out all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generic_infix_plus_err.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generic_interface_err.out checker: check generic struct infering error (#17802) 2023-03-28 15:00:08 +03:00
generic_interface_err.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generic_interface_method_decl_err.out parser: check generic interface method declaration (#15095) 2022-07-16 16:58:39 +03:00
generic_interface_method_decl_err.vv parser: check generic interface method declaration (#15095) 2022-07-16 16:58:39 +03:00
generic_interface_missing_type_names_err.out checker: improve error messages of missing generic type names (#16610) 2022-12-07 11:29:18 +02:00
generic_interface_missing_type_names_err.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generic_sumtype_decl_err_a.out checker: improve error messages of missing generic type names (#16610) 2022-12-07 11:29:18 +02:00
generic_sumtype_decl_err_a.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generic_sumtype_decl_err_b.out checker: improve error messages of missing generic type names (#16610) 2022-12-07 11:29:18 +02:00
generic_sumtype_decl_err_b.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generic_sumtype_decl_err_c.out all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generic_sumtype_decl_err_c.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generic_sumtype_invalid_variant.out all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_sumtype_invalid_variant.vv all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02: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 all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generic_type_name_in_non_generic_function.out parser, checker: check undefined ident in if expr using generic type name (#14734) 2022-06-10 11:57:26 +03:00
generic_type_name_in_non_generic_function.vv checker: add error for if c >= A && c <= Z { in non generic functions 2022-06-07 20:43:31 +03:00
generics_fn_arg_type_err.out checker: improve error messages of missing generic type names (#16610) 2022-12-07 11:29:18 +02:00
generics_fn_arg_type_err.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generics_fn_arguments_count_err.out ast, checker, cgen: fix error for generic method with generic fn type argument (fix #14239) (#14333) 2022-05-07 20:22:20 +03: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 all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generics_fn_called_arg_mismatch.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generics_fn_called_fntype_arg_mismatch.out all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generics_fn_called_fntype_arg_mismatch.vv parser: check generic fntype declaration without type name (#18033) 2023-04-24 11:03:29 +02:00
generics_fn_called_multi_args_mismatch.out all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_fn_called_multi_args_mismatch.vv all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_fn_called_no_arg_err.out all: replace generic '<>' with '[]' in error messages and comments (#16571) 2022-12-02 09:22:48 +02:00
generics_fn_called_no_arg_err.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generics_fn_called_outside_of_generic_fn.out all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generics_fn_called_outside_of_generic_fn.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generics_fn_called_variadic_arg_mismatch.out all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generics_fn_called_variadic_arg_mismatch.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generics_fn_return_generic_struct_err.out checker: improve error messages of missing generic type names (#16610) 2022-12-07 11:29:18 +02:00
generics_fn_return_generic_struct_err.vv all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02: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_interface_decl_no_mention_err.out parser: fix parsing embedded generic interface using '[]' (#16603) 2022-12-06 12:37:36 +02:00
generics_interface_decl_no_mention_err.vv parser: fix parsing embedded generic interface using '[]' (#16603) 2022-12-06 12:37:36 +02:00
generics_interface_declaration_err.out checker: improve error messages of missing generic type names (#16610) 2022-12-07 11:29:18 +02:00
generics_interface_declaration_err.vv checker: check generic interface declaration (#15047) 2022-07-13 09:43:54 +03:00
generics_interface_field_type_err.out parser: improve precision of struct field type positions in errors 2022-12-18 13:34:39 +02:00
generics_interface_field_type_err.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generics_method_arg_type_err.out checker: check generic method call argument mismatch (#15378) 2022-08-08 17:30:48 +03:00
generics_method_arg_type_err.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generics_method_called_arg_mismatch.out all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generics_method_called_arg_mismatch.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generics_method_called_variadic_arg_mismatch.out all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generics_method_called_variadic_arg_mismatch.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generics_method_receiver_type_err_a.out checker: check generic method receiver type mismatch (#16739) 2022-12-22 13:37:46 +02:00
generics_method_receiver_type_err_a.vv checker: check generic method receiver type mismatch (#16739) 2022-12-22 13:37:46 +02:00
generics_method_receiver_type_err_b.out checker: check generic method receiver type mismatch (#16739) 2022-12-22 13:37:46 +02:00
generics_method_receiver_type_err_b.vv checker: check generic method receiver type mismatch (#16739) 2022-12-22 13:37:46 +02:00
generics_method_sumtype_arg_mismatch.out all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_method_sumtype_arg_mismatch.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generics_non_generic_fn_called_like_a_generic_one.out
generics_non_generic_fn_called_like_a_generic_one.vv
generics_non_generic_struct_used_like_a_generic_one.out all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generics_non_generic_struct_used_like_a_generic_one.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generics_struct_decl_no_mention_err.out all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_struct_decl_no_mention_err.vv all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_struct_declaration_err.out checker: improve error messages of missing generic type names (#16610) 2022-12-07 11:29:18 +02:00
generics_struct_declaration_err.vv all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_struct_field_fn_args_err.out all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +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_field_type_err.out parser: improve precision of struct field type positions in errors 2022-12-18 13:34:39 +02:00
generics_struct_field_type_err.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generics_struct_in_non_generic_fn_err.out all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generics_struct_in_non_generic_fn_err.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generics_struct_infer_err.out checker: check generic struct infering error (#17802) 2023-03-28 15:00:08 +03:00
generics_struct_infer_err.vv checker: check generic struct infering error (#17802) 2023-03-28 15:00:08 +03:00
generics_struct_init_err.out checker: check generic struct infering error (#17802) 2023-03-28 15:00:08 +03:00
generics_struct_init_err.vv all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_struct_init_type_parameter_err.out checker: fix generic fn with short generic struct init syntax (#16504) 2022-11-22 13:27:49 +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_nokeys_init_err.out checker: check generic struct no_keys init (fix #17061) (#17067) 2023-01-22 19:11:12 +02:00
generics_struct_nokeys_init_err.vv checker: check generic struct no_keys init (fix #17061) (#17067) 2023-01-22 19:11:12 +02:00
generics_struct_type_mismatch_err.out all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generics_struct_type_mismatch_err.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generics_too_many_parameters.out all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generics_too_many_parameters.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generics_type_ambiguous.out checker: fix generics with nested generic fn call (#15361) 2022-08-08 04:54:52 +03:00
generics_type_ambiguous.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
generics_undefined_operation_2.out checker: check generic undefined operation (fix #18162) (#18166) 2023-05-13 06:54:08 +03:00
generics_undefined_operation_2.vv checker: check generic undefined operation (fix #18162) (#18166) 2023-05-13 06:54:08 +03:00
generics_undefined_operation.out all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_undefined_operation.vv all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
globals_error.out
globals_error.run.out
globals_error.vv
go_append_option_to_threads_err.out all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
go_append_option_to_threads_err.vv all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
go_expr.out checker: replace the go keyword in error messages with spawn (#16960) 2023-01-13 13:23:51 +02:00
go_expr.vv checker: replace the go keyword in error messages with spawn (#16960) 2023-01-13 13:23:51 +02:00
go_mut_arg.out checker: replace the go keyword in error messages with spawn (#16960) 2023-01-13 13:23:51 +02:00
go_mut_arg.vv checker: replace the go keyword in error messages with spawn (#16960) 2023-01-13 13:23:51 +02:00
go_mut_receiver.out checker: replace the go keyword in error messages with spawn (#16960) 2023-01-13 13:23:51 +02:00
go_mut_receiver.vv checker: replace the go keyword in error messages with spawn (#16960) 2023-01-13 13:23:51 +02:00
go_wait_or.out checker: abstract repetitive error handling (#18507) 2023-06-21 12:13:18 +03:00
go_wait_or.vv checker: replace the go keyword in error messages with spawn (#16960) 2023-01-13 13:23:51 +02:00
goto_label.out tests: do not use -prod for compiling .vv files in vlib/v/checker/tests/ and vlib/v/parser/tests/ 2022-05-18 13:39:57 +03:00
goto_label.vv
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
ierror_in_return_tuple.out checker, cgen, parser: fix Option/Result error messages (capitalized) (#17486) 2023-03-04 09:02:57 +03:00
ierror_in_return_tuple.vv
if_diff_expected_type_err.out checker: fix missing type mismatch with ptr types (#17695) 2023-03-22 23:49:02 +01:00
if_diff_expected_type_err.vv checker: fix missing type mismatch with ptr types (#17695) 2023-03-22 23:49:02 +01:00
if_expr_last_stmt.out
if_expr_last_stmt.vv
if_expr_mismatch.out
if_expr_mismatch.vv
if_expr_no_else.out
if_expr_no_else.vv
if_expr_option_err.out all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
if_expr_option_err.vv all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
if_expr_result_err.out checker: fix non-bool check on use of result bool (fix #15539) (#15540) 2022-08-26 07:08:57 +03:00
if_expr_result_err.vv checker: fix non-bool check on use of result bool (fix #15539) (#15540) 2022-08-26 07:08:57 +03:00
if_guard_expr_err.out checker: check if guard returning non-propagate option or result (fix #17742) (#17794) 2023-03-29 14:51:29 +03:00
if_guard_expr_err.vv checker: check if guard returning non-propagate option or result (fix #17742) (#17794) 2023-03-29 14:51:29 +03:00
if_guard_variables_err.out checker: check if guard with multiple return variable (#15646) 2022-09-03 10:56:46 +03:00
if_guard_variables_err.vv checker: check if guard with multiple return variable (#15646) 2022-09-03 10:56:46 +03:00
if_match_expr_err.out
if_match_expr_err.vv
if_match_result.out checker: fix returning expression with void type (fix #15543) (#15554) 2022-08-27 09:00:14 +03:00
if_match_result.vv checker: fix returning expression with void type (fix #15543) (#15554) 2022-08-27 09:00:14 +03:00
if_mut_with_immutable_var_err.out checker: fix tests (adjust byte to u8 in .out files too) 2022-04-15 20:15:03 +03:00
if_mut_with_immutable_var_err.vv tests: use u8 everywhere 2022-04-15 18:34:15 +03:00
if_non_bool_cond.out
if_non_bool_cond.vv
if_smartcast_mut_var_interface_err.out checker: add check for mut ident but not if mut ident is for interfaces (#16214) 2022-10-29 06:36:44 +03:00
if_smartcast_mut_var_interface_err.vv checker: add check for mut ident but not if mut ident is for interfaces (#16214) 2022-10-29 06:36:44 +03: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-15 20:15:03 +03:00
immutable_builtin_modify.vv tests: use u8 everywhere 2022-04-15 18:34:15 +03:00
immutable_deref.out checker: fix immutable deref check 2023-04-10 04:59:36 +02:00
immutable_deref.vv ast, builder, checker, parser: fix typos (#18480) 2023-06-18 22:36:17 +03:00
immutable_field_postfix.out
immutable_field_postfix.vv
immutable_field.out
immutable_field.vv
immutable_interface_field.out
immutable_interface_field.vv
immutable_map.out
immutable_map.vv
immutable_rec.out
immutable_rec.vv
immutable_struct_postfix.out
immutable_struct_postfix.vv
immutable_var_postfix.out
immutable_var_postfix.vv
immutable_var.out
immutable_var.vv
import_duplicate_err.out
import_duplicate_err.vv
import_middle_err.out
import_middle_err.vv
import_mod_as_duplicate_err.out checker: disallow import names and import aliases, shadowing the module name (#18431) 2023-06-17 16:39:10 +03:00
import_mod_as_duplicate_err.vv checker: disallow import names and import aliases, shadowing the module name (#18431) 2023-06-17 16:39:10 +03:00
import_mod_as_import_alias_duplicate_err.out checker: include import aliases when checking for import duplicates (#18450) 2023-06-15 02:06:44 +03:00
import_mod_as_import_alias_duplicate_err.vv checker: include import aliases when checking for import duplicates (#18450) 2023-06-15 02:06:44 +03:00
import_mod_as_import_duplicate_err.out checker: include import aliases when checking for import duplicates (#18450) 2023-06-15 02:06:44 +03:00
import_mod_as_import_duplicate_err.vv checker: include import aliases when checking for import duplicates (#18450) 2023-06-15 02:06:44 +03:00
import_mod_as_mod_err.out
import_mod_as_mod_err.vv
import_mod_duplicate_as_alias_err.out ast, builder, checker, parser: fix typos (#18480) 2023-06-18 22:36:17 +03:00
import_mod_duplicate_as_alias_err.vv ast, builder, checker, parser: fix typos (#18480) 2023-06-18 22:36:17 +03:00
import_mod_duplicate_err.out checker: disallow import names and import aliases, shadowing the module name (#18431) 2023-06-17 16:39:10 +03:00
import_mod_duplicate_err.vv checker: disallow import names and import aliases, shadowing the module name (#18431) 2023-06-17 16:39:10 +03:00
import_mod_sub_as_duplicate_err.out checker: disallow import names and import aliases, shadowing the module name (#18431) 2023-06-17 16:39:10 +03:00
import_mod_sub_as_duplicate_err.vv checker: disallow import names and import aliases, shadowing the module name (#18431) 2023-06-17 16:39:10 +03:00
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_mod_sub_duplicate_as_mod.out checker: disallow import names and import aliases, shadowing the module name (#18431) 2023-06-17 16:39:10 +03:00
import_mod_sub_duplicate_as_mod.vv checker: disallow import names and import aliases, shadowing the module name (#18431) 2023-06-17 16:39:10 +03:00
import_mod_sub_duplicate_err.out checker: disallow import names and import aliases, shadowing the module name (#18431) 2023-06-17 16:39:10 +03:00
import_mod_sub_duplicate_err.vv checker: disallow import names and import aliases, shadowing the module name (#18431) 2023-06-17 16:39:10 +03:00
import_multiple_modules_err.out
import_multiple_modules_err.vv
import_not_found_err.out
import_not_found_err.vv
import_not_same_line_err.out
import_not_same_line_err.vv
import_sym_builtin_override_err.out checker: disable overriding and importing of builtin sym types (#16452) 2022-11-17 09:10:03 +02:00
import_sym_builtin_override_err.vv checker: disable overriding and importing of builtin sym types (#16452) 2022-11-17 09:10:03 +02:00
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 checker: make the type C.X is private re-declaration error more informative 2022-06-27 18:32:21 +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
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
inc_dec_fun_call.out checker: add error for inc/dec for non lvalue (#17091) 2023-01-24 10:03:37 +02:00
inc_dec_fun_call.vv checker: add error for inc/dec for non lvalue (#17091) 2023-01-24 10:03:37 +02:00
inc_num_literal.out checker: add error for inc/dec for non lvalue (#17091) 2023-01-24 10:03:37 +02:00
inc_num_literal.vv checker: add error for inc/dec for non lvalue (#17091) 2023-01-24 10:03:37 +02:00
inc_ok.out checker: add error for inc/dec for non lvalue (#17091) 2023-01-24 10:03:37 +02:00
inc_ok.vv checker: add error for inc/dec for non lvalue (#17091) 2023-01-24 10:03:37 +02:00
inc_paren_expr.out checker: add error for inc/dec for non lvalue (#17091) 2023-01-24 10:03:37 +02:00
inc_paren_expr.vv checker: add error for inc/dec for non lvalue (#17091) 2023-01-24 10:03:37 +02: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_field.out
incorrect_name_enum_field.vv
incorrect_name_enum.out
incorrect_name_enum.vv
incorrect_name_fn_type.out
incorrect_name_fn_type.vv
incorrect_name_function.out
incorrect_name_function.vv
incorrect_name_interface_method.out
incorrect_name_interface_method.vv
incorrect_name_interface.out
incorrect_name_interface.vv
incorrect_name_module.out
incorrect_name_module.vv
incorrect_name_struct_field.out
incorrect_name_struct_field.vv
incorrect_name_struct.out parser: remove duplicated pascal case check 2023-03-27 13:38:21 +02:00
incorrect_name_struct.vv
incorrect_name_sum_type.out
incorrect_name_sum_type.vv
incorrect_name_variable.out
incorrect_name_variable.vv
incorrect_smartcast_err.out checker: add check for mut ident but not if mut ident is for interfaces (#16214) 2022-10-29 06:36:44 +03:00
incorrect_smartcast_err.vv checker: add a notice for potentially incorrect smartcasts (#13644) 2022-03-03 16:36:40 +02:00
incorrect_smartcast2_err.out all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
incorrect_smartcast2_err.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
incorrect_smartcast3_err.out checker: check smartcasting requires either an immutable value, or an explicit mut keyword before the value (#16654) 2022-12-12 09:22:56 +02:00
incorrect_smartcast3_err.vv checker: check smartcasting requires either an immutable value, or an explicit mut keyword before the value (#16654) 2022-12-12 09:22:56 +02:00
index_expr.out
index_expr.vv
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_option_err.out cgen, check, parser: implement first-class option type (#17017) 2023-02-18 11:45:01 +02:00
index_of_option_err.vv all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
infix_and_op_expr_err.out checker, fmt: check infix_expr with 'and' op (#15466) 2022-08-19 09:50:46 +03:00
infix_and_op_expr_err.vv checker, fmt: check infix_expr with 'and' op (#15466) 2022-08-19 09:50:46 +03:00
infix_compare_option_err.out checker: fix missing check for unwrapped shift operation (#18451) 2023-06-16 09:49:24 +03:00
infix_compare_option_err.vv all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
infix_err.out checker: fix missing check for unwrapped shift operation (#18451) 2023-06-16 09:49:24 +03:00
infix_err.vv
infix_is_notis_interface_unimplemented_err.out checker: check error of casting to interface (fix #17522) (#17531) 2023-03-07 23:49:53 +03:00
infix_is_notis_interface_unimplemented_err.vv checker: fix the check of types not implemented by interfaces in infix key_is and not_is (fix #16282 #16298) (#16284) 2022-11-03 12:18:30 +02:00
inner_functions_call_before_define.out checker: fix inner functions are called before definition. (fix #15673) (#15719) 2022-09-11 11:10:47 +03:00
inner_functions_call_before_define.vv checker: fix inner functions are called before definition. (fix #15673) (#15719) 2022-09-11 11:10:47 +03: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
int_signess_call_arg_test.out checker: add int signedness mismatch checking for function call arguments (#16750) 2022-12-24 06:28:35 +02:00
int_signess_call_arg_test.vv checker: add int signedness mismatch checking for function call arguments (#16750) 2022-12-24 06:28:35 +02:00
interface_field_name_err.out parser: make sure interface field names use uppercase letters (#14228) 2022-04-30 05:29:33 +03:00
interface_field_name_err.vv parser: make sure interface field names use uppercase letters (#14228) 2022-04-30 05:29:33 +03:00
interface_generic_err.out checker: check generic struct infering error (#17802) 2023-03-28 15:00:08 +03:00
interface_generic_err.vv all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
interface_implementing_interface.out
interface_implementing_interface.vv
interface_implementing_own_interface_method.out
interface_implementing_own_interface_method.vv
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 15:48:03 +03:00
interface_method_name_err.vv parser: check interface methods name (fix #14217) (#14218) 2022-04-29 15:48:03 +03:00
interface_return_parameter_err.out
interface_return_parameter_err.vv
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
interface_too_many_embedding_levels.vv
interpolation_recursive_str_err.out
interpolation_recursive_str_err.vv
invalid_char_err.out
invalid_char_err.vv
invalid_comptime_test.out parser: fix wrong nodes generated for $something (#17969) 2023-04-16 14:36:51 +03:00
invalid_comptime_test.vv parser: fix wrong nodes generated for $something (#17969) 2023-04-16 14:36:51 +03:00
invalid_const_expr_match_range_err.out all: add support for const ident in match range (#16526) 2022-11-26 08:56:00 +02:00
invalid_const_expr_match_range_err.vv all: add support for const ident in match range (#16526) 2022-11-26 08:56:00 +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_literal_assign_err.out checker: disallow literals on the left side of assignments (#15999) 2022-10-08 19:27:30 +03:00
invalid_literal_assign_err.vv checker: disallow literals on the left side of assignments (#15999) 2022-10-08 19:27:30 +03:00
invalid_multi_return_operations_err.out checker: disallow all operations beside assignment, on multi return values (#16890) 2023-01-07 11:53:20 +02:00
invalid_multi_return_operations_err.vv checker: disallow all operations beside assignment, on multi return values (#16890) 2023-01-07 11:53:20 +02: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_nilref_err.out checker: disallow &nil (#17283) 2023-02-13 13:24:11 +01:00
invalid_nilref_err.vv checker: disallow &nil (#17283) 2023-02-13 13:24:11 +01:00
invalid_none_operations_err.out checker: add disallow none operations and range (#16584) 2022-12-05 08:50:36 +02:00
invalid_none_operations_err.vv checker: add disallow none operations and range (#16584) 2022-12-05 08:50:36 +02:00
invalid_parameter_name_err.out checker: check option fn returning error (fix #17423) (#17438) 2023-03-02 15:49:50 +02:00
invalid_parameter_name_err.vv checker: check option fn returning error (fix #17423) (#17438) 2023-03-02 15:49:50 +02:00
invalid_prefix_left_side_assign_stmt_err.out checker: disallow invalid prefix on left side of assign stmt (#18750) 2023-07-03 18:54:23 +03:00
invalid_prefix_left_side_assign_stmt_err.vv checker: disallow invalid prefix on left side of assign stmt (#18750) 2023-07-03 18:54:23 +03:00
invalid_property.out
invalid_property.vv
invalid_recursive_struct_err.out all: allow recursive struct with option ptr (?&Node) (#17682) 2023-04-18 13:07:21 +02:00
invalid_recursive_struct_err.vv all: allow recursive struct with option ptr (?&Node) (#17682) 2023-04-18 13:07:21 +02:00
invalid_variable_err.out checker: check invalid variable (fix #15240) (#15260) 2022-07-30 14:27:28 +03:00
invalid_variable_err.vv checker: check invalid variable (fix #15240) (#15260) 2022-07-30 14:27:28 +03: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
invalid_vweb_param_type.vv
invert_other_types_bits_error.out checker: produce more informative error messages on ~,!,-,<- operator type mismatches 2022-10-16 20:27:40 +03:00
invert_other_types_bits_error.vv
is_type_invalid.out checker: fix the check of types not implemented by interfaces in infix key_is and not_is (fix #16282 #16298) (#16284) 2022-11-03 12:18:30 +02:00
is_type_invalid.vv tests: use u8 everywhere 2022-04-15 18:34:15 +03:00
is_type_not_exist.out
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
json_decode_shared_err.out json.decode: add check for shared variable (#18237) 2023-05-24 06:47:09 +03:00
json_decode_shared_err.vv json.decode: add check for shared variable (#18237) 2023-05-24 06:47:09 +03:00
json_decode.out db, json, time, term: change optional to result (#16201) 2022-10-26 11:26:28 +03:00
json_decode.vv db, json, time, term: change optional to result (#16201) 2022-10-26 11:26:28 +03:00
labelled_break_continue.out
labelled_break_continue.vv
like_operator_outside_orm_error.out all: like operator/keyword for V ORM (#18020) 2023-04-23 03:40:54 +03:00
like_operator_outside_orm_error.vv all: like operator/keyword for V ORM (#18020) 2023-04-23 03:40:54 +03:00
like_operator_with_non_string_type_error.out checker: check db type implements orm.Connection and isn't an Option. (#18078) 2023-04-29 10:36:21 +02:00
like_operator_with_non_string_type_error.vv checker: check db type implements orm.Connection and isn't an Option. (#18078) 2023-04-29 10:36:21 +02:00
lock_already_locked.out checker,cgen: fix if expressions in lock expression (#14384) 2022-05-15 12:31:07 +03:00
lock_already_locked.vv
lock_already_rlocked.out
lock_already_rlocked.vv
lock_const.out
lock_const.vv
lock_needed.out
lock_needed.vv
lock_nonshared.out
lock_nonshared.vv
main_args_err.out
main_args_err.vv
main_called_err.out
main_called_err.vv
main_no_body_err.out
main_no_body_err.vv
main_return_err.out
main_return_err.vv
map_builtin_method_args_err.out checker: check map builtin method's arguments (#14120) 2022-04-21 12:49:46 +03:00
map_builtin_method_args_err.vv checker: check map builtin method's arguments (#14120) 2022-04-21 12:49:46 +03: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 tests: do not use -prod for compiling .vv files in vlib/v/checker/tests/ and vlib/v/parser/tests/ 2022-05-18 13:39:57 +03:00
map_func_void_return_err.vv
map_index_reference_value.out change or{} to or {} as most other places (#17082) 2023-01-23 11:05:34 +02:00
map_index_reference_value.vv checker: check unsafe map index operation (#17000) 2023-01-17 05:47:16 +01: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: improve error messages of missing generic type names (#16610) 2022-12-07 11:29:18 +02:00
map_of_generic_struct_init_err.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
map_ops.out
map_ops.vv
map_unknown_value.out parser: improve precision of struct field type positions in errors 2022-12-18 13:34:39 +02:00
map_unknown_value.vv
map_with_none_err.out v: allow none for not first values on map initialization (#18821) 2023-07-09 15:41:24 +03:00
map_with_none_err.vv v: allow none for not first values on map initialization (#18821) 2023-07-09 15:41:24 +03:00
map_with_result_value_err.out checker: disallow using Result !Type as a map[Key]!Type (#18543) 2023-06-25 09:51:10 +03:00
map_with_result_value_err.vv checker: disallow using Result !Type as a map[Key]!Type (#18543) 2023-06-25 09:51:10 +03:00
match_alias_type_err.out
match_alias_type_err.vv
match_cond_with_parenthesis_err.out checker: warn instead of error, for unnecessary brackets on if/match (#18117) 2023-05-06 14:17:45 +03: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
match_duplicate_branch.vv
match_else_last_expr.out
match_else_last_expr.vv
match_expr_and_expected_type_error.out
match_expr_and_expected_type_error.vv
match_expr_else.out
match_expr_else.vv
match_expr_empty_branch.out
match_expr_empty_branch.vv
match_expr_range_low_higher_than_high.out all: add support for const ident in match range (#16526) 2022-11-26 08:56:00 +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-15 20:15:03 +03:00
match_invalid_type.vv checker: fix tests (adjust byte to u8 in .out files too) 2022-04-15 20:15:03 +03:00
match_mut_with_immutable_var_err.out checker: fix tests (adjust byte to u8 in .out files too) 2022-04-15 20:15:03 +03:00
match_mut_with_immutable_var_err.vv checker: fix tests (adjust byte to u8 in .out files too) 2022-04-15 20:15:03 +03:00
match_range_mismatch_type_err.out all: add support for const ident in match range (#16526) 2022-11-26 08:56:00 +02:00
match_range_mismatch_type_err.vv checker: improve mismatched range types error messages 2022-09-17 09:15:55 +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_type_node_with_non_sum_type_err.out checker: disallow matching type with primitive vars (#18084) 2023-05-02 11:40:38 +03:00
match_type_node_with_non_sum_type_err.vv checker: disallow matching type with primitive vars (#18084) 2023-05-02 11:40:38 +03:00
match_undefined_cond.out
match_undefined_cond.vv
method_array_slice.out
method_array_slice.vv
method_call_arg_mismatch.out checker: check method call argument type mismatch (#14496) 2022-05-22 22:16:46 +03:00
method_call_arg_mismatch.vv checker: check method call argument type mismatch (#14496) 2022-05-22 22:16:46 +03:00
method_call_arg_no_mut_err.out checker: improve error message of method_call_arg_no_mut_err.vv (#15281) 2022-07-30 18:11:10 +03:00
method_call_arg_no_mut_err.vv checker: improve error message of method_call_arg_no_mut_err.vv (#15281) 2022-07-30 18:11:10 +03: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
method_generic_infer_err.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
method_op_alias_err.out checker: relax checks on operators done on aliases of primitives like int, u8, string etc.; add tests (#17029) 2023-01-19 11:45:56 +02:00
method_op_alias_err.vv
method_op_err.out
method_op_err.vv
method_wrong_arg_type.out
method_wrong_arg_type.vv
minus_op_wrong_type_err.out checker: produce more informative error messages on ~,!,-,<- operator type mismatches 2022-10-16 20:27:40 +03:00
minus_op_wrong_type_err.vv
mismatched_ptr_op_ptr.out
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
missing_export_attr_arg_err.out checker: fix missing check for [export] attr on a fn, without parameter (#17653) 2023-03-15 17:17:45 +02:00
missing_export_attr_arg_err.vv checker: fix missing check for [export] attr on a fn, without parameter (#17653) 2023-03-15 17:17:45 +02:00
misspelled_mod_const_should_have_suggestion.out checker: add a suggestion for misspelled mod.const_name + a test 2022-05-16 10:29:58 +03:00
misspelled_mod_const_should_have_suggestion.vv checker: add a suggestion for misspelled mod.const_name + a test 2022-05-16 10:29:58 +03:00
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
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
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_return_use_void_type_err.out checker: give a checker error message on print(1), print(2) (fix #16311) (#16314) 2022-11-03 17:28:59 +02:00
multi_return_use_void_type_err.vv checker: give a checker error message on print(1), print(2) (fix #16311) (#16314) 2022-11-03 17:28:59 +02:00
multi_value_method_err.out
multi_value_method_err.vv
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
multireturn_mix_err.out checker: add check for mixing multi-return results with other types in return statements (fix #17501) (#18067) 2023-04-27 16:50:09 +03:00
multireturn_mix_err.vv checker: add check for mixing multi-return results with other types in return statements (fix #17501) (#18067) 2023-04-27 16:50:09 +03:00
mut_arg.out tests: do not use -prod for compiling .vv files in vlib/v/checker/tests/ and vlib/v/parser/tests/ 2022-05-18 13:39:57 +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
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_lit.out
mut_receiver_lit.vv
mut_receiver_wrong_return_type.out checker: check error of casting to interface (fix #17522) (#17531) 2023-03-07 23:49:53 +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
mut_receiver.out
mut_receiver.vv
negative_assign_to_unsigned.out all: correct the first letter of error message from uppercase to lowercase (#16481) 2022-11-19 10:43:25 +02: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
nested_aliases.vv
nested_fn_alias_err.out checker: add check for multi level fn aliases (#16361) 2022-11-09 10:36:39 +02:00
nested_fn_alias_err.vv checker: add check for multi level fn aliases (#16361) 2022-11-09 10:36:39 +02:00
nested_struct_with_required_attr_err.out checker: check nested struct field with required attr (fix #10913) (#17277) 2023-02-11 11:22:31 +02:00
nested_struct_with_required_attr_err.vv checker: check nested struct field with required attr (fix #10913) (#17277) 2023-02-11 11:22:31 +02:00
nil.out ci: fix vlib/v/checker/tests/nil.vv and its .out file 2022-07-21 23:05:02 +03:00
nil.vv ci: fix vlib/v/checker/tests/nil.vv and its .out file 2022-07-21 23:05:02 +03:00
no_heap_struct.out
no_heap_struct.vv
no_interface_instantiation_a.out
no_interface_instantiation_a.vv
no_interface_instantiation_b.out
no_interface_instantiation_b.vv
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
no_method_on_interface_propagation.vv
no_pub_in_main.out
no_warning_for_in_mut_var_unused.out
no_warning_for_in_mut_var_unused.vv
non_const_match_range_err.out all: add support for const ident in match range (#16526) 2022-11-26 08:56:00 +02:00
non_const_match_range_err.vv all: add support for const ident in match range (#16526) 2022-11-26 08:56:00 +02:00
non_lvalue_as_voidptr.out
non_lvalue_as_voidptr.vv
non_matching_functional_args.out checker: improve error message of fn args mismatch (#15550) 2022-08-26 22:38:53 +03:00
non_matching_functional_args.vv
none_type_cast_err.out
none_type_cast_err.vv
noreturn_with_non_empty_loop_at_end.out
noreturn_with_non_empty_loop_at_end.vv
noreturn_with_return.out
noreturn_with_return.vv
noreturn_without_loop_or_another_noreturn_at_end.out
noreturn_without_loop_or_another_noreturn_at_end.vv
oct_lit_without_digit_err.out
oct_lit_without_digit_err.vv
oct_lit_wrong_digit_err.out
oct_lit_wrong_digit_err.vv
option_concrete_type_err.out parser: detect wrong usage of Option as concrete type (#18334) 2023-06-03 13:24:25 +02:00
option_concrete_type_err.vv parser: detect wrong usage of Option as concrete type (#18334) 2023-06-03 13:24:25 +02:00
option_fields_addr_err.out cgen, check, parser: implement first-class option type (#17017) 2023-02-18 11:45:01 +02:00
option_fields_addr_err.vv all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
option_fn_err.out checker: fix missing unwrap check for option to non-option argument (#18460) 2023-06-16 09:46:33 +03:00
option_fn_err.vv all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
option_fn_field_err.out checker: fix missing option function field checking (#17601) 2023-03-13 15:05:56 +01:00
option_fn_field_err.vv checker: fix missing option function field checking (#17601) 2023-03-13 15:05:56 +01:00
option_fn_return_error.out checker: check option fn returning error (fix #17423) (#17438) 2023-03-02 15:49:50 +02:00
option_fn_return_error.vv checker: check option fn returning error (fix #17423) (#17438) 2023-03-02 15:49:50 +02:00
option_in_println_mismatch.out all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
option_in_println_mismatch.vv all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
option_in_receiver_err.out parser: disallow defining methods on option receivers - fn (x ?Type) method() { (#17351) 2023-02-19 15:00:29 +02:00
option_in_receiver_err.vv parser: disallow defining methods on option receivers - fn (x ?Type) method() { (#17351) 2023-02-19 15:00:29 +02:00
option_interface_mismatch.out all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
option_interface_mismatch.vv all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
option_or_block_mismatch.out all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
option_or_block_mismatch.vv all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
option_or_block_returns_value_of_incompatible_type.out all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
option_or_block_returns_value_of_incompatible_type.vv checker: check option fn returning error (fix #17423) (#17438) 2023-03-02 15:49:50 +02:00
option_propagate_nested.out checker, cgen, parser: fix Option/Result error messages (capitalized) (#17486) 2023-03-04 09:02:57 +03:00
option_propagate_nested.vv checker: check option fn returning error (fix #17423) (#17438) 2023-03-02 15:49:50 +02:00
option_ptr_err.out cgen: support option pointer values - ?&Type (#17397) 2023-02-25 14:44:41 +02:00
option_ptr_err.vv cgen: support option pointer values - ?&Type (#17397) 2023-02-25 14:44:41 +02:00
option_ptr_without_unwrapp_err.out checker: fix missing unwrap check for option to non-option argument (#18460) 2023-06-16 09:46:33 +03:00
option_ptr_without_unwrapp_err.vv checker: fix missing unwrap check for option to non-option argument (#18460) 2023-06-16 09:46:33 +03:00
option_return_call_non_opt_err.out checker: fix or-block expected type checking (#17469) 2023-03-03 08:30:44 +02:00
option_return_call_non_opt_err.vv checker: fix or-block expected type checking (#17469) 2023-03-03 08:30:44 +02:00
option_return_selector_non_opt_err.out checker: fix or-block expected type checking (#17469) 2023-03-03 08:30:44 +02:00
option_return_selector_non_opt_err.vv checker: fix or-block expected type checking (#17469) 2023-03-03 08:30:44 +02:00
option_selector_or_block_err.out checker: fix missing check for or-block on selectorexpr (#17975) 2023-04-17 16:11:34 +02:00
option_selector_or_block_err.vv checker: fix missing check for or-block on selectorexpr (#17975) 2023-04-17 16:11:34 +02:00
option_type_call_err.out checker, cgen, parser: fix Option/Result error messages (capitalized) (#17486) 2023-03-04 09:02:57 +03:00
option_type_call_err.vv all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
option_var_assign_err.out checker: fix missing check for wrong assignment: non-option to option type (#17628) 2023-03-15 20:24:36 +02:00
option_var_assign_err.vv checker: fix missing check for wrong assignment: non-option to option type (#17628) 2023-03-15 20:24:36 +02:00
option_var_unwrap_err.out cgen, check, parser: implement first-class option type (#17017) 2023-02-18 11:45:01 +02:00
option_var_unwrap_err.vv cgen, check, parser: implement first-class option type (#17017) 2023-02-18 11:45:01 +02:00
option_with_match_err.out cgen: fix match with option type (#17713) 2023-03-21 11:38:30 +02:00
option_with_match_err.vv cgen: fix match with option type (#17713) 2023-03-21 11:38:30 +02:00
option_wrapped_cmp_op_err.out checker: fix missing check for unwrapped shift operation (#18451) 2023-06-16 09:49:24 +03:00
option_wrapped_cmp_op_err.vv checker: check wrapped Option types before comparison (#17590) 2023-03-11 11:16:12 +02:00
or_block_non_option_err.out checker: check or-block used on non-option value (#17444) 2023-03-01 02:08:18 +02:00
or_block_non_option_err.vv checker: check or-block used on non-option value (#17444) 2023-03-01 02:08:18 +02:00
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
orm_db_expr_option_error.out checker: check db type implements orm.Connection and isn't an Option. (#18078) 2023-04-29 10:36:21 +02:00
orm_db_expr_option_error.vv checker: check db type implements orm.Connection and isn't an Option. (#18078) 2023-04-29 10:36:21 +02:00
orm_empty_struct.out orm: enforce that queries always return a Result, a query-resulting array can be used as a V array in place. (#17871) 2023-04-04 08:23:06 +03:00
orm_empty_struct.vv orm: enforce that queries always return a Result, a query-resulting array can be used as a V array in place. (#17871) 2023-04-04 08:23:06 +03:00
orm_fn_call_with_wrong_return_type.out orm: enforce that queries always return a Result, a query-resulting array can be used as a V array in place. (#17871) 2023-04-04 08:23:06 +03:00
orm_fn_call_with_wrong_return_type.vv orm: enforce that queries always return a Result, a query-resulting array can be used as a V array in place. (#17871) 2023-04-04 08:23:06 +03:00
orm_insert_object_with_mismatched_type_error.out orm: enforce that queries always return a Result, a query-resulting array can be used as a V array in place. (#17871) 2023-04-04 08:23:06 +03:00
orm_insert_object_with_mismatched_type_error.vv orm: enforce that queries always return a Result, a query-resulting array can be used as a V array in place. (#17871) 2023-04-04 08:23:06 +03:00
orm_left_side_expr_in_infix_expr_has_no_struct_field_error.out orm: enforce that queries always return a Result, a query-resulting array can be used as a V array in place. (#17871) 2023-04-04 08:23:06 +03:00
orm_left_side_expr_in_infix_expr_has_no_struct_field_error.vv orm: enforce that queries always return a Result, a query-resulting array can be used as a V array in place. (#17871) 2023-04-04 08:23:06 +03:00
orm_limit_less_than_zero_error.out orm: enforce that queries always return a Result, a query-resulting array can be used as a V array in place. (#17871) 2023-04-04 08:23:06 +03:00
orm_limit_less_than_zero_error.vv orm: enforce that queries always return a Result, a query-resulting array can be used as a V array in place. (#17871) 2023-04-04 08:23:06 +03:00
orm_no_default_value.out orm: enforce that queries always return a Result, a query-resulting array can be used as a V array in place. (#17871) 2023-04-04 08:23:06 +03:00
orm_no_default_value.vv vlib: move the mysql/sqlite/pg/mssql modules under vlib/db (#16820) 2023-01-13 17:02:32 +02:00
orm_not_a_struct.out orm: enforce that queries always return a Result, a query-resulting array can be used as a V array in place. (#17871) 2023-04-04 08:23:06 +03:00
orm_not_a_struct.vv orm: enforce that queries always return a Result, a query-resulting array can be used as a V array in place. (#17871) 2023-04-04 08:23:06 +03:00
orm_using_non_struct_field_in_order_by_error.out orm: enforce that queries always return a Result, a query-resulting array can be used as a V array in place. (#17871) 2023-04-04 08:23:06 +03:00
orm_using_non_struct_field_in_order_by_error.vv orm: enforce that queries always return a Result, a query-resulting array can be used as a V array in place. (#17871) 2023-04-04 08:23:06 +03:00
orm_using_undefined_object_in_insert_error.out orm: enforce that queries always return a Result, a query-resulting array can be used as a V array in place. (#17871) 2023-04-04 08:23:06 +03:00
orm_using_undefined_object_in_insert_error.vv orm: enforce that queries always return a Result, a query-resulting array can be used as a V array in place. (#17871) 2023-04-04 08:23:06 +03:00
orm_using_undefined_var_in_where_err.out orm: enforce that queries always return a Result, a query-resulting array can be used as a V array in place. (#17871) 2023-04-04 08:23:06 +03:00
orm_using_undefined_var_in_where_err.vv orm: enforce that queries always return a Result, a query-resulting array can be used as a V array in place. (#17871) 2023-04-04 08:23:06 +03:00
orm_where_clause_unsupported_field_types_err.out checker,orm: skip compile-time error msg for fields tagged with [skip] and [sql: '-'] (#18700) 2023-06-29 06:43:24 +03:00
orm_where_clause_unsupported_field_types_err.vv checker,orm: skip compile-time error msg for fields tagged with [skip] and [sql: '-'] (#18700) 2023-06-29 06:43:24 +03:00
orm_wrong_where_expr_error.out orm: enforce that queries always return a Result, a query-resulting array can be used as a V array in place. (#17871) 2023-04-04 08:23:06 +03:00
orm_wrong_where_expr_error.vv orm: enforce that queries always return a Result, a query-resulting array can be used as a V array in place. (#17871) 2023-04-04 08:23:06 +03:00
os_prefix.out
os_prefix.vv
overflow_int_err.out
overflow_int_err.vv
overload_operator_difference_in_operand_types.out cgen: fix cgen errors for overloaded operators using reference types for the receiver and operand (fix #16725) (fix #15859) (#16726) 2022-12-21 09:10:30 +02:00
overload_operator_difference_in_operand_types.vv cgen: fix cgen errors for overloaded operators using reference types for the receiver and operand (fix #16725) (fix #15859) (#16726) 2022-12-21 09:10:30 +02:00
overload_return_type.out checker: vfmt overload_return_type.vv (#14557) 2022-05-30 13:49:13 +03:00
overload_return_type.vv checker: vfmt overload_return_type.vv (#14557) 2022-05-30 13:49:13 +03:00
oversized_int_lit.out
oversized_int_lit.vv
par_expr_assign_void_right_type_err.out checker: fix parenexpr checking on assignment (#17593) 2023-03-11 14:56:47 +02:00
par_expr_assign_void_right_type_err.vv checker: fix parenexpr checking on assignment (#17593) 2023-03-11 14:56:47 +02:00
pass_mut_lit.out checker: improve mut arg error msg (#16540) 2022-11-27 07:07:35 +03:00
pass_mut_lit.vv
passing_expr_to_fn_expecting_voidptr.out strconv: deprecate v_sprintf in favor of string interpolation 2022-08-23 09:53:05 +03:00
passing_expr_to_fn_expecting_voidptr.vv strconv: deprecate v_sprintf in favor of string interpolation 2022-08-23 09:53:05 +03:00
pointer_ops.out ast, checker, cgen: enable unsafe { nil } with reference to interface fields in structs (fix #16198) (#16199) 2022-10-26 09:39:23 +03:00
pointer_ops.vv ci: allow unsafe { a := nil }, add separate nil case in pointer_ops.vv, to test the nil checker errors independently from the voidptr ones 2022-07-21 22:52:38 +03:00
prefix_addr_err.out checker: fix missing check for taking address of literal value member (#18570) 2023-06-27 10:54:03 +03:00
prefix_addr_err.vv checker: fix missing check for taking address of literal value member (#18570) 2023-06-27 10:54:03 +03:00
prefix_err.out checker: produce more informative error messages on ~,!,-,<- operator type mismatches 2022-10-16 20:27:40 +03:00
prefix_err.vv
prefix_expr_decl_assign_err.out checker: disallow invalid prefix on left side of assign stmt (#18750) 2023-07-03 18:54:23 +03:00
prefix_expr_decl_assign_err.vv
print_char.out
print_char.vv
println_can_not_print_void_expressions.out
println_can_not_print_void_expressions.vv
private_redeclaration_of_C_struct.out thirdparty: update all sokol and fontstash headers with their upstream versions (#16940) 2023-01-11 11:29:38 +02:00
private_redeclaration_of_C_struct.vv tests: use a platform neutral module with C declarations (sokol.audio), instead of time in private_redeclaration_of_C_timeval.vv . 2022-06-27 19:48:46 +03:00
propagate_option_with_result_err.out checker, cgen, parser: fix Option/Result error messages (capitalized) (#17486) 2023-03-04 09:02:57 +03:00
propagate_option_with_result_err.vv fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
propagate_result_with_option.out checker, cgen, parser: fix Option/Result error messages (capitalized) (#17486) 2023-03-04 09:02:57 +03:00
propagate_result_with_option.vv all: basic implementation of result type (#14140) 2022-04-30 01:59:14 +03:00
ptr_array_init.out checker: array of references check 2022-07-14 00:58:14 +03:00
ptr_array_init.vv checker: array of references check 2022-07-14 00:58:14 +03:00
ptr_assign.out
ptr_assign.vv
ptr_slice.out checker: fix tests (adjust byte to u8 in .out files too) 2022-04-15 20:15:03 +03:00
ptr_slice.vv tests: use u8 everywhere 2022-04-15 18:34:15 +03:00
receiver_unknown_type_single_letter.out
receiver_unknown_type_single_letter.vv
recursive_alias_type_err.out checker: add error for type Alias = map[string]Alias (fix #17008) (#17015) 2023-01-18 01:34:43 +02:00
recursive_alias_type_err.vv checker: add error for type Alias = map[string]Alias (fix #17008) (#17015) 2023-01-18 01:34:43 +02: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 tests: do not use -prod for compiling .vv files in vlib/v/checker/tests/ and vlib/v/parser/tests/ 2022-05-18 13:39:57 +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 checker: fix nested struct ref field init check for embedded structs (fix #15768) (#15785) 2022-09-16 23:39:15 +03:00
reference_field_must_be_initialized.vv
reference_return.out
reference_return.vv
require_or_block_sumtype_map.err.out tests: do not use -prod for compiling .vv files in vlib/v/checker/tests/ and vlib/v/parser/tests/ 2022-05-18 13:39:57 +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
res_use_outside_defer.out all: add $res compile time function to get returned value in defer block (#18382) 2023-06-17 14:08:50 +03:00
res_use_outside_defer.vv all: add $res compile time function to get returned value in defer block (#18382) 2023-06-17 14:08:50 +03:00
reserved_type_name_const_err.out checker: disallow using builtin type names for const names (#16599) 2022-12-06 15:44:25 +02:00
reserved_type_name_const_err.vv checker: disallow using builtin type names for const names (#16599) 2022-12-06 15:44:25 +02:00
result_alias_type_err.out checker: disallow Result type aliases (#18693) 2023-06-27 20:08:37 +03:00
result_alias_type_err.vv checker: disallow Result type aliases (#18693) 2023-06-27 20:08:37 +03:00
result_missing_propagate_err.out checker, cgen, parser: fix Option/Result error messages (capitalized) (#17486) 2023-03-04 09:02:57 +03:00
result_missing_propagate_err.vv checker: fix illegal result propagate on non-result type (fix #15574) (#15578) 2022-08-28 13:31:45 +03:00
result_type_call_err.out checker, cgen, parser: fix Option/Result error messages (capitalized) (#17486) 2023-03-04 09:02:57 +03:00
result_type_call_err.vv checker: check result type method call (#15794) 2022-09-17 11:45:13 +03:00
return_aliases_of_fixed_array.out all: allow fixed array returns (#17931) 2023-05-18 11:30:49 +02:00
return_aliases_of_fixed_array.vv checker: check error for returning aliases of fixed array (#14349) 2022-05-10 14:01:55 +03:00
return_count_mismatch.out checker: fix error position in fn f() int { return 1,2 } 2022-05-27 16:53:24 +03:00
return_count_mismatch.vv checker: fix error position in fn f() int { return 1,2 } 2022-05-27 16:53:24 +03: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 all: allow fixed array returns (#17931) 2023-05-18 11:30:49 +02:00
return_fixed_array.vv all: allow fixed array returns (#17931) 2023-05-18 11:30:49 +02:00
return_match_expr_type_mismatch.out checker: check type mismatch of return match expr (#16019) 2022-10-10 19:41:55 +03:00
return_match_expr_type_mismatch.vv checker: check type mismatch of return match expr (#16019) 2022-10-10 19:41:55 +03:00
return_missing_comp_if_nested.out
return_missing_comp_if_nested.vv
return_missing_comp_if.out
return_missing_comp_if.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_option_of_multiple_results.out all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
return_option_of_multiple_results.vv all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
return_ref_as_no_ref_bug.out checker: add a return *x suggestion, to the error fn ... expects you to return a non reference type ..., but you are returning ... instead 2022-12-02 10:40:36 +02:00
return_ref_as_no_ref_bug.vv
return_result_fn_mismatch.out checker: check fn type mismatch of return result type fn (#16269) 2022-10-31 14:05:43 +02:00
return_result_fn_mismatch.vv checker: check fn type mismatch of return result type fn (#16269) 2022-10-31 14:05:43 +02:00
return_result_type_mismatch.out checker: check mismatch of return result type (#15413) 2022-08-12 17:23:14 +03:00
return_result_type_mismatch.vv checker: check mismatch of return result type (#15413) 2022-08-12 17:23:14 +03:00
return_type.out
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 fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
return_working_comp_if_nested.out
return_working_comp_if_nested.vv
return_working_comp_if.out
return_working_comp_if.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
rshift_op_wrong_left_type_err.vv
rshift_op_wrong_right_type_err.out
rshift_op_wrong_right_type_err.vv
selective_const_import.out
selective_const_import.vv
selector_expr_assign.out parser: correct error message for seclector_expr_assign.vv (#14747) 2022-06-12 20:29:54 +03:00
selector_expr_assign.vv
selector_expr_option_err.out cgen, check, parser: implement first-class option type (#17017) 2023-02-18 11:45:01 +02:00
selector_expr_option_err.vv all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
shared_bad_args.out
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 checker: fix shared_element_lock.vv test (#14960) 2022-07-06 10:43:36 +03:00
shared_element_lock.vv
shared_lock.out
shared_lock.vv
shared_param_assign_err.out checker: check shared parameter assigning (fix #18525) (#18534) 2023-06-24 14:18:11 +03:00
shared_param_assign_err.vv checker: check shared parameter assigning (fix #18525) (#18534) 2023-06-24 14:18:11 +03:00
shared_param_err.out checker: fix wrong error message about missing shared on parameter signature (fix #18087) (#18091) 2023-05-02 15:52:40 +03:00
shared_param_err.vv checker: fix wrong error message about missing shared on parameter signature (fix #18087) (#18091) 2023-05-02 15:52:40 +03:00
shared_type_mismatch.out
shared_type_mismatch.vv
shift_op_wrong_left_type_err.out
shift_op_wrong_left_type_err.vv
shift_op_wrong_right_type_err.out
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
sizeof.out checker: check the type of SizeOf 2023-03-03 18:45:18 +01:00
sizeof.vv checker: check the type of SizeOf 2023-03-03 18:45:18 +01:00
slice_reassignment.out
slice_reassignment.vv
sort_method_called_on_immutable_receiver.out
sort_method_called_on_immutable_receiver.vv
static_method_multi_return_err.out parser, checker: fix static method naming and generic call (#18694) 2023-06-28 07:07:07 +03:00
static_method_multi_return_err.vv parser, checker: fix static method naming and generic call (#18694) 2023-06-28 07:07:07 +03:00
static_method_not_found_err.out parser, checker: fix static method naming and generic call (#18694) 2023-06-28 07:07:07 +03:00
static_method_not_found_err.vv parser, checker: fix static method naming and generic call (#18694) 2023-06-28 07:07:07 +03:00
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
store_string_err.out
store_string_err.vv checker: check option fn returning error (fix #17423) (#17438) 2023-03-02 15:49:50 +02:00
str_interpol_invalid_err.out all: rollback to old interpolation (step 3) (#16380) 2022-11-10 15:05:34 +03:00
str_interpol_invalid_err.vv all: rollback to old interpolation (step 3) (#16380) 2022-11-10 15:05:34 +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
struct_assigned_to_pointer_to_struct.vv
struct_cast_to_struct_generic_err.out all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
struct_cast_to_struct_generic_err.vv all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
struct_cast_to_struct_mut_err_a.out tests: do not use -prod for compiling .vv files in vlib/v/checker/tests/ and vlib/v/parser/tests/ 2022-05-18 13:39:57 +03:00
struct_cast_to_struct_mut_err_a.vv
struct_cast_to_struct_mut_err_b.out tests: do not use -prod for compiling .vv files in vlib/v/checker/tests/ and vlib/v/parser/tests/ 2022-05-18 13:39:57 +03:00
struct_cast_to_struct_mut_err_b.vv
struct_cast_to_struct_pub_err_a.out tests: do not use -prod for compiling .vv files in vlib/v/checker/tests/ and vlib/v/parser/tests/ 2022-05-18 13:39:57 +03:00
struct_cast_to_struct_pub_err_a.vv
struct_cast_to_struct_pub_err_b.out tests: do not use -prod for compiling .vv files in vlib/v/checker/tests/ and vlib/v/parser/tests/ 2022-05-18 13:39:57 +03:00
struct_cast_to_struct_pub_err_b.vv
struct_embed_invalid_type.out
struct_embed_invalid_type.vv
struct_embed_required_field_err.out checker: fix wrong struct warn about inited fields (#17678) 2023-03-16 21:42:00 +02:00
struct_embed_required_field_err.vv checker: fix wrong struct warn about inited fields (#17678) 2023-03-16 21:42:00 +02:00
struct_field_assign_internal_types_nil_err.out checker: disallow assigning nil to struct fields (#18725) 2023-07-02 14:04:28 +03:00
struct_field_assign_internal_types_nil_err.vv checker: disallow assigning nil to struct fields (#18725) 2023-07-02 14:04:28 +03:00
struct_field_generic_struct_unknown_type_err.out checker: check nested struct field with required attr (fix #10913) (#17277) 2023-02-11 11:22:31 +02:00
struct_field_generic_struct_unknown_type_err.vv checker: add err for unknown generic struct field (#16698) 2022-12-18 11:46:37 +02:00
struct_field_init_fntype_mismatch.out checker: check fntype mismatch of struct field init (fix #16372) (#16381) 2022-11-10 20:19:19 +02:00
struct_field_init_fntype_mismatch.vv checker: check fntype mismatch of struct field init (fix #16372) (#16381) 2022-11-10 20:19:19 +02:00
struct_field_init_with_nobody_anon_fn_err.out checker: always trigger error for anon fns without a body block (#16358) 2022-11-08 15:50:59 +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_init_with_result_err.out checker: check struct field init with result value (fix #18511) (#18514) 2023-06-22 22:40:11 +03:00
struct_field_init_with_result_err.vv checker: check struct field init with result value (fix #18511) (#18514) 2023-06-22 22:40:11 +03:00
struct_field_init_with_void_expr_err.out checker: handle void in struct field init (fix #13944) (#14876) 2022-06-28 11:06:25 +03:00
struct_field_init_with_void_expr_err.vv checker: handle void in struct field init (fix #13944) (#14876) 2022-06-28 11:06:25 +03:00
struct_field_map_address_err.out checker: check taking the address of map field outside unsafe block (#15737) 2022-09-13 10:04:21 +03:00
struct_field_map_address_err.vv checker: check taking the address of map field outside unsafe block (#15737) 2022-09-13 10:04:21 +03: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 14:57:14 +03:00
struct_field_name_err.vv checker: check struct field name using uppercase letters (#14220) 2022-04-29 14:57:14 +03:00
struct_field_option_err.out checker: abstract repetitive error handling (#18507) 2023-06-21 12:13:18 +03:00
struct_field_option_err.vv all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
struct_field_reference_type_err.out checker: check nested struct field with required attr (fix #10913) (#17277) 2023-02-11 11:22:31 +02: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 checker: improve error message of fn args mismatch (#15550) 2022-08-26 22:38:53 +03:00
struct_field_type_err.vv
struct_field_unsign_type_check_err.out all: correct the first letter of error message from uppercase to lowercase (#16481) 2022-11-19 10:43:25 +02:00
struct_field_unsign_type_check_err.vv checker: fix struct field unsign type check (fix #16457) (#16458) 2022-11-17 09:20:42 +02:00
struct_field_with_any_type_err.out all: remove any type future implementation reference (#18822) 2023-07-10 10:41:06 +03: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_field_with_default_err.out all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
struct_field_with_default_err.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
struct_fixed_array_init_test.out cgen: fix struct field initialisation with a fixed array (#16692) 2022-12-17 18:15:17 +02:00
struct_fixed_array_init_test.vv cgen: fix struct field initialisation with a fixed array (#16692) 2022-12-17 18:15:17 +02:00
struct_init_update_type_err.out checker: allow struct updates from struct aliases (#16567) 2022-12-02 00:28:10 +02:00
struct_init_update_type_err.vv checker: allow struct updates from struct aliases (#16567) 2022-12-02 00:28:10 +02:00
struct_init_wrong_warn.out checker: fix wrong struct warn about inited fields (#17678) 2023-03-16 21:42:00 +02:00
struct_init_wrong_warn.vv ast, builder, checker, parser: fix typos (#18480) 2023-06-18 22:36:17 +03:00
struct_match_same_type_node.out checker, cgen: fix check and cgen for match x { StructName {} } and match x { y {} }, where x is a mutable receiver (#17755) 2023-03-25 14:38:47 +02:00
struct_match_same_type_node.vv checker, cgen: fix check and cgen for match x { StructName {} } and match x { y {} }, where x is a mutable receiver (#17755) 2023-03-25 14:38:47 +02:00
struct_multi_return_field_err.out parser: improve precision of struct field type positions in errors 2022-12-18 13:34:39 +02:00
struct_multi_return_field_err.vv checker: check if struct field type isn't type (#15359) 2022-08-06 19:11:51 +03:00
struct_multiple_attrs_test.out parser: add a better error message, for multiple attributes, used on the same struct field (#16954) 2023-01-13 23:27:46 +02:00
struct_multiple_attrs_test.vv parser: add a better error message, for multiple attributes, used on the same struct field (#16954) 2023-01-13 23:27:46 +02:00
struct_non_ptr_field_nil_default_value_err.out checker: disallow nil assignment on non pointer struct fields (#16056) 2022-10-13 10:36:59 +03:00
struct_non_ptr_field_nil_default_value_err.vv checker: disallow nil assignment on non pointer struct fields (#16056) 2022-10-13 10:36:59 +03:00
struct_none_field_type_err.out checker: disallow none type in struct fields (#16425) 2022-11-14 17:48:00 +03:00
struct_none_field_type_err.vv checker: disallow none type in struct fields (#16425) 2022-11-14 17:48:00 +03:00
struct_ptr_cast_int_outside_unsafe_err.out checker: disallow struct int to ptr outside unsafe (#17923) 2023-04-13 07:38:21 +02:00
struct_ptr_cast_int_outside_unsafe_err.vv checker: disallow struct int to ptr outside unsafe (#17923) 2023-04-13 07:38:21 +02:00
struct_ptr_cast_zero_err.out checker: disallow struct int to ptr outside unsafe (#17923) 2023-04-13 07:38:21 +02:00
struct_ptr_cast_zero_err.vv checker: disallow struct int to ptr outside unsafe (#17923) 2023-04-13 07:38:21 +02:00
struct_pub_field.out
struct_pub_field.vv
struct_ref_fields_uninitialized_err.out checker: check struct embed required field (#17595) 2023-03-11 11:12:26 +02:00
struct_ref_fields_uninitialized_err.vv checker: fix references for alias type, that could still be uninitalized (fix #15935) (#15940) 2022-10-01 14:40:55 +03:00
struct_required_field.out
struct_required_field.vv
struct_required_fn_field.out
struct_required_fn_field.vv
struct_type_cast_err.out checker: add byte deprecation warning (#18287) 2023-05-28 23:30:32 +02:00
struct_type_cast_err.vv tests: use u8 everywhere 2022-04-15 18:34:15 +03:00
struct_type_is_private_err.out vlib: move the mysql/sqlite/pg/mssql modules under vlib/db (#16820) 2023-01-13 17:02:32 +02:00
struct_type_is_private_err.vv vlib: move the mysql/sqlite/pg/mssql modules under vlib/db (#16820) 2023-01-13 17:02:32 +02:00
struct_unknown_field.out checker: add a suggestion for misspelled field names in struct literals 2022-08-10 11:01:43 +03:00
struct_unknown_field.vv
struct_unneeded_default.out checker: fix warning of unnnecessary default none value for option struct fields (#17305) 2023-02-15 11:42:00 +02:00
struct_unneeded_default.vv checker: fix warning of unnnecessary default none value for option struct fields (#17305) 2023-02-15 11:42:00 +02:00
struct_update_comptime_err.out checker: disallow struct{...val.$(field.name)} (#16852) 2023-01-03 10:21:32 +02:00
struct_update_comptime_err.vv checker: disallow struct{...val.$(field.name)} (#16852) 2023-01-03 10:21:32 +02:00
struct_voidptr_field_init_err.out checker: check struct init with pointer field (fix #18485) (#18501) 2023-06-21 12:36:28 +03:00
struct_voidptr_field_init_err.vv checker: check struct init with pointer field (fix #18485) (#18501) 2023-06-21 12:36:28 +03:00
struct_voidptr_field_no_ptr_struct_value_err.out checker: disallow non ptr struct values to voidptr fields (#16958) 2023-01-13 17:05:18 +02:00
struct_voidptr_field_no_ptr_struct_value_err.vv checker: disallow non ptr struct values to voidptr fields (#16958) 2023-01-13 17:05:18 +02:00
sum_type_assign_non_variant_err.out
sum_type_assign_non_variant_err.vv
sum_type_common_fields_alias_error.out
sum_type_common_fields_alias_error.vv
sum_type_common_fields_error.out
sum_type_common_fields_error.vv
sum_type_exists.out ast, builder, checker, parser: fix typos (#18480) 2023-06-18 22:36:17 +03:00
sum_type_exists.vv ast, builder, checker, parser: fix typos (#18480) 2023-06-18 22:36:17 +03:00
sum_type_infix_err.out
sum_type_infix_err.vv
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 checker: add hint to sumtype cannot hold reference types error (#18486) 2023-06-20 11:54:57 +03:00
sum_type_ref_variant_err.vv checker: add hint to sumtype cannot hold reference types error (#18486) 2023-06-20 11:54:57 +03:00
sum.out
sum.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_define_recursively.out checker: fix recursive define check is missing when defining sumtype. (fix #15684) (#15718) 2022-09-11 15:17:38 +03:00
sumtype_define_recursively.vv checker: fix recursive define check is missing when defining sumtype. (fix #15684) (#15718) 2022-09-11 15:17:38 +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
sumtype_in_sumtype_err.vv
sumtype_in_unknown_types_err.out checker: check sumtype in unknown type (#17225) 2023-02-05 12:02:30 +01:00
sumtype_in_unknown_types_err.vv checker: check sumtype in unknown type (#17225) 2023-02-05 12:02:30 +01: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
sumtype_mismatched_type.vv
sumtype_of_fntype_assign_err.out table: check sumtype of fntype assign error (#15685) 2022-09-07 16:05:38 +03:00
sumtype_of_fntype_assign_err.vv table: check sumtype of fntype assign error (#15685) 2022-09-07 16:05:38 +03:00
sync_receiver_decl.out parser: fix missing sync auto import when only declaring shared type and not using it (#18255) 2023-05-25 02:54:04 +02:00
sync_receiver_decl.vv parser: fix missing sync auto import when only declaring shared type and not using it (#18255) 2023-05-25 02:54:04 +02:00
template_type_mismatch_err.out checker: add an error for $tmpl function type mismatches (#18826) 2023-07-09 19:40:10 +03:00
template_type_mismatch_err.vv checker: add an error for $tmpl function type mismatches (#18826) 2023-07-09 19:40:10 +03:00
test_functions_wrong_signature_test.out checker: improve error message for test function definition (#15483) 2022-08-21 16:19:39 +03:00
test_functions_wrong_signature_test.vv all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
top_level_fn_builtin_decl_err.out checker: disallow top level decl builtin fn (#17857) 2023-04-03 17:30:05 +03:00
top_level_fn_builtin_decl_err.vv checker: disallow top level decl builtin fn (#17857) 2023-04-03 17:30:05 +03:00
trailing_comma_struct_attr.out
trailing_comma_struct_attr.vv
type_alias_struct_generic_unknown_name_err.out all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
type_alias_struct_generic_unknown_name_err.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
type_cast_option_err.out cgen, check, parser: implement first-class option type (#17017) 2023-02-18 11:45:01 +02:00
type_cast_option_err.vv all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
typedef_attr_v_struct_err.out
typedef_attr_v_struct_err.vv
uncasted_enum_val_as_size_for_fixed_array_err.out checker: allow casted enum val and const as fixed array size (#18321) 2023-06-05 16:44:55 +03:00
uncasted_enum_val_as_size_for_fixed_array_err.vv checker: allow casted enum val and const as fixed array size (#18321) 2023-06-05 16:44:55 +03:00
undefined_ident_in_if_guard_err_a.out parser: check undefined variable in if guard (#16138) 2022-10-21 22:48:59 +03:00
undefined_ident_in_if_guard_err_a.vv parser: check undefined variable in if guard (#16138) 2022-10-21 22:48:59 +03:00
undefined_ident_in_if_guard_err_b.out parser: check undefined variable in if guard (#16138) 2022-10-21 22:48:59 +03:00
undefined_ident_in_if_guard_err_b.vv parser: check undefined variable in if guard (#16138) 2022-10-21 22:48:59 +03:00
undefined_ident_in_ref_selector.out checker: check undefined ident in reference selector (#14949) 2022-07-05 16:29:54 +03:00
undefined_ident_in_ref_selector.vv checker: check undefined ident in reference selector (#14949) 2022-07-05 16:29:54 +03:00
undefined_ident_of_struct.out
undefined_ident_of_struct.vv
undefined_type_on_sumtype.out all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
undefined_type_on_sumtype.vv all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
undefined_var_in_comptime_for_test.out checker: fix postfix var checking break (#16984) 2023-01-17 05:47:51 +01:00
undefined_var_in_comptime_for_test.vv checker: fix postfix var checking break (#16984) 2023-01-17 05:47:51 +01:00
unexpected_or_propagate.out checker: abstract repetitive error handling (#18507) 2023-06-21 12:13:18 +03:00
unexpected_or_propagate.vv
unexpected_or.out checker, cgen, parser: fix Option/Result error messages (capitalized) (#17486) 2023-03-04 09:02:57 +03:00
unexpected_or.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
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
unimplemented_interface_h.vv
unimplemented_interface_i.out
unimplemented_interface_i.vv
unimplemented_interface_j.out
unimplemented_interface_j.vv
union_unsafe_fields.out checker: add a return *x suggestion, to the error fn ... expects you to return a non reference type ..., but you are returning ... instead 2022-12-02 10:40:36 +02:00
union_unsafe_fields.vv
unknown_array_element_type_b.out parser: improve precision of struct field type positions in errors 2022-12-18 13:34:39 +02:00
unknown_array_element_type_b.vv
unknown_array_fn_type_in_struct_field.out checker: fix error assigning generic function variable with generic struct return (#18472) 2023-06-18 22:22:22 +03:00
unknown_array_fn_type_in_struct_field.vv checker: check unknown array of fn type in struct field (#15502) 2022-08-23 11:15:25 +03:00
unknown_as_type.out
unknown_as_type.vv
unknown_comptime_expr.out cgen, checker: var type checking at compile-time (#16951) 2023-01-14 16:20:12 +02:00
unknown_comptime_expr.vv cgen, checker: var type checking at compile-time (#16951) 2023-01-14 16:20:12 +02:00
unknown_field_in_struct_literal.out checker: add a suggestion for misspelled field names in struct literals 2022-08-10 11:01:43 +03:00
unknown_field_in_struct_literal.vv checker: add a suggestion for misspelled field names in struct literals 2022-08-10 11:01:43 +03:00
unknown_field.out
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 all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
unknown_generic_type.vv all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
unknown_method_suggest_name.out parser: improve precision of struct field type positions in errors 2022-12-18 13:34:39 +02:00
unknown_method_suggest_name.vv
unknown_method.out
unknown_method.vv
unknown_sizeof_type_err_a.out parser: support an unambiguous sizeof[T]() and isreftype[T]() (part 1) (#16684) 2022-12-15 19:21:52 +02:00
unknown_sizeof_type_err_a.vv parser: support an unambiguous sizeof[T]() and isreftype[T]() (part 1) (#16684) 2022-12-15 19:21:52 +02:00
unknown_sizeof_type_err_b.out checker: check the type of SizeOf 2023-03-03 18:45:18 +01:00
unknown_sizeof_type_err_b.vv parser: support an unambiguous sizeof[T]() and isreftype[T]() (part 1) (#16684) 2022-12-15 19:21:52 +02:00
unknown_struct_field_suggest_name.out
unknown_struct_field_suggest_name.vv
unknown_struct_name.out
unknown_struct_name.vv
unknown_type_in_anon_fn.out fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
unknown_type_in_anon_fn.vv fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
unknown_var_assign.out
unknown_var_assign.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
unnecessary_parenthesis.out checker: warn instead of error, for unnecessary brackets on if/match (#18117) 2023-05-06 14:17:45 +03:00
unnecessary_parenthesis.vv
unreachable_code.out
unreachable_code.vv
unsafe_assign_none_err.out checker: disallow using unsafe { none } (#16431) 2022-11-15 18:55:07 +02:00
unsafe_assign_none_err.vv checker: disallow using unsafe { none } (#16431) 2022-11-15 18:55:07 +02:00
unsafe_c_calls_should_be_checked.out tests: do not use -prod for compiling .vv files in vlib/v/checker/tests/ and vlib/v/parser/tests/ 2022-05-18 13:39:57 +03:00
unsafe_c_calls_should_be_checked.vv
unsafe_fixed_array_assign.out
unsafe_fixed_array_assign.vv
unsafe_method_as_field.out checker,gen: allow using methods as function pointers (#14407) 2022-05-15 18:28:37 +03:00
unsafe_method_as_field.vv checker,gen: allow using methods as function pointers (#14407) 2022-05-15 18:28:37 +03:00
unsafe_none_return_err.out checker: disallow using unsafe { none } (#16431) 2022-11-15 18:55:07 +02:00
unsafe_none_return_err.vv checker: disallow using unsafe { none } (#16431) 2022-11-15 18:55:07 +02:00
unsafe_pointer_arithmetic_should_be_checked.out tests: do not use -prod for compiling .vv files in vlib/v/checker/tests/ and vlib/v/parser/tests/ 2022-05-18 13:39:57 +03:00
unsafe_pointer_arithmetic_should_be_checked.vv
unsafe_required.out tests: do not use -prod for compiling .vv files in vlib/v/checker/tests/ and vlib/v/parser/tests/ 2022-05-18 13:39:57 +03:00
unsafe_required.vv
unused_label.out checker: fix the pos information in the warning message, when the label is not used (fix #16146) (#16148) 2022-10-22 19:26:38 +03:00
unused_label.vv checker: check for unused labels 2022-07-23 01:25:20 +03:00
unused_last_expr_stmt_in_if.out checker: check unused last expression in if (fix #16084) (#16088) 2022-10-17 18:15:01 +03:00
unused_last_expr_stmt_in_if.vv checker: check unused last expression in if (fix #16084) (#16088) 2022-10-17 18:15:01 +03:00
unwrapped_option_infix.out checker: fix missing check for unwrapped shift operation (#18451) 2023-06-16 09:49:24 +03:00
unwrapped_option_infix.vv all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
unwrapped_option_result_in_operation_err.out checker: disallow unwrapped option/result with in operator (#17875) 2023-04-05 11:20:42 +03:00
unwrapped_option_result_in_operation_err.vv checker: disallow unwrapped option/result with in operator (#17875) 2023-04-05 11:20:42 +03:00
unwrapped_result_infix_err.out checker: fix missing check for unwrapped shift operation (#18451) 2023-06-16 09:49:24 +03:00
unwrapped_result_infix_err.vv checker: add error for unwrapped result in infix expr (#16175) 2022-10-24 11:53:35 +03:00
use_deprecated_function_warning.out tests: do not use -prod for compiling .vv files in vlib/v/checker/tests/ and vlib/v/parser/tests/ 2022-05-18 13:39:57 +03:00
use_deprecated_function_warning.vv
var_decl_import_sym_conflict.out v: forbid local variable names, shadowing imported module names (#17197) 2023-02-03 09:09:41 +02:00
var_decl_import_sym_conflict.vv v: forbid local variable names, shadowing imported module names (#17197) 2023-02-03 09:09:41 +02:00
var_duplicate_const.out tests: do not use -prod for compiling .vv files in vlib/v/checker/tests/ and vlib/v/parser/tests/ 2022-05-18 13:39:57 +03:00
var_duplicate_const.vv
var_eval_not_used_scope.out
var_eval_not_used_scope.vv
var_eval_not_used.out
var_eval_not_used.vv
var_option_index_error.out cgen, check, parser: implement first-class option type (#17017) 2023-02-18 11:45:01 +02:00
var_option_index_error.vv cgen, check, parser: implement first-class option type (#17017) 2023-02-18 11:45:01 +02:00
var_option_wrong_default.out cgen, check, parser: implement first-class option type (#17017) 2023-02-18 11:45:01 +02:00
var_option_wrong_default.vv cgen, check, parser: implement first-class option type (#17017) 2023-02-18 11:45:01 +02:00
var_option_wrong_type.out cgen, check, parser: implement first-class option type (#17017) 2023-02-18 11:45:01 +02:00
var_option_wrong_type.vv cgen, check, parser: implement first-class option type (#17017) 2023-02-18 11:45:01 +02:00
var_option_wrong_unwrap.out cgen, check, parser: implement first-class option type (#17017) 2023-02-18 11:45:01 +02:00
var_option_wrong_unwrap.vv cgen, check, parser: implement first-class option type (#17017) 2023-02-18 11:45:01 +02:00
var_used_before_declaration.out
var_used_before_declaration.vv
void_fn_as_value.out
void_fn_as_value.vv
void_fn_multiple_ret_err.out checker: fix and improve return stmt error messages (#17477) 2023-03-04 09:32:55 +02:00
void_fn_multiple_ret_err.vv checker: fix and improve return stmt error messages (#17477) 2023-03-04 09:32:55 +02:00
void_function_assign_to_string.out
void_function_assign_to_string.vv
void_method_call.out checker: disallow method calls with invalid expressions (#15337) 2022-08-08 17:35:24 +03:00
void_method_call.vv checker: disallow method calls with invalid expressions (#15337) 2022-08-08 17:35:24 +03:00
void_option_err.out all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
void_option_err.vv all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
voidptr_cast_to_struct_err.out checker: disallow voidptr cast to struct (#18845) 2023-07-12 11:07:34 +03:00
voidptr_cast_to_struct_err.vv checker: disallow voidptr cast to struct (#18845) 2023-07-12 11:07:34 +03:00
voidptr_dereference_err.out checker: fix dereferencing voidptr. (#15033) 2022-07-12 01:12:29 +03:00
voidptr_dereference_err.vv ci: revert nil to voidptr(u64(0)) in voidptr_dereference_err.vv too. nil should have its own .vv/.out pair. 2022-07-21 22:43:14 +03:00
vweb_routing_checks.out ast, builder, checker, parser: fix typos (#18480) 2023-06-18 22:36:17 +03:00
vweb_routing_checks.vv ast, builder, checker, parser: fix typos (#18480) 2023-06-18 22:36:17 +03:00
vweb_tmpl_used_var.out
vweb_tmpl_used_var.vv
warnings_for_string_c2v_calls.out
warnings_for_string_c2v_calls.vv
wrong_fn_init_err.out checker: fix anon fn initialization as struct-like (#17652) 2023-03-17 21:41:00 +01:00
wrong_fn_init_err.vv checker: fix anon fn initialization as struct-like (#17652) 2023-03-17 21:41:00 +01:00
wrong_none_on_or_block_err.out checker: fix missing check for or-block on selectorexpr (#17975) 2023-04-17 16:11:34 +02:00
wrong_none_on_or_block_err.vv checker: fix missing check for none type on or block on non-option (#17529) 2023-03-07 18:11:03 +02:00
wrong_option_unwrap_err.out cgen: fix option unwrap on assignment (#17551) 2023-03-08 20:52:24 +01:00
wrong_option_unwrap_err.vv cgen: fix option unwrap on assignment (#17551) 2023-03-08 20:52:24 +01:00
wrong_propagate_ret_type.out checker, cgen, parser: fix Option/Result error messages (capitalized) (#17486) 2023-03-04 09:02:57 +03:00
wrong_propagate_ret_type.vv checker: fix illegal result propagate on non-result type (fix #15574) (#15578) 2022-08-28 13:31:45 +03:00
wrong_shift_left_option_err.out checker: fix missing check for unwrapped shift operation (#18451) 2023-06-16 09:49:24 +03:00
wrong_shift_left_option_err.vv checker: fix missing check for unwrapped shift operation (#18451) 2023-06-16 09:49:24 +03:00
wrong_type_casted_fixed_array_size_err.out checker: allow casted enum val and const as fixed array size (#18321) 2023-06-05 16:44:55 +03:00
wrong_type_casted_fixed_array_size_err.vv checker: allow casted enum val and const as fixed array size (#18321) 2023-06-05 16:44:55 +03:00