v/vlib/v/checker/tests
Nick Treleaven 92630a2821
checker: error if assigning to a function (#6581)
2020-10-09 00:48:39 +02:00
..
globals syntax: new global variable declaration syntax (#6540) 2020-10-03 07:03:44 +02:00
modules gen: named imported structs operator overloading and str methods (#6433) 2020-09-20 19:51:14 +02:00
returns all: remove `it` smartcast and replace with original variable name (#5764) 2020-07-09 17:14:14 +02:00
run tests: cleanup vlib/v/checker/tests/run ; add unused_variable_warning.vv 2020-09-12 12:33:17 +03:00
.gitattributes v.scanner: fix error line numbers when comments end with CRLF 2020-08-26 11:39:32 +03:00
.gitignore gen: named imported structs operator overloading and str methods (#6433) 2020-09-20 19:51:14 +02:00
add_op_wrong_left_type_err_a.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
add_op_wrong_left_type_err_a.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
add_op_wrong_left_type_err_b.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
add_op_wrong_left_type_err_b.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
add_op_wrong_left_type_err_c.out checker: modify error messages for ptrs (#6325) 2020-09-09 10:07:58 +02:00
add_op_wrong_left_type_err_c.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
add_op_wrong_right_type_err_a.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
add_op_wrong_right_type_err_a.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
add_op_wrong_right_type_err_b.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
add_op_wrong_right_type_err_b.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
add_op_wrong_right_type_err_c.out checker: modify error messages for ptrs (#6325) 2020-09-09 10:07:58 +02:00
add_op_wrong_right_type_err_c.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
alias_type_exists.out parser: require assign on type alias (#6477) 2020-09-25 12:02:32 +02:00
alias_type_exists.vv parser: require assign on type alias (#6477) 2020-09-25 12:02:32 +02:00
ambiguous_function_call_a.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
ambiguous_function_call_a.vv
ambiguous_function_call_b.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
ambiguous_function_call_b.vv
array_cmp_err.out checker: add error for arr1 <,>,>=,<= arr2 (#6243) 2020-08-28 11:08:07 +03:00
array_cmp_err.vv checker: add error for arr1 <,>,>=,<= arr2 (#6243) 2020-08-28 11:08:07 +03:00
array_declare_element_a.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
array_declare_element_a.vv parser: trigger declaration of array element as error 2020-06-20 14:30:03 +02:00
array_declare_element_b.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
array_declare_element_b.vv parser: trigger declaration of array element as error 2020-06-20 14:30:03 +02:00
array_declare_element_c.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
array_declare_element_c.vv parser: trigger declaration of array element as error 2020-06-20 14:30:03 +02:00
array_filter_anon_fn_err_a.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
array_filter_anon_fn_err_a.vv
array_filter_anon_fn_err_b.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
array_filter_anon_fn_err_b.vv
array_filter_fn_err_a.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
array_filter_fn_err_a.vv
array_filter_fn_err_b.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
array_filter_fn_err_b.vv
array_insert_type_mismatch_a.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
array_insert_type_mismatch_a.vv checker: check `array_insert` `array_prepend` type mismatch 2020-06-19 10:49:43 +02:00
array_insert_type_mismatch_b.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
array_insert_type_mismatch_b.vv checker: check `array_insert` `array_prepend` type mismatch 2020-06-19 10:49:43 +02:00
array_insert_type_mismatch_c.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
array_insert_type_mismatch_c.vv checker: check `array_insert` `array_prepend` type mismatch 2020-06-19 10:49:43 +02:00
array_insert_type_mismatch_d.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
array_insert_type_mismatch_d.vv checker: check `array_insert` `array_prepend` type mismatch 2020-06-19 10:49:43 +02:00
array_map_anon_fn_err_a.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
array_map_anon_fn_err_a.vv
array_map_anon_fn_err_b.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
array_map_anon_fn_err_b.vv
array_map_fn_err_a.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
array_map_fn_err_a.vv
array_map_fn_err_b.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
array_map_fn_err_b.vv
array_prepend_type_mismatch_a.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
array_prepend_type_mismatch_a.vv checker: check `array_insert` `array_prepend` type mismatch 2020-06-19 10:49:43 +02:00
array_prepend_type_mismatch_b.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
array_prepend_type_mismatch_b.vv checker: check `array_insert` `array_prepend` type mismatch 2020-06-19 10:49:43 +02:00
array_prepend_type_mismatch_c.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
array_prepend_type_mismatch_c.vv checker: check `array_insert` `array_prepend` type mismatch 2020-06-19 10:49:43 +02:00
array_prepend_type_mismatch_d.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
array_prepend_type_mismatch_d.vv checker: check `array_insert` `array_prepend` type mismatch 2020-06-19 10:49:43 +02:00
arrow_op_wrong_left_type_err_a.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
arrow_op_wrong_left_type_err_a.vv all: handle `<-` arrow token for channel operations (#6152) 2020-08-17 20:12:00 +02:00
arrow_op_wrong_left_type_err_b.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
arrow_op_wrong_left_type_err_b.vv all: handle `<-` arrow token for channel operations (#6152) 2020-08-17 20:12:00 +02:00
arrow_op_wrong_right_type_err_a.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
arrow_op_wrong_right_type_err_a.vv all: handle `<-` arrow token for channel operations (#6152) 2020-08-17 20:12:00 +02:00
arrow_op_wrong_right_type_err_b.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
arrow_op_wrong_right_type_err_b.vv all: handle `<-` arrow token for channel operations (#6152) 2020-08-17 20:12:00 +02:00
assign_expr_type_err_a.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
assign_expr_type_err_a.vv
assign_expr_type_err_b.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
assign_expr_type_err_b.vv
assign_expr_type_err_c.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
assign_expr_type_err_c.vv
assign_expr_type_err_d.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
assign_expr_type_err_d.vv
assign_expr_type_err_e.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
assign_expr_type_err_e.vv
assign_expr_type_err_f.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
assign_expr_type_err_f.vv
assign_expr_type_err_g.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
assign_expr_type_err_g.vv
assign_expr_type_err_h.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
assign_expr_type_err_h.vv
assign_expr_type_err_i.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
assign_expr_type_err_i.vv
assign_expr_undefined_err_a.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
assign_expr_undefined_err_a.vv
assign_expr_undefined_err_b.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
assign_expr_undefined_err_b.vv
assign_expr_undefined_err_c.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
assign_expr_undefined_err_c.vv parser: fix self-referenced error 2020-05-25 11:31:04 +02:00
assign_expr_undefined_err_d.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
assign_expr_undefined_err_d.vv
assign_expr_undefined_err_e.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
assign_expr_undefined_err_e.vv
assign_expr_undefined_err_f.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
assign_expr_undefined_err_f.vv
assign_expr_unresolved_variables_err_chain.out tests: cleanup vlib/v/checker/tests/run ; add unused_variable_warning.vv 2020-09-12 12:33:17 +03:00
assign_expr_unresolved_variables_err_chain.vv tests: cleanup vlib/v/checker/tests/run ; add unused_variable_warning.vv 2020-09-12 12:33:17 +03:00
assign_fn_call_on_left_side_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
assign_fn_call_on_left_side_err.vv checker: add a checker error for fn calls on left side of an assignment (#5993) 2020-07-29 18:33:00 +03:00
assign_multi_immutable_err.out checker: error if assigning to a function (#6581) 2020-10-09 00:48:39 +02:00
assign_multi_immutable_err.vv checker: error if assigning to a function (#6581) 2020-10-09 00:48:39 +02:00
assign_mut.out checker: fix := test 2020-09-09 17:59:51 +02:00
assign_mut.vv checker: error on `mut name =` (#6247) 2020-08-28 20:07:32 +03:00
bin_lit_without_digit_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
bin_lit_without_digit_err.vv
bin_lit_wrong_digit_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
bin_lit_wrong_digit_err.vv
bit_op_wrong_left_type_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
bit_op_wrong_left_type_err.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
bit_op_wrong_right_type_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
bit_op_wrong_right_type_err.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
blank_ident_invalid_use.out checker: verify use of blank identifier (#6412) 2020-09-18 23:47:50 +02:00
blank_ident_invalid_use.vv checker: verify use of blank identifier (#6412) 2020-09-18 23:47:50 +02:00
blank_modify.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
blank_modify.vv
cannot_assign_array.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
cannot_assign_array.vv
cannot_cast_to_struct.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
cannot_cast_to_struct.vv checker: prevent from casting non-struct to struct (#6143) 2020-08-17 11:19:44 +02:00
cast_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
cast_err.vv checker: disallow casting to bool, use `some_int != 0` instead (#6138) 2020-08-19 14:37:55 +02:00
cast_string_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
cast_string_err.vv
cast_string_with_byte_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
cast_string_with_byte_err.vv checker: prevent string(byte), suggest byte.str() instead 2020-07-11 17:09:22 +03:00
chan_mut.out checker: fix typos in chan (#6539) 2020-10-03 06:59:30 +02:00
chan_mut.vv checker/channels: check `mut`/`&` state of transmitted objects (#6315) 2020-09-06 21:24:41 +02:00
chan_ref.out checker: fix typos in chan (#6539) 2020-10-03 06:59:30 +02:00
chan_ref.vv checker/channels: check `mut`/`&` state of transmitted objects (#6315) 2020-09-06 21:24:41 +02:00
const_define_in_function_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
const_define_in_function_err.vv
const_field_add_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
const_field_add_err.vv
const_field_dec_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
const_field_dec_err.vv
const_field_inc_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
const_field_inc_err.vv
const_field_name_duplicate_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
const_field_name_duplicate_err.vv
const_field_name_snake_case.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
const_field_name_snake_case.vv all: unify const names to snake_case 2020-05-22 17:36:09 +02:00
const_field_sub_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
const_field_sub_err.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
div_op_wrong_left_type_err_a.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
div_op_wrong_left_type_err_a.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
div_op_wrong_left_type_err_b.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
div_op_wrong_left_type_err_b.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
div_op_wrong_left_type_err_c.out checker: modify error messages for ptrs (#6325) 2020-09-09 10:07:58 +02:00
div_op_wrong_left_type_err_c.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
div_op_wrong_right_type_err_a.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
div_op_wrong_right_type_err_a.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
div_op_wrong_right_type_err_b.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
div_op_wrong_right_type_err_b.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
div_op_wrong_right_type_err_c.out checker: modify error messages for ptrs (#6325) 2020-09-09 10:07:58 +02:00
div_op_wrong_right_type_err_c.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
division_by_zero_float_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
division_by_zero_float_err.vv Revert "parser: advanced division by zero check (#5629)" 2020-07-03 22:30:51 +02:00
division_by_zero_int_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
division_by_zero_int_err.vv checker: add `1/0x0 1/0b0..` division by zero check (#5694) 2020-07-06 12:32:00 +02:00
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 tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
enum_field_name_duplicate_err.vv
enum_field_overflow.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
enum_field_overflow.vv checker: check for enum value duplicates/overflow (#5659) 2020-07-04 18:28:01 +03:00
enum_field_value_duplicate_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
enum_field_value_duplicate_err.vv checker: check for enum value duplicates/overflow (#5659) 2020-07-04 18:28:01 +03:00
enum_field_value_overflow.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
enum_field_value_overflow.vv checker: check for enum value duplicates/overflow (#5659) 2020-07-04 18:28:01 +03:00
enum_single_letter.out parser: dont allow single letter enums (#6526) 2020-10-01 23:29:49 +03:00
enum_single_letter.vv parser: dont allow single letter enums (#6526) 2020-10-01 23:29:49 +03:00
error_with_comment_with_crlf_ending.out v.scanner: fix error line numbers when comments end with CRLF 2020-08-26 11:39:32 +03:00
error_with_comment_with_crlf_ending.vv v.scanner: fix error line numbers when comments end with CRLF 2020-08-26 11:39:32 +03:00
error_with_comment_with_lf_ending.out v.scanner: fix error line numbers when comments end with CRLF 2020-08-26 11:39:32 +03:00
error_with_comment_with_lf_ending.vv v.scanner: fix error line numbers when comments end with CRLF 2020-08-26 11:39:32 +03:00
error_with_several_comments_with_crlf_ending.out checker: error on `mut name =` (#6247) 2020-08-28 20:07:32 +03:00
error_with_several_comments_with_crlf_ending.vv tests: add another test for 47f59d3 2020-08-26 11:46:29 +03:00
float_lit_exp_not_integer_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
float_lit_exp_not_integer_err.vv
float_lit_exp_without_digit_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
float_lit_exp_without_digit_err.vv
float_lit_too_many_points_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
float_lit_too_many_points_err.vv
float_modulo_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
float_modulo_err.vv
fn_type_exists.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
fn_type_exists.vv
for_in_index_optional.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
for_in_index_optional.vv
for_in_index_type.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
for_in_index_type.vv
for_in_map_one_variable_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
for_in_map_one_variable_err.vv
for_in_range_not_match_type.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
for_in_range_not_match_type.vv
for_in_range_string_type.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
for_in_range_string_type.vv
for_match_err.out parser: disallow match expr at certain places (#6490) 2020-10-03 16:30:58 +03:00
for_match_err.vv parser: disallow match expr at certain places (#6490) 2020-10-03 16:30:58 +03:00
function_arg_mutable_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
function_arg_mutable_err.vv
function_arg_redefinition.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
function_arg_redefinition.vv
function_missing_return_type.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
function_missing_return_type.vv checker: check missing return values in functions (#5803) 2020-07-11 16:30:49 +02:00
function_variadic_arg_non_final.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
function_variadic_arg_non_final.vv
function_wrong_arg_type.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
function_wrong_arg_type.vv
function_wrong_return_type.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
function_wrong_return_type.vv
globals_error.out syntax: new global variable declaration syntax (#6540) 2020-10-03 07:03:44 +02:00
globals_error.run.out
globals_error.vv syntax: new global variable declaration syntax (#6540) 2020-10-03 07:03:44 +02:00
go_expr.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
go_expr.vv
go_mut_arg.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
go_mut_arg.vv checker: forbid non-reference mut arg or receiver of go function 2020-06-26 23:31:38 +02:00
go_mut_receiver.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
go_mut_receiver.vv checker: forbid non-reference mut arg or receiver of go function 2020-06-26 23:31:38 +02:00
hex_lit_without_digit_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
hex_lit_without_digit_err.vv
hex_lit_wrong_digit_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
hex_lit_wrong_digit_err.vv
if_expr_last_stmt.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
if_expr_last_stmt.vv
if_expr_mismatch.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
if_expr_mismatch.vv
if_expr_no_else.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
if_expr_no_else.vv
if_match_expr.out checker: don't error if last statement in match branch produces a value (#6523) 2020-10-02 09:33:04 +02:00
if_match_expr.vv checker: don't error if last statement in match branch produces a value (#6523) 2020-10-02 09:33:04 +02:00
if_match_expr_err.out parser: disallow match expr at certain places (#6490) 2020-10-03 16:30:58 +03:00
if_match_expr_err.vv parser: disallow match expr at certain places (#6490) 2020-10-03 16:30:58 +03:00
immutable_arg.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
immutable_arg.vv checker: check if mut function arg is declared as mut (#5579) 2020-06-30 14:19:22 +02:00
immutable_array_field_assign.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
immutable_array_field_assign.vv
immutable_array_field_shift.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
immutable_array_field_shift.vv
immutable_array_struct_assign.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
immutable_array_struct_assign.vv
immutable_array_struct_shift.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
immutable_array_struct_shift.vv
immutable_array_var.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
immutable_array_var.vv
immutable_field.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
immutable_field.vv
immutable_field_postfix.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
immutable_field_postfix.vv
immutable_map_postfix.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
immutable_map_postfix.vv
immutable_rec.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
immutable_rec.vv checker: check if mut function arg is declared as mut (#5579) 2020-06-30 14:19:22 +02:00
immutable_struct_postfix.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
immutable_struct_postfix.vv
immutable_var.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
immutable_var.vv
immutable_var_postfix.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
immutable_var_postfix.vv
import_duplicate_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
import_duplicate_err.vv
import_middle_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
import_middle_err.vv
import_mod_as_mod_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
import_mod_as_mod_err.vv parser: add an error for `import mod.sub as mod` and `import mod as mod` (#6194) 2020-08-23 02:12:25 +02:00
import_mod_sub_as_sub_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
import_mod_sub_as_sub_err.vv parser: add an error for `import mod.sub as mod` and `import mod as mod` (#6194) 2020-08-23 02:12:25 +02:00
import_multiple_modules_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
import_multiple_modules_err.vv
import_not_found_err.out
import_not_found_err.vv
import_not_same_line_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
import_not_same_line_err.vv
import_symbol_empty.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
import_symbol_empty.vv all: import individual symbols feature (#5872) 2020-07-18 21:34:38 +02:00
import_symbol_fn_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
import_symbol_fn_err.vv all: import individual symbols feature (#5872) 2020-07-18 21:34:38 +02:00
import_symbol_invalid.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
import_symbol_invalid.vv all: import individual symbols feature (#5872) 2020-07-18 21:34:38 +02:00
import_symbol_type_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
import_symbol_type_err.vv all: import individual symbols feature (#5872) 2020-07-18 21:34:38 +02:00
import_symbol_unclosed.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
import_symbol_unclosed.vv all: import individual symbols feature (#5872) 2020-07-18 21:34:38 +02:00
import_syntax_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
import_syntax_err.vv
import_unused_warning.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
import_unused_warning.vv
in_mismatch_type.out tests: fix some byte->rune errors 2020-08-27 12:08:05 +03:00
in_mismatch_type.vv
incorrect_for_in_name_variable.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
incorrect_for_in_name_variable.vv checker: validate loop var names (#5677) 2020-07-05 15:27:37 +02:00
incorrect_name_alias_type.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
incorrect_name_alias_type.vv
incorrect_name_const.out
incorrect_name_const.vv
incorrect_name_enum.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
incorrect_name_enum.vv
incorrect_name_enum_field.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
incorrect_name_enum_field.vv
incorrect_name_fn_type.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
incorrect_name_fn_type.vv
incorrect_name_function.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
incorrect_name_function.vv
incorrect_name_interface.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
incorrect_name_interface.vv
incorrect_name_interface_method.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
incorrect_name_interface_method.vv
incorrect_name_module.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
incorrect_name_module.vv
incorrect_name_struct.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
incorrect_name_struct.vv
incorrect_name_struct_field.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
incorrect_name_struct_field.vv
incorrect_name_sum_type.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
incorrect_name_sum_type.vv
incorrect_name_variable.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
incorrect_name_variable.vv
index_expr.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
index_expr.vv checker: check that array slicing indexes are valid (#5892) 2020-07-20 19:52:03 +03:00
infix_err.out checker: require binary operands for &&, || (#6449) 2020-09-23 20:48:25 +02:00
infix_err.vv checker: require binary operands for &&, || (#6449) 2020-09-23 20:48:25 +02:00
int_modulo_by_zero_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
int_modulo_by_zero_err.vv
invert_other_types_bits_error.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
invert_other_types_bits_error.vv
is_type_invalid.out checker: check type in `is` InfixExpr (#6407) 2020-09-18 01:01:05 +02:00
is_type_invalid.vv checker: check type in `is` InfixExpr (#6407) 2020-09-18 01:01:05 +02:00
is_type_not_exist.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
is_type_not_exist.vv
left_shift_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
left_shift_err.vv
lock_already_locked.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
lock_already_locked.vv checker, cgen: checks for shared/lock, first autolock (#5815) 2020-07-13 12:19:28 +02:00
lock_already_rlocked.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
lock_already_rlocked.vv checker, cgen: checks for shared/lock, first autolock (#5815) 2020-07-13 12:19:28 +02:00
lock_const.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
lock_const.vv checker, cgen: checks for shared/lock, first autolock (#5815) 2020-07-13 12:19:28 +02:00
lock_needed.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
lock_needed.vv checker, cgen: checks for shared/lock, first autolock (#5815) 2020-07-13 12:19:28 +02:00
lock_nonshared.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
lock_nonshared.vv checker, cgen: checks for shared/lock, first autolock (#5815) 2020-07-13 12:19:28 +02:00
main_and_script_err.out checker: prompt error on script expression while inside a file with main (#6400) 2020-09-18 01:14:14 +02:00
main_and_script_err.vv checker: prompt error on script expression while inside a file with main (#6400) 2020-09-18 01:14:14 +02:00
main_args_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
main_args_err.vv
main_called_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
main_called_err.vv
main_return_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
main_return_err.vv
map_init_key_duplicate_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
map_init_key_duplicate_err.vv
map_init_wrong_type.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
map_init_wrong_type.vv checker: make map literals have a real type 2020-06-19 15:00:27 +02:00
map_unknown_value.out all: better type error positions (#6345) 2020-09-11 14:37:14 +02:00
map_unknown_value.vv checker: add checks for map key/value types (#6283) 2020-09-04 23:59:54 +02:00
match_duplicate_branch.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
match_duplicate_branch.vv parser: force `...` rather than `..` in matches for inclusive ranges (#5852) 2020-07-17 11:30:21 +03:00
match_else_last_expr.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
match_else_last_expr.vv
match_expr_and_expected_type_error.out tests: fix some byte->rune errors 2020-08-27 12:08:05 +03:00
match_expr_and_expected_type_error.vv checker: check`match` types (#6149) 2020-08-17 20:19:21 +02:00
match_expr_else.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
match_expr_else.vv ci: fix failing tests for compiler_errors_test.v 2020-08-13 13:16:41 +03:00
match_sumtype_multiple_types.out parser: allow multiple types in match branch (#6505) 2020-10-01 01:07:36 +02:00
match_sumtype_multiple_types.vv parser: allow multiple types in match branch (#6505) 2020-10-01 01:07:36 +02:00
match_sumtype_type_invalid.out checker: check type in `is` InfixExpr (#6407) 2020-09-18 01:01:05 +02:00
match_sumtype_type_invalid.vv checker: check type in `is` InfixExpr (#6407) 2020-09-18 01:01:05 +02:00
match_undefined_cond.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
match_undefined_cond.vv
method_wrong_arg_type.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
method_wrong_arg_type.vv checker: fix passing enum to a method expecting string 2020-07-28 13:50:40 +03:00
minus_op_wrong_left_type_err_a.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
minus_op_wrong_left_type_err_a.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
minus_op_wrong_left_type_err_b.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
minus_op_wrong_left_type_err_b.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
minus_op_wrong_left_type_err_c.out checker: modify error messages for ptrs (#6325) 2020-09-09 10:07:58 +02:00
minus_op_wrong_left_type_err_c.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
minus_op_wrong_right_type_err_a.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
minus_op_wrong_right_type_err_a.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
minus_op_wrong_right_type_err_b.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
minus_op_wrong_right_type_err_b.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
minus_op_wrong_right_type_err_c.out checker: modify error messages for ptrs (#6325) 2020-09-09 10:07:58 +02:00
minus_op_wrong_right_type_err_c.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
mismatched_ptr_op_ptr.out checker: modify error messages for ptrs (#6325) 2020-09-09 10:07:58 +02:00
mismatched_ptr_op_ptr.vv checker: modify error messages for ptrs (#6325) 2020-09-09 10:07:58 +02:00
mod_op_wrong_left_type_err_a.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
mod_op_wrong_left_type_err_a.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
mod_op_wrong_left_type_err_b.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
mod_op_wrong_left_type_err_b.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
mod_op_wrong_left_type_err_c.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
mod_op_wrong_left_type_err_c.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
mod_op_wrong_left_type_err_d.out checker: modify error messages for ptrs (#6325) 2020-09-09 10:07:58 +02:00
mod_op_wrong_left_type_err_d.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
mod_op_wrong_right_type_err_a.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
mod_op_wrong_right_type_err_a.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
mod_op_wrong_right_type_err_b.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
mod_op_wrong_right_type_err_b.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
mod_op_wrong_right_type_err_c.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
mod_op_wrong_right_type_err_c.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
mod_op_wrong_right_type_err_d.out checker: modify error messages for ptrs (#6325) 2020-09-09 10:07:58 +02:00
mod_op_wrong_right_type_err_d.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
module_multiple_names_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
module_multiple_names_err.vv
module_not_at_same_line_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
module_not_at_same_line_err.vv
module_syntax_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
module_syntax_err.vv
mul_op_wrong_left_type_err_a.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
mul_op_wrong_left_type_err_a.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
mul_op_wrong_left_type_err_b.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
mul_op_wrong_left_type_err_b.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
mul_op_wrong_left_type_err_c.out checker: modify error messages for ptrs (#6325) 2020-09-09 10:07:58 +02:00
mul_op_wrong_left_type_err_c.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
mul_op_wrong_left_type_err_d.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
mul_op_wrong_left_type_err_d.vv
mul_op_wrong_right_type_err_a.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
mul_op_wrong_right_type_err_a.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
mul_op_wrong_right_type_err_b.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
mul_op_wrong_right_type_err_b.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
mul_op_wrong_right_type_err_c.out checker: modify error messages for ptrs (#6325) 2020-09-09 10:07:58 +02:00
mul_op_wrong_right_type_err_c.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
mul_op_wrong_right_type_err_d.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
mul_op_wrong_right_type_err_d.vv
multi_const_field_name_duplicate_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
multi_const_field_name_duplicate_err.vv
multi_names_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
multi_names_err.vv
mut_arg.out checker: simplify argument qualifier errors (#6321) 2020-09-08 19:34:17 +02:00
mut_arg.vv checker: simplify argument qualifier errors (#6321) 2020-09-08 19:34:17 +02:00
mut_args_warning.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
mut_args_warning.vv
mut_array_get_element_address_err.out checker: add is_mut check for disallowing taking address of map's key and array's element outside unsafe (#6573) 2020-10-08 09:37:18 +03:00
mut_array_get_element_address_err.vv checker: add is_mut check for disallowing taking address of map's key and array's element outside unsafe (#6573) 2020-10-08 09:37:18 +03:00
mut_int.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
mut_int.vv
mut_map_get_value_address_err.out checker: add is_mut check for disallowing taking address of map's key and array's element outside unsafe (#6573) 2020-10-08 09:37:18 +03:00
mut_map_get_value_address_err.vv checker: add is_mut check for disallowing taking address of map's key and array's element outside unsafe (#6573) 2020-10-08 09:37:18 +03:00
mut_receiver_warning.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
mut_receiver_warning.vv
nested_aliases.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
nested_aliases.vv checker: forbid aliasing an alias (#6118) 2020-08-16 04:53:16 +02:00
no_interface_instantiation_a.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
no_interface_instantiation_a.vv
no_interface_instantiation_b.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
no_interface_instantiation_b.vv
no_interface_instantiation_c.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
no_interface_instantiation_c.vv
no_interface_receiver.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
no_interface_receiver.vv
no_interface_receiver_duplicate_a.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
no_interface_receiver_duplicate_a.vv parser: duplicate method declaration on interface (#5825) 2020-07-15 10:23:21 +02:00
no_interface_receiver_duplicate_b.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
no_interface_receiver_duplicate_b.vv parser: duplicate method declaration on interface (#5825) 2020-07-15 10:23:21 +02:00
no_interface_str.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
no_interface_str.vv checker: add error when interface i, without a .str() method, have i.str() called (#5788) 2020-07-10 22:47:29 +03:00
no_main_mod.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
no_main_mod.vv
no_main_println_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
no_main_println_err.vv
no_pub_in_main.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
no_pub_in_main.vv
non_matching_functional_args.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
non_matching_functional_args.vv checker: add details about a non matching functional argument 2020-07-04 22:37:06 +03:00
oct_lit_without_digit_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
oct_lit_without_digit_err.vv
oct_lit_wrong_digit_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
oct_lit_wrong_digit_err.vv
optional_method_err.out tests: add optional_method_err.vv 2020-09-12 13:12:06 +03:00
optional_method_err.vv tests: add optional_method_err.vv 2020-09-12 13:12:06 +03:00
optional_type_call_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
optional_type_call_err.vv checker: check optional type call 2020-06-23 11:39:58 +02:00
or_err.out checker: tweak error messages for `or` block; use proper type names (#6377) 2020-09-18 01:09:00 +02:00
or_err.vv checker: tweak error messages for `or` block; use proper type names (#6377) 2020-09-18 01:09:00 +02:00
overflow_int_err.out checker: prompt error on implicit int overflow by literal (#6410) 2020-09-20 16:29:01 +02:00
overflow_int_err.vv checker: prompt error on implicit int overflow by literal (#6410) 2020-09-20 16:29:01 +02:00
overload_return_type.out gen: named imported structs operator overloading and str methods (#6433) 2020-09-20 19:51:14 +02:00
overload_return_type.vv gen: named imported structs operator overloading and str methods (#6433) 2020-09-20 19:51:14 +02:00
plus_or_minus_assign_one_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
plus_or_minus_assign_one_err.vv
prefix_err.out checker: add error for amp on literals (#6467) 2020-09-24 21:13:46 +02:00
prefix_err.vv checker: error with `*expr` if not a pointer (#6211) 2020-08-24 17:19:17 +02:00
print_optional_type_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
print_optional_type_err.vv checker: check printing of optional type 2020-06-23 11:38:30 +02:00
reference_field_must_be_initialized.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
reference_field_must_be_initialized.vv
return_duplicate_with_none_err_a.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
return_duplicate_with_none_err_a.vv
return_duplicate_with_none_err_b.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
return_duplicate_with_none_err_b.vv
return_missing_comp_if.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
return_missing_comp_if.vv checker: check all branches for return (#5763) 2020-07-09 22:38:43 +02:00
return_missing_comp_if_nested.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
return_missing_comp_if_nested.vv checker: check all branches for return (#5763) 2020-07-09 22:38:43 +02:00
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 checker: check all branches for return (#5763) 2020-07-09 22:38:43 +02:00
return_missing_match_if.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
return_missing_match_if.vv checker: check all branches for return (#5763) 2020-07-09 22:38:43 +02:00
return_missing_nested.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
return_missing_nested.vv checker: check all branches for return (#5763) 2020-07-09 22:38:43 +02:00
return_missing_simple.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
return_missing_simple.vv checker: check all branches for return (#5763) 2020-07-09 22:38:43 +02:00
return_optional_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
return_optional_err.vv
return_ref_as_no_ref_bug.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
return_ref_as_no_ref_bug.vv checker: add error for `fn f() Struct { return &Struct{} }` (#6019) 2020-07-29 21:40:43 +02:00
return_type.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
return_type.vv
return_working_comp_if.out checker: check all branches for return (#5763) 2020-07-09 22:38:43 +02:00
return_working_comp_if.vv checker: check all branches for return (#5763) 2020-07-09 22:38:43 +02:00
return_working_comp_if_nested.out checker: check all branches for return (#5763) 2020-07-09 22:38:43 +02:00
return_working_comp_if_nested.vv checker: check all branches for return (#5763) 2020-07-09 22:38:43 +02:00
return_working_if_match.out checker: check all branches for return (#5763) 2020-07-09 22:38:43 +02:00
return_working_if_match.vv checker: check all branches for return (#5763) 2020-07-09 22:38:43 +02:00
return_working_match_if.out checker: check all branches for return (#5763) 2020-07-09 22:38:43 +02:00
return_working_match_if.vv checker: check all branches for return (#5763) 2020-07-09 22:38:43 +02:00
return_working_nested.out checker: check all branches for return (#5763) 2020-07-09 22:38:43 +02:00
return_working_nested.vv checker: check all branches for return (#5763) 2020-07-09 22:38:43 +02:00
return_working_simple.out checker: check all branches for return (#5763) 2020-07-09 22:38:43 +02:00
return_working_simple.vv checker: check all branches for return (#5763) 2020-07-09 22:38:43 +02:00
return_working_two_if.out checker: check all branches for return (#5763) 2020-07-09 22:38:43 +02:00
return_working_two_if.vv checker: check all branches for return (#5763) 2020-07-09 22:38:43 +02:00
return_working_unsafe.out checker: check all branches for return (#5763) 2020-07-09 22:38:43 +02:00
return_working_unsafe.vv checker: check all branches for return (#5763) 2020-07-09 22:38:43 +02:00
rshift_op_wrong_left_type_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
rshift_op_wrong_left_type_err.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
rshift_op_wrong_right_type_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
rshift_op_wrong_right_type_err.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
selector_expr_assign.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
selector_expr_assign.vv
shift_op_wrong_left_type_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
shift_op_wrong_left_type_err.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
shift_op_wrong_right_type_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
shift_op_wrong_right_type_err.vv parser: `expression evaluated but not used` error 2020-06-16 11:06:53 +02:00
short_struct_wrong_number.out checker: check number of fields in short struct inits (#6280) 2020-08-31 22:17:59 +02:00
short_struct_wrong_number.vv checker: check number of fields in short struct inits (#6280) 2020-08-31 22:17:59 +02:00
sort_method_called_on_immutable_receiver.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
sort_method_called_on_immutable_receiver.vv sort: require a mutable receiver 2020-08-21 21:19:37 +03:00
str_method_0_arguments.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
str_method_0_arguments.vv checker: add check for strict .str() method signature 2020-07-04 14:14:43 +03:00
str_method_return_string.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
str_method_return_string.vv checker: add check for strict .str() method signature 2020-07-04 14:14:43 +03:00
string_char_null_err.out scanner/parser: change error msgs for `\0` and `\x00` and add error for r`byte` and c`byte` (#6436) 2020-09-21 17:34:24 +03:00
string_char_null_err.vv scanner: allow escape on null character (#6404) 2020-09-18 01:02:06 +02:00
string_index_assign_error.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
string_index_assign_error.vv checker: add a check for str[i] = `a` (#6107) 2020-08-11 17:41:54 +02:00
string_interpolation_invalid_fmt.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
string_interpolation_invalid_fmt.vv cgen: restructure string_inter_literal() 2020-06-16 10:41:51 +02:00
string_interpolation_wrong_fmt.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
string_interpolation_wrong_fmt.vv cgen: restructure string_inter_literal() 2020-06-16 10:41:51 +02:00
struct_cast_to_struct_generic_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
struct_cast_to_struct_generic_err.vv checker: check struct casting (#5864) 2020-08-14 14:57:08 +02:00
struct_cast_to_struct_mut_err_a.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
struct_cast_to_struct_mut_err_a.vv checker: check struct casting (#5864) 2020-08-14 14:57:08 +02:00
struct_cast_to_struct_mut_err_b.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
struct_cast_to_struct_mut_err_b.vv checker: check struct casting (#5864) 2020-08-14 14:57:08 +02:00
struct_cast_to_struct_pub_err_a.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
struct_cast_to_struct_pub_err_a.vv checker: check struct casting (#5864) 2020-08-14 14:57:08 +02:00
struct_cast_to_struct_pub_err_b.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
struct_cast_to_struct_pub_err_b.vv checker: check struct casting (#5864) 2020-08-14 14:57:08 +02:00
struct_field_name_duplicate_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
struct_field_name_duplicate_err.vv
struct_pub_field.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
struct_pub_field.vv
struct_required_field.out checker: implement `[required]` struct field attribute (#6276) 2020-08-31 23:15:40 +02:00
struct_required_field.vv checker: implement `[required]` struct field attribute (#6276) 2020-08-31 23:15:40 +02:00
struct_unknown_field.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
struct_unknown_field.vv
struct_unneeded_default.out checker: fix error pos on default value (#6338) 2020-09-09 15:34:41 +02:00
struct_unneeded_default.vv checker: fix error pos on default value (#6338) 2020-09-09 15:34:41 +02:00
sum_type_exists.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
sum_type_exists.vv
trailing_comma_struct_attr.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
trailing_comma_struct_attr.vv
unexpected_or.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
unexpected_or.vv
unexpected_or_propagate.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
unexpected_or_propagate.vv
unfinished_string.out scanner: add an error for unfinished string literals (#6519) 2020-10-01 16:40:59 +03:00
unfinished_string.vv scanner: add an error for unfinished string literals (#6519) 2020-10-01 16:40:59 +03:00
unimplemented_interface_a.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
unimplemented_interface_a.vv
unimplemented_interface_b.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
unimplemented_interface_b.vv
unimplemented_interface_c.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
unimplemented_interface_c.vv
unimplemented_interface_d.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
unimplemented_interface_d.vv
unimplemented_interface_e.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
unimplemented_interface_e.vv
unimplemented_interface_f.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
unimplemented_interface_f.vv
unimplemented_interface_g.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
unimplemented_interface_g.vv.disabled
unknown_array_element_type_a.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
unknown_array_element_type_a.vv
unknown_array_element_type_b.out all: better type error positions (#6345) 2020-09-11 14:37:14 +02:00
unknown_array_element_type_b.vv
unknown_as_type.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
unknown_as_type.vv checker: `as` type test 2020-06-19 11:27:20 +02:00
unknown_field.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
unknown_field.vv
unknown_method.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
unknown_method.vv
unknown_method_suggest_name.out all: better type error positions (#6345) 2020-09-11 14:37:14 +02:00
unknown_method_suggest_name.vv checker: check number of fields in short struct inits (#6280) 2020-08-31 22:17:59 +02:00
unknown_struct_field_suggest_name.out checker: add a suggestion for misspelled struct field name errors 2020-10-01 15:36:47 +03:00
unknown_struct_field_suggest_name.vv checker: add a suggestion for misspelled struct field name errors 2020-10-01 15:36:47 +03:00
unknown_var_assign.out checker: error on `mut name =` (#6247) 2020-08-28 20:07:32 +03:00
unknown_var_assign.vv checker: suggest using `:=` when assigning to undefined variable (#5911) 2020-07-21 19:49:53 +03:00
unnecessary_parenthesis.out ast: merge `IfExpr` and `CompIf` (#6011) 2020-09-18 00:58:54 +02:00
unnecessary_parenthesis.vv
unreachable_code.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
unreachable_code.vv
unsafe_c_calls_should_be_checked.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
unsafe_c_calls_should_be_checked.vv checker: warn if C.m* or C.s* functions are called outside unsafe blocks (#5869) 2020-07-20 20:06:41 +03:00
unsafe_pointer_arithmetic_should_be_checked.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
unsafe_pointer_arithmetic_should_be_checked.vv parser: support [unsafe] instead of [unsafe_fn] (#6066) 2020-08-08 16:24:05 +02:00
unsafe_required.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
unsafe_required.vv parser: support [unsafe] instead of [unsafe_fn] (#6066) 2020-08-08 16:24:05 +02:00
use_deprecated_function_warning.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
use_deprecated_function_warning.vv checker: check deprecated functions 2020-06-23 16:25:24 +02:00
var_eval_not_used.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
var_eval_not_used.vv
var_eval_not_used_scope.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
var_eval_not_used_scope.vv parser: add error for variables, that are evaluated, but not used 2020-05-11 11:13:36 +03:00
var_used_before_declaration.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
var_used_before_declaration.vv checker: error if variable used before declaration 2020-06-20 12:42:08 +10:00
void_fn_as_value.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
void_fn_as_value.vv
void_function_assign_to_string.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
void_function_assign_to_string.vv
void_optional_err.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
void_optional_err.vv
warnings_for_string_c2v_calls.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
warnings_for_string_c2v_calls.vv builtin: x.vstring() instead of string(x) (#6102) 2020-08-10 18:05:26 +02:00
wrong_propagate_ret_type.out tests: use .vv files directly in compiler_errors_test.v 2020-08-25 18:14:06 +03:00
wrong_propagate_ret_type.vv