v/vlib/v/checker/tests
Uwe Krüger 7bfd89567b
shared: support `lock` on SelectorExpression (#10105)
2021-05-15 04:34:27 +03:00
..
comptime_env v.scanner: fix position of hash statements (#9222) 2021-03-10 20:23:17 +02:00
globals checker: check __global type (#9804) 2021-04-23 12:28:08 +03:00
modules checker: do not allow module aliases started with '_' (underscore) (#9588) 2021-04-09 13:14:27 +03:00
returns
run
templates
.gitattributes
.gitignore
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
alias_array_unknown_op_overloading_err.out cgen: fix operator overloading for array/map aliases (#9529) 2021-03-30 11:39:54 +02:00
alias_array_unknown_op_overloading_err.vv cgen: fix operator overloading for array/map aliases (#9529) 2021-03-30 11:39:54 +02:00
alias_map_unknown_op_overloading_err.out cgen: fix operator overloading for array/map aliases (#9529) 2021-03-30 11:39:54 +02:00
alias_map_unknown_op_overloading_err.vv cgen: fix operator overloading for array/map aliases (#9529) 2021-03-30 11:39:54 +02:00
alias_type_exists.out
alias_type_exists.vv
ambiguous_field_method_err.out
ambiguous_field_method_err.vv
ambiguous_function_call.out
ambiguous_function_call.vv
any_int_float_ban_err.out
any_int_float_ban_err.vv
append_err.out checker: disallow array append in an expression (#9265) 2021-03-12 16:09:01 +01:00
append_err.vv checker: disallow array append in an expression (#9265) 2021-03-12 16:09:01 +01:00
array_builtin_redefinition.out
array_builtin_redefinition.vv
array_cmp_err.out
array_cmp_err.vv
array_declare_element_a.out
array_declare_element_a.vv
array_declare_element_b.out
array_declare_element_b.vv
array_declare_element_c.out
array_declare_element_c.vv
array_element_type.out
array_element_type.vv
array_filter_fn_err.out
array_filter_fn_err.vv
array_index.out
array_index.vv
array_init_sum_type_without_init_value_and_len_err.out checker: disallow `x := [13]SumType{}` too 2021-03-10 11:07:36 +02:00
array_init_sum_type_without_init_value_and_len_err.vv checker: disallow `x := [13]SumType{}` too 2021-03-10 11:07:36 +02:00
array_insert_type_mismatch.out
array_insert_type_mismatch.vv
array_literal_modify_err.out checker: disallow array append in an expression (#9265) 2021-03-12 16:09:01 +01:00
array_literal_modify_err.vv checker: check array literal modify error (#9243) 2021-03-11 14:57:04 +02:00
array_map_arg_mismatch.out
array_map_arg_mismatch.vv
array_map_fn_err.out
array_map_fn_err.vv
array_or_map_assign_err.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
array_or_map_assign_err.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
array_prepend_type_mismatch.out
array_prepend_type_mismatch.vv
array_sort_err.out checker: check array.sort(a < b) (#9321) 2021-03-17 01:42:51 +01:00
array_sort_err.vv checker: check array.sort(a < b) (#9321) 2021-03-17 01:42:51 +01:00
arrow_op_wrong_left_type_err_a.out
arrow_op_wrong_left_type_err_a.vv
arrow_op_wrong_left_type_err_b.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
arrow_op_wrong_left_type_err_b.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
arrow_op_wrong_right_type_err_a.out
arrow_op_wrong_right_type_err_a.vv
arrow_op_wrong_right_type_err_b.out
arrow_op_wrong_right_type_err_b.vv
asm_immutable_err.out all: reimplement inline assembly (#8645) 2021-03-17 01:43:17 +01:00
asm_immutable_err.vv all: reimplement inline assembly (#8645) 2021-03-17 01:43:17 +01:00
assign_expr_type_err_a.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_type_err_a.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_type_err_b.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_type_err_b.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_type_err_c.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_type_err_c.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_type_err_d.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_type_err_d.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_type_err_e.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_type_err_e.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_type_err_f.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_type_err_f.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_type_err_g.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_type_err_g.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_type_err_h.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_type_err_h.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_type_err_i.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_type_err_i.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_undefined_err_a.out
assign_expr_undefined_err_a.vv
assign_expr_undefined_err_b.out
assign_expr_undefined_err_b.vv
assign_expr_undefined_err_c.out
assign_expr_undefined_err_c.vv
assign_expr_undefined_err_d.out
assign_expr_undefined_err_d.vv
assign_expr_undefined_err_e.out
assign_expr_undefined_err_e.vv
assign_expr_undefined_err_f.out
assign_expr_undefined_err_f.vv
assign_expr_undefined_err_g.out
assign_expr_undefined_err_g.vv
assign_expr_undefined_err_h.out
assign_expr_undefined_err_h.vv
assign_expr_unresolved_variables_err_chain.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_expr_unresolved_variables_err_chain.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_fn_call_on_left_side_err.out
assign_fn_call_on_left_side_err.vv
assign_multi_immutable_err.out
assign_multi_immutable_err.vv
assign_multi_mismatch.out checker: fix #9330 (#9342) 2021-03-17 20:57:14 +02:00
assign_multi_mismatch.vv
assign_mut.out
assign_mut.vv
assign_sumtype2_err.out
assign_sumtype2_err.vv
assign_sumtype_err.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
assign_sumtype_err.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
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_modify.out
blank_modify.vv
bool_string_cast_err.out
bool_string_cast_err.vv
c_fn_surplus_args.out checker: define missing C fn args & check C & JS args (#8770) 2021-03-05 17:41:11 +03:00
c_fn_surplus_args.vv
cannot_assign_array.out
cannot_assign_array.vv
cannot_cast_to_alias.out
cannot_cast_to_alias.vv
cannot_cast_to_struct.out
cannot_cast_to_struct.vv
cast_err.out
cast_err.vv
cast_string_err.out
cast_string_err.vv
cast_string_with_byte_err.out
cast_string_with_byte_err.vv
chan_args.out checker: check argument for `chan.try_push/pop()` (#9798) 2021-04-19 11:41:21 +03:00
chan_args.vv checker: check argument for `chan.try_push/pop()` (#9798) 2021-04-19 11:41:21 +03:00
chan_mut.out
chan_mut.vv
chan_ref.out ci: fix tests output files after 7f5c3cc 2021-04-25 09:31:12 +03:00
chan_ref.vv
check_generic_int_init.out tests: fix a generic init test 2021-03-13 18:46:02 +03:00
check_generic_int_init.vv
comparing_typesymbol_to_a_type_should_not_compile.out all: a massive merge of ast and table modules 2021-04-02 01:57:09 +03:00
comparing_typesymbol_to_a_type_should_not_compile.vv all: a massive merge of ast and table modules 2021-04-02 01:57:09 +03:00
comptime_call_method.out ast, cgen, checker, parser: support method arguments in comptime $for (#9208) 2021-03-11 15:04:34 +02:00
comptime_call_method.vv ast, cgen, checker, parser: support method arguments in comptime $for (#9208) 2021-03-11 15:04:34 +02:00
comptime_call_no_unused_var.out
comptime_call_no_unused_var.vv
comptime_field_selector_not_in_for_err.out
comptime_field_selector_not_in_for_err.vv
comptime_field_selector_not_name_err.out
comptime_field_selector_not_name_err.vv
comptime_for.out
comptime_for.vv
const_define_in_function_err.out
const_define_in_function_err.vv
const_field_add_err.out
const_field_add_err.vv
const_field_dec_err.out
const_field_dec_err.vv
const_field_inc_err.out
const_field_inc_err.vv
const_field_name_duplicate_err.out
const_field_name_duplicate_err.vv
const_field_name_snake_case.out
const_field_name_snake_case.vv
const_field_sub_err.out
const_field_sub_err.vv
ctdefine.out
ctdefine.vv
custom_comptime_define_error.mysymbol.run.out
custom_comptime_define_error.out
custom_comptime_define_error.vv
custom_comptime_define_if_debug.cg.run.out tests: add tests for `-d debug`, `-cg`, `-g` in combination for `[if debug]fn` etc 2021-03-07 12:42:30 +02:00
custom_comptime_define_if_debug.debug.bar.run.out tests: add tests for `-d debug`, `-cg`, `-g` in combination for `[if debug]fn` etc 2021-03-07 12:42:30 +02:00
custom_comptime_define_if_debug.debug.run.out tests: add tests for `-d debug`, `-cg`, `-g` in combination for `[if debug]fn` etc 2021-03-07 12:42:30 +02:00
custom_comptime_define_if_debug.g.run.out tests: add tests for `-d debug`, `-cg`, `-g` in combination for `[if debug]fn` etc 2021-03-07 12:42:30 +02:00
custom_comptime_define_if_debug.out tests: add tests for `-d debug`, `-cg`, `-g` in combination for `[if debug]fn` etc 2021-03-07 12:42:30 +02:00
custom_comptime_define_if_debug.run.out tests: add tests for `-d debug`, `-cg`, `-g` in combination for `[if debug]fn` etc 2021-03-07 12:42:30 +02:00
custom_comptime_define_if_debug.vv tests: add tests for `-d debug`, `-cg`, `-g` in combination for `[if debug]fn` etc 2021-03-07 12:42:30 +02:00
custom_comptime_define_if_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 tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
dec_lit_wrong_digit_err.vv
decompose_type_err.out
decompose_type_err.vv
deprecations.out v: support compiler notices. Use them for `[deprecated_after: '2021-05-01']` tags 2021-03-22 19:59:00 +02:00
deprecations.vv v: support compiler notices. Use them for `[deprecated_after: '2021-05-01']` tags 2021-03-22 19:59:00 +02:00
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_of_void_expr.out v: support dump(expr) (#9160) 2021-03-06 18:09:28 +01:00
dump_of_void_expr.vv v: support dump(expr) (#9160) 2021-03-06 18:09:28 +01:00
enum_as_int_err.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
enum_as_int_err.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
enum_empty.out
enum_empty.vv
enum_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
enum_err.vv
enum_field_name_duplicate_err.out
enum_field_name_duplicate_err.vv
enum_field_overflow.out
enum_field_overflow.vv
enum_field_value_duplicate_err.out
enum_field_value_duplicate_err.vv
enum_field_value_overflow.out
enum_field_value_overflow.vv
enum_op_err.out ast, parser: patches for VLS (#9562) 2021-04-02 16:26:37 +02:00
enum_op_err.vv
enum_op_flag_err.out ast, parser: patches for VLS (#9562) 2021-04-02 16:26:37 +02:00
enum_op_flag_err.vv
enum_single_letter.out
enum_single_letter.vv
eq_ne_op_wrong_type_err.out cgen: auto eq method for sumtype (#9408) 2021-03-22 06:39:07 +01:00
eq_ne_op_wrong_type_err.vv cgen: auto eq method for sumtype (#9408) 2021-03-22 06:39:07 +01:00
error_with_comment_with_crlf_ending.out
error_with_comment_with_crlf_ending.vv
error_with_comment_with_lf_ending.out
error_with_comment_with_lf_ending.vv
error_with_several_comments_with_crlf_ending.out
error_with_several_comments_with_crlf_ending.vv
error_with_unicode.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
error_with_unicode.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
expression_should_return_an_option.out
expression_should_return_an_option.vv
filter_func_return_nonbool_err.out checker: add check for call expr in map/filter (#9559) 2021-04-02 01:56:51 +02:00
filter_func_return_nonbool_err.vv checker: add check for call expr in map/filter (#9559) 2021-04-02 01:56:51 +02:00
filter_on_non_arr_err.out
filter_on_non_arr_err.vv
fixed_array_conv.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
fixed_array_conv.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
fixed_array_non_const_size_err.out
fixed_array_non_const_size_err.vv
fixed_array_size_err.out
fixed_array_size_err.vv
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 ast: fix bug where fn_signature return wrong str for variadic arg (#9993) 2021-05-04 12:33:24 +03:00
fn_args.vv ast: fix bug where fn_signature return wrong str for variadic arg (#9993) 2021-05-04 12:33:24 +03:00
fn_call_no_body.out
fn_call_no_body.vv
fn_duplicate.out builder: fix detecting duplicate functions (#9033) 2021-03-01 21:38:31 +01:00
fn_duplicate.vv builder: fix detecting duplicate functions (#9033) 2021-03-01 21:38:31 +01:00
fn_init_sig.out
fn_init_sig.vv
fn_return_or_err.out checker: check non-optional fn return or_block (#9227) 2021-03-10 12:53:23 +01:00
fn_return_or_err.vv checker: check non-optional fn return or_block (#9227) 2021-03-10 12:53:23 +01:00
fn_type_exists.out
fn_type_exists.vv checker: reorganize tests to match fmt tests 2020-04-26 12:34:42 +02:00
fn_var.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
fn_var.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
fn_variadic.out
fn_variadic.vv
for_in_index_optional.out
for_in_index_optional.vv
for_in_index_type.out checker: add error for `print( voidfn() )` 2021-03-02 17:54:38 +02:00
for_in_index_type.vv
for_in_map_one_variable_err.out
for_in_map_one_variable_err.vv
for_in_mut_val_type.out
for_in_mut_val_type.vv
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_match_err.out
for_match_err.vv
function_arg_mutable_err.out ci: fix the content of function_arg_mutable_err.out 2021-03-26 15:06:29 +02:00
function_arg_mutable_err.vv
function_arg_redefinition.out
function_arg_redefinition.vv
function_count_of_args_mismatch_err.out
function_count_of_args_mismatch_err.vv
function_missing_return_type.out all: automatically move (some) referenced objects to heap (#9873) 2021-04-25 21:40:38 +03:00
function_missing_return_type.vv v.ast, v.checker: fix absent 'missing return' warning, when a function ended with a t.panic() call 2021-04-20 11:49:06 +03:00
function_variadic_arg_array_decompose.out
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_fn_decl_without_generic_names_err.out parser: ensure generic function declaration specifies type names (fix #9959) (#9967) 2021-05-02 19:30:39 +03:00
generic_fn_decl_without_generic_names_err.vv parser: ensure generic function declaration specifies type names (fix #9959) (#9967) 2021-05-02 19:30:39 +03:00
generics_fn_called_arg_mismatch.out checker: check generics variadic arg mismatch (#9700) 2021-04-13 02:06:24 +02:00
generics_fn_called_arg_mismatch.vv generics: check generic_fn called arg mismatch (#9510) 2021-03-30 09:36:45 +02:00
generics_fn_called_no_arg_err.out checker: check generic fn called no arg without generic names (#9825) 2021-04-20 21:36:21 +03:00
generics_fn_called_no_arg_err.vv checker: check generic fn called no arg without generic names (#9825) 2021-04-20 21:36:21 +03:00
generics_fn_called_outside_of_generic_fn.out checker: check generics fn called outside of generic fn (#9984) 2021-05-03 19:50:08 +03:00
generics_fn_called_outside_of_generic_fn.vv checker: check generics fn called outside of generic fn (#9984) 2021-05-03 19:50:08 +03:00
generics_fn_called_variadic_arg_mismatch.out checker: check generics variadic arg mismatch (#9700) 2021-04-13 02:06:24 +02:00
generics_fn_called_variadic_arg_mismatch.vv checker: check generics variadic arg mismatch (#9700) 2021-04-13 02:06:24 +02:00
generics_fn_return_generic_struct_err.out checker: check generics fn that return generic struct (#9979) 2021-05-03 19:48:54 +03:00
generics_fn_return_generic_struct_err.vv checker: check generics fn that return generic struct (#9979) 2021-05-03 19:48:54 +03:00
generics_non_generic_fn_called_like_a_generic_one.out
generics_non_generic_fn_called_like_a_generic_one.vv
generics_struct_declaration_err.out checker: check generic struct declaration (fix #9974) (#9978) 2021-05-03 19:47:02 +03:00
generics_struct_declaration_err.vv checker: check generic struct declaration (fix #9974) (#9978) 2021-05-03 19:47:02 +03:00
generics_too_many_parameters.out generics: add more checks (#9539) 2021-04-02 16:27:54 +02:00
generics_too_many_parameters.vv generics: add more checks (#9539) 2021-04-02 16:27:54 +02:00
generics_type_ambiguous.out checker: fix spelling in 'inferred generic type is ambiguous:' check (#9593) 2021-04-05 18:21:09 +03:00
generics_type_ambiguous.vv checker: fix spelling in 'inferred generic type is ambiguous:' check (#9593) 2021-04-05 18:21:09 +03:00
globals_error.out v: replace `--enable-globals` with `-enable-globals` (#9898) 2021-04-28 07:44:28 +03:00
globals_error.run.out
globals_error.vv
go_expr.out
go_expr.vv
go_mut_arg.out
go_mut_arg.vv
go_mut_receiver.out
go_mut_receiver.vv
go_wait_or.out
go_wait_or.vv
goto_label.out
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
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_match_expr.out
if_match_expr.vv
if_match_expr_err.out
if_match_expr_err.vv
if_match_result.out
if_match_result.vv
if_non_bool_cond.out
if_non_bool_cond.vv
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: add immutable_builtin_modify.vv test (#9702) 2021-04-13 06:55:41 +03:00
immutable_builtin_modify.vv checker: add immutable_builtin_modify.vv test (#9702) 2021-04-13 06:55:41 +03:00
immutable_field.out
immutable_field.vv
immutable_field_postfix.out
immutable_field_postfix.vv
immutable_interface_field.out checker: add mutability checks for interface fields; add tests (#8312) 2021-01-24 22:11:17 +01:00
immutable_interface_field.vv
immutable_map.out
immutable_map.vv
immutable_rec.out
immutable_rec.vv
immutable_struct_postfix.out
immutable_struct_postfix.vv
immutable_var.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
immutable_var.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
immutable_var_postfix.out
immutable_var_postfix.vv
import_duplicate_err.out
import_duplicate_err.vv
import_middle_err.out
import_middle_err.vv
import_mod_as_mod_err.out
import_mod_as_mod_err.vv
import_mod_sub_as_sub_err.out
import_mod_sub_as_sub_err.vv
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_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 use of private enum from outside module an error. (#9821) 2021-04-22 07:07:56 +03:00
import_symbol_private_err.vv checker: make use of private enum from outside module an error. (#9821) 2021-04-22 07:07:56 +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 Revert "Revert "builder: create the binary in the current directory if -o is not provided"" 2021-03-23 14:49:09 +03:00
in_mismatch_type.vv
incorrect_for_in_name_variable.out
incorrect_for_in_name_variable.vv
incorrect_name_alias_type.out
incorrect_name_alias_type.vv
incorrect_name_const.out
incorrect_name_const.vv
incorrect_name_enum.out
incorrect_name_enum.vv
incorrect_name_enum_field.out
incorrect_name_enum_field.vv
incorrect_name_fn_type.out
incorrect_name_fn_type.vv
incorrect_name_function.out
incorrect_name_function.vv
incorrect_name_interface.out parser: fix InterfaceDecl's position (#9649) 2021-04-09 17:18:22 +02:00
incorrect_name_interface.vv
incorrect_name_interface_method.out
incorrect_name_interface_method.vv
incorrect_name_module.out
incorrect_name_module.vv
incorrect_name_struct.out
incorrect_name_struct.vv
incorrect_name_struct_field.out
incorrect_name_struct_field.vv
incorrect_name_sum_type.out
incorrect_name_sum_type.vv
incorrect_name_variable.out
incorrect_name_variable.vv
index_expr.out
index_expr.vv
infix_err.out checker: change wording of the error message for complex boolean expressions 2021-04-14 19:55:52 +03:00
infix_err.vv
int_modulo_by_zero_err.out
int_modulo_by_zero_err.vv
interface_implementing_interface.out
interface_implementing_interface.vv
interface_implementing_own_interface_method.out interfaces: error on implemention of own interface method & on duplicate normal methods 2021-03-03 15:02:10 +11:00
interface_implementing_own_interface_method.vv interfaces: error on implemention of own interface method & on duplicate normal methods 2021-03-03 15:02:10 +11:00
interface_return_parameter_err.out ast, parser: add additional pos info for FnDecl and InterfaceDecl nodes (#9603) 2021-04-05 18:14:21 +03:00
interface_return_parameter_err.vv
interface_too_many_embedding_levels.out v: implement interface embedding (#9935) 2021-05-02 03:00:47 +03:00
interface_too_many_embedding_levels.vv v: implement interface embedding (#9935) 2021-05-02 03:00:47 +03:00
interpolation_recursive_str_err.out
interpolation_recursive_str_err.vv
invalid_char_err.out
invalid_char_err.vv
invalid_property.out checker: improve error message for invalid property (#9263) 2021-03-12 14:18:52 +02:00
invalid_property.vv checker: improve error message for invalid property (#9263) 2021-03-12 14:18:52 +02:00
invert_other_types_bits_error.out
invert_other_types_bits_error.vv
is_type_invalid.out checker: correct pos for type error of `if v is interface` (#9080) 2021-03-03 09:23:39 +02:00
is_type_invalid.vv
is_type_not_exist.out
is_type_not_exist.vv
labelled_break_continue.out
labelled_break_continue.vv
lock_already_locked.out shared: support `lock` on SelectorExpression (#10105) 2021-05-15 04:34:27 +03:00
lock_already_locked.vv
lock_already_rlocked.out shared: support `lock` on SelectorExpression (#10105) 2021-05-15 04:34:27 +03:00
lock_already_rlocked.vv
lock_const.out shared: support `lock` on SelectorExpression (#10105) 2021-05-15 04:34:27 +03:00
lock_const.vv
lock_needed.out shared: support `lock` on SelectorExpression (#10105) 2021-05-15 04:34:27 +03:00
lock_needed.vv checker: require `shared a` to be `rlocked` to read `a[i]` or `a.e` (#9266) 2021-03-12 16:08:39 +01:00
lock_nonshared.out shared: support `lock` on SelectorExpression (#10105) 2021-05-15 04:34:27 +03:00
lock_nonshared.vv
main_and_script_err.out
main_and_script_err.vv
main_args_err.out
main_args_err.vv
main_called_err.out
main_called_err.vv
main_no_body_err.out
main_no_body_err.vv
main_return_err.out
main_return_err.vv
map_delete.out map: wrap up delete fix (#9626) 2021-04-07 14:12:12 +02:00
map_delete.vv map: wrap up delete fix (#9626) 2021-04-07 14:12:12 +02:00
map_func_void_return_err.out checker: add check for call expr in map/filter (#9559) 2021-04-02 01:56:51 +02:00
map_func_void_return_err.vv checker: add check for call expr in map/filter (#9559) 2021-04-02 01:56:51 +02:00
map_init_invalid_syntax.out checker: check empty map invalid syntax (fix #9162) (#9186) 2021-03-08 19:48:17 +02:00
map_init_invalid_syntax.vv checker: check empty map invalid syntax (fix #9162) (#9186) 2021-03-08 19:48:17 +02:00
map_init_key_duplicate_err.out
map_init_key_duplicate_err.vv
map_init_wrong_type.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
map_init_wrong_type.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
map_ops.out
map_ops.vv
map_unknown_value.out
map_unknown_value.vv
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_invalid_type.out
match_invalid_type.vv
match_return_mismatch_type_err.out
match_return_mismatch_type_err.vv
match_sumtype_multiple_types.out
match_sumtype_multiple_types.vv
match_undefined_cond.out
match_undefined_cond.vv
method_array_slice.out
method_array_slice.vv
method_generic_infer_err.out
method_generic_infer_err.vv
method_op_alias_err.out
method_op_alias_err.vv
method_op_err.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
method_op_err.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
method_wrong_arg_type.out
method_wrong_arg_type.vv
minus_op_wrong_type_err.out checker: make sure negation is only used with numeric types (#9854) 2021-04-23 15:18:56 +03:00
minus_op_wrong_type_err.vv checker: make sure negation is only used with numeric types (#9854) 2021-04-23 15:18:56 +03:00
mismatched_ptr_op_ptr.out
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
mod_op_wrong_type_err.out
mod_op_wrong_type_err.vv
modify_const_with_ref.out ci: fix tests output files after 7f5c3cc 2021-04-25 09:31:12 +03:00
modify_const_with_ref.vv checker: do not allow modifying consts via mutable refs 2021-04-24 14:08:50 +03:00
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
multi_names_err.vv
multi_value_method_err.out
multi_value_method_err.vv
mut_arg.out checker: check array literal modify error (#9243) 2021-03-11 14:57:04 +02:00
mut_arg.vv
mut_args_warning.out
mut_args_warning.vv
mut_array_get_element_address_err.out
mut_array_get_element_address_err.vv
mut_int.out ci: fix the content of mut_int.out 2021-03-26 15:02:30 +02:00
mut_int.vv
mut_map_get_value_address_err.out
mut_map_get_value_address_err.vv
mut_receiver.out
mut_receiver.vv
nested_aliases.out
nested_aliases.vv
no_heap_struct.out all: various fixes for [heap]/auto-heap handling (#10033) 2021-05-07 15:58:48 +03:00
no_heap_struct.vv all: various fixes for [heap]/auto-heap handling (#10033) 2021-05-07 15:58:48 +03:00
no_interface_instantiation_a.out
no_interface_instantiation_a.vv
no_interface_instantiation_b.out
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 checker, cgen: add sumtype-like smartcasting capabilites to interfaces (#9256) 2021-04-09 11:00:05 +03:00
no_method_on_interface_propagation.vv checker, cgen: add sumtype-like smartcasting capabilites to interfaces (#9256) 2021-04-09 11:00:05 +03:00
no_pub_in_main.out
no_warning_for_in_mut_var_unused.out checker: fix for_in mut var unused warning (#10008) 2021-05-05 14:11:32 +03:00
no_warning_for_in_mut_var_unused.vv checker: fix for_in mut var unused warning (#10008) 2021-05-05 14:11:32 +03:00
non_matching_functional_args.out
non_matching_functional_args.vv
none_type_cast_err.out
none_type_cast_err.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
optional_fn_err.out checker: fix unchecked optional in match condition (#10041) 2021-05-08 13:33:13 +03:00
optional_fn_err.vv checker: fix unchecked optional in match condition (#10041) 2021-05-08 13:33:13 +03:00
optional_or_block_mismatch.out
optional_or_block_mismatch.vv
optional_or_block_none_err.out
optional_or_block_none_err.vv
optional_or_block_returns_value_of_incompatible_type.out
optional_or_block_returns_value_of_incompatible_type.vv
optional_propagate_nested.out
optional_propagate_nested.vv
optional_type_call_err.out
optional_type_call_err.vv
or_err.out
or_err.vv
orm_empty_struct.out
orm_empty_struct.vv
os_prefix.out checker: fix looking for unprefixed `os` functions (#9968) 2021-05-02 21:46:12 +03:00
os_prefix.vv checker: fix looking for unprefixed `os` functions (#9968) 2021-05-02 21:46:12 +03:00
overflow_int_err.out
overflow_int_err.vv
overload_return_type.out
overload_return_type.vv
pointer_ops.out
pointer_ops.vv
prefix_err.out
prefix_err.vv
prefix_expr_decl_assign_err.out
prefix_expr_decl_assign_err.vv
println_can_not_print_void_expressions.out checker: add error for `print( voidfn() )` 2021-03-02 17:54:38 +02:00
println_can_not_print_void_expressions.vv checker: add error for `print( voidfn() )` 2021-03-02 17:54:38 +02:00
ptr_assign.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
ptr_assign.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
receiver_unknown_type_single_letter.out parser: ensure generic function declaration specifies type names (fix #9959) (#9967) 2021-05-02 19:30:39 +03:00
receiver_unknown_type_single_letter.vv parser: ensure generic function declaration specifies type names (fix #9959) (#9967) 2021-05-02 19:30:39 +03:00
reference_field_must_be_initialized.out
reference_field_must_be_initialized.vv
reference_return.out
reference_return.vv
return_count_mismatch.out
return_count_mismatch.vv
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_missing_comp_if.out
return_missing_comp_if.vv
return_missing_comp_if_nested.out
return_missing_comp_if_nested.vv
return_missing_if_else_simple.out
return_missing_if_else_simple.vv
return_missing_if_match.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
return_missing_if_match.vv
return_missing_match_if.out
return_missing_match_if.vv
return_missing_match_simple.out
return_missing_match_simple.vv
return_missing_nested.out
return_missing_nested.vv
return_missing_simple.out
return_missing_simple.vv
return_ref_as_no_ref_bug.out
return_ref_as_no_ref_bug.vv
return_type.out
return_type.vv
return_working_comp_if.out
return_working_comp_if.vv
return_working_comp_if_nested.out
return_working_comp_if_nested.vv
return_working_if_match.out
return_working_if_match.vv
return_working_match_if.out
return_working_match_if.vv
return_working_nested.out
return_working_nested.vv
return_working_simple.out
return_working_simple.vv
return_working_two_if.out
return_working_two_if.vv
return_working_unsafe.out
return_working_unsafe.vv
rshift_op_wrong_left_type_err.out checker: disallow array append in an expression (#9265) 2021-03-12 16:09:01 +01:00
rshift_op_wrong_left_type_err.vv
rshift_op_wrong_right_type_err.out
rshift_op_wrong_right_type_err.vv
selector_expr_assign.out
selector_expr_assign.vv
selector_expr_optional_err.out
selector_expr_optional_err.vv
shared_bad_args.out shared: support `lock` on SelectorExpression (#10105) 2021-05-15 04:34:27 +03:00
shared_bad_args.vv
shared_element_lock.out shared: support `lock` on SelectorExpression (#10105) 2021-05-15 04:34:27 +03:00
shared_element_lock.vv checker: check write access to shared elements of `struct` and `array` (#9314) 2021-03-15 15:54:06 +02:00
shared_lock.out
shared_lock.vv
shared_type_mismatch.out
shared_type_mismatch.vv
shift_op_wrong_left_type_err.out checker: disallow array append in an expression (#9265) 2021-03-12 16:09:01 +01:00
shift_op_wrong_left_type_err.vv
shift_op_wrong_right_type_err.out
shift_op_wrong_right_type_err.vv
short_struct_wrong_number.out
short_struct_wrong_number.vv
sort_method_called_on_immutable_receiver.out
sort_method_called_on_immutable_receiver.vv
static_vars_in_translated_mode.out fmt: fix support for `mut static x := 42` 2021-02-28 19:40:21 +02:00
static_vars_in_translated_mode.vv fmt: fix support for `mut static x := 42` 2021-02-28 19:40:21 +02:00
str_method_0_arguments.out
str_method_0_arguments.vv
str_method_return_string.out
str_method_return_string.vv
string_char_null_err.out
string_char_null_err.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
string_escape_x_err_a.vv
string_escape_x_err_b.out
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 all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
struct_assigned_to_pointer_to_struct.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
struct_cast_to_struct_generic_err.out
struct_cast_to_struct_generic_err.vv
struct_cast_to_struct_mut_err_a.out
struct_cast_to_struct_mut_err_a.vv
struct_cast_to_struct_mut_err_b.out
struct_cast_to_struct_mut_err_b.vv
struct_cast_to_struct_pub_err_a.out
struct_cast_to_struct_pub_err_a.vv
struct_cast_to_struct_pub_err_b.out
struct_cast_to_struct_pub_err_b.vv
struct_embed_invalid_type.out
struct_embed_invalid_type.vv
struct_field_name_duplicate_err.out
struct_field_name_duplicate_err.vv
struct_field_type_err.out ast: fix bug where fn_signature return wrong str for variadic arg (#9993) 2021-05-04 12:33:24 +03:00
struct_field_type_err.vv ast: fix bug where fn_signature return wrong str for variadic arg (#9993) 2021-05-04 12:33:24 +03:00
struct_init_update_type_err.out
struct_init_update_type_err.vv
struct_pub_field.out
struct_pub_field.vv
struct_required_field.out
struct_required_field.vv
struct_type_cast_err.out
struct_type_cast_err.vv
struct_unknown_field.out
struct_unknown_field.vv
struct_unneeded_default.out
struct_unneeded_default.vv
sum.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
sum.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
sum_type_assign_non_variant_err.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
sum_type_assign_non_variant_err.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
sum_type_common_fields_alias_error.out checker: allow accessing fields common to all sumtype members (#9201) 2021-03-09 19:16:18 +02:00
sum_type_common_fields_alias_error.vv checker: allow accessing fields common to all sumtype members (#9201) 2021-03-09 19:16:18 +02:00
sum_type_common_fields_error.out checker: allow accessing fields common to all sumtype members (#9201) 2021-03-09 19:16:18 +02:00
sum_type_common_fields_error.vv checker: allow accessing fields common to all sumtype members (#9201) 2021-03-09 19:16:18 +02:00
sum_type_exists.out
sum_type_exists.vv
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
sum_type_ref_variant_err.vv
sumtype_in_sumtype_err.out checker: fix sumtype comparison and sumtype in itself (#9917) 2021-04-29 09:04:02 +03:00
sumtype_in_sumtype_err.vv checker: fix sumtype comparison and sumtype in itself (#9917) 2021-04-29 09:04:02 +03:00
sumtype_mismatched_type.out checker: fix sumtype comparison and sumtype in itself (#9917) 2021-04-29 09:04:02 +03:00
sumtype_mismatched_type.vv checker: fix sumtype comparison and sumtype in itself (#9917) 2021-04-29 09:04:02 +03:00
test_functions_should_not_return_test.out tests: support `fn test_fn() ? { opt()? }` 2021-03-05 14:18:21 +02:00
test_functions_should_not_return_test.vv tests: support `fn test_fn() ? { opt()? }` 2021-03-05 14:18:21 +02:00
trailing_comma_struct_attr.out
trailing_comma_struct_attr.vv
type_cast_optional_err.out
type_cast_optional_err.vv
typedef_attr_v_struct_err.out
typedef_attr_v_struct_err.vv
undefined_ident_of_struct.out checker: check undefined ident of struct (#9164) 2021-03-07 14:09:38 +01:00
undefined_ident_of_struct.vv checker: check undefined ident of struct (#9164) 2021-03-07 14:09:38 +01:00
unexpected_or.out
unexpected_or.vv
unexpected_or_propagate.out
unexpected_or_propagate.vv
unfinished_string.out
unfinished_string.vv
unimplemented_interface_a.out
unimplemented_interface_a.vv
unimplemented_interface_b.out
unimplemented_interface_b.vv
unimplemented_interface_c.out
unimplemented_interface_c.vv
unimplemented_interface_d.out
unimplemented_interface_d.vv
unimplemented_interface_e.out
unimplemented_interface_e.vv
unimplemented_interface_f.out
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
union_unsafe_fields.vv
unknown_array_element_type_b.out
unknown_array_element_type_b.vv
unknown_as_type.out checker: replace checking type exists with c.ensure_type_exists (#9100) 2021-03-04 12:28:48 +02:00
unknown_as_type.vv
unknown_comptime_expr.out tests: a minor grammar fix 2021-05-11 09:47:09 +03:00
unknown_comptime_expr.vv
unknown_field.out
unknown_field.vv
unknown_generic_type.out
unknown_generic_type.vv
unknown_method.out
unknown_method.vv
unknown_method_suggest_name.out
unknown_method_suggest_name.vv
unknown_sizeof_type_err_a.out
unknown_sizeof_type_err_a.vv
unknown_sizeof_type_err_b.out
unknown_sizeof_type_err_b.vv
unknown_struct_field_suggest_name.out
unknown_struct_field_suggest_name.vv
unknown_struct_name.out
unknown_struct_name.vv
unknown_var_assign.out
unknown_var_assign.vv
unnecessary_parenthesis.out
unnecessary_parenthesis.vv
unreachable_code.out
unreachable_code.vv
unsafe_c_calls_should_be_checked.out
unsafe_c_calls_should_be_checked.vv
unsafe_pointer_arithmetic_should_be_checked.out
unsafe_pointer_arithmetic_should_be_checked.vv
unsafe_required.out
unsafe_required.vv
unwrapped_optional_infix.out
unwrapped_optional_infix.vv
use_deprecated_function_warning.out
use_deprecated_function_warning.vv
var_duplicate_const.out
var_duplicate_const.vv
var_eval_not_used.out
var_eval_not_used.vv
var_eval_not_used_scope.out
var_eval_not_used_scope.vv
var_used_before_declaration.out all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
var_used_before_declaration.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
void_fn_as_value.out
void_fn_as_value.vv all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
void_function_assign_to_string.out
void_function_assign_to_string.vv
void_optional_err.out
void_optional_err.vv
vweb_routing_checks.out
vweb_routing_checks.vv vweb: make thread safe; checker: `$if T is Interface {` 2021-05-11 09:30:18 +03:00
vweb_tmpl_used_var.out
vweb_tmpl_used_var.vv vweb: make thread safe; checker: `$if T is Interface {` 2021-05-11 09:30:18 +03:00
warnings_for_string_c2v_calls.out v.checker: use more concise error messages (remove please) 2021-05-08 22:32:18 +03:00
warnings_for_string_c2v_calls.vv
wrong_propagate_ret_type.out
wrong_propagate_ret_type.vv