1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/v/tests
2022-12-06 17:27:59 +02:00
..
aliasing_c_structs vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
assembly all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
bench all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
c_function_mut_param parser: fix parse c function with optional argument name (fix #13234) (#15037) 2022-07-12 11:06:29 +03:00
c_struct_free cgen: don't change field name of c structs (#10894) 2021-07-22 01:37:49 +03:00
cflags v: deprecate @VROOT in favour of @VMODROOT (#9795) 2021-04-19 19:01:47 +03:00
create_dll vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
crun_mode vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
defer vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
dump_c_structs cgen: fix dump(c_struct), where c_struct has fields of type &&char 2022-10-12 09:00:16 +03:00
field_publicity parser: embed always public and mutable (#7722) 2020-12-30 21:17:48 +02:00
generics_from_modules all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
inout all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
interface_edge_cases all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
known_errors all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
local tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
modules all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
multiple_paths_in_vmodules vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
printing_c_structs v: deprecate @VROOT in favour of @VMODROOT (#9795) 2021-04-19 19:01:47 +03:00
prod vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
profile vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
project_with_c_code v: deprecate @VROOT in favour of @VMODROOT (#9795) 2021-04-19 19:01:47 +03:00
project_with_c_code_2 all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
project_with_c_code_3 all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
project_with_c_code_ct_ifs checker,cgen: fix -os cross support for $if !solaris { #include <sys/ptrace.h> } 2021-07-23 16:24:42 +03:00
project_with_modules_having_submodules all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
project_with_tests_for_main tests: fix warnings when doing ./v -W -progress -check-syntax test-fixed 2020-10-26 14:41:57 +02:00
reliability vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
repl all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
run_project_folders fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
skip_unused all: replace generic '<>' with '[]' in .vv files (#16593) 2022-12-05 16:32:15 +02:00
testdata vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
tmpl cgen: fix $tmpl() in returning match expr (fix #16109, fix #16124) (#16229) 2022-10-27 18:03:27 +03:00
valgrind x.json2: generic-based encoder (finish PR#15137) (#16464) 2022-11-18 11:09:24 +02:00
addr_test.v cgen: add __addr (bootstraps #14818) (#15585) 2022-08-30 10:28:47 +03:00
aggregate_is_nodetype_test.v ast, checker, cgen: fix aggregations type check (#14066) 2022-04-18 12:38:08 +03:00
alias_array_has_method_test.v cgen: fix alias of array that has builtin method (#14432) 2022-05-17 12:26:26 +03:00
alias_array_operator_overloading_test.v cgen: fix operator overloading for array/map aliases (#9529) 2021-03-30 11:39:54 +02:00
alias_array_plus_operator_test.v checker: allow + operator overrides for type aliases 2022-08-27 12:54:16 +03:00
alias_basic_types_test.v websocket, utf: u8 fixes 2022-04-15 16:24:02 +03:00
alias_char_type_reference_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
alias_custom_type_map_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
alias_fixed_array_init_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
alias_fixed_array_of_struct_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
alias_fixed_array_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
alias_in_a_struct_field_autostr_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
alias_map_keys_test.v checker, cgen: fix alias of map keys() (#12422) 2021-11-10 13:04:59 +02:00
alias_map_operator_overloading_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
alias_operator_overloading_test.v checker, cgen: fix alias operator overloading (#15024) 2022-07-11 19:20:15 +03:00
alias_sumtype_method_call_test.v table: fix alias of sumtype method_call (#11268) 2021-08-22 17:20:10 +03:00
aliased_array_method_call_test.v checker, cgen: enable calls to methods of the parent element array, when an array element is an alias (fix #16169) (#16187) 2022-10-24 12:02:24 +03:00
aliased_array_operations_test.v checker, cgen: fix aliased array methods (#10603) 2021-06-29 12:14:37 +03:00
anon_fn_call_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
anon_fn_decl_inside_ternary_test.v cgen: fix error for anon fn decl inside ternary (#14150) 2022-04-25 12:36:03 +03:00
anon_fn_decl_with_anon_fn_params_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
anon_fn_in_containers_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
anon_fn_redefinition_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
anon_fn_returning_question_test.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
anon_fn_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
anon_fn_with_alias_args_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
anon_fn_with_array_arguments_test.v ast: fix fixed array typedef generation issue (#11962) 2021-09-24 17:01:42 +03:00
anon_fn_with_nested_anon_fn_args_test.v ast: fix anon fn with nested anon fn argument (#15415) 2022-08-12 17:24:23 +03:00
anon_fn_with_optional_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
anon_struct_type_test.v cgen: fix missing type name when anonymous struct is used as parameter. fix #15698 (#15699) 2022-09-10 09:35:42 +03:00
anon_sum_type_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
append_struct_to_interface_array_test.v cgen: fix appending struct to interface array (#14388) 2022-05-14 17:49:42 +03:00
appending_to_mut_array_in_fn_param_test.v cgen: fix fn f(mut a []int) { a << [1,2] } 2020-12-05 10:12:17 +02:00
array_access_optimisation_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
array_append_short_struct_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
array_as_interface_test.v cgen: fix array type as interface (fix #14677) (#14681) 2022-06-05 05:05:48 +03:00
array_cast_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
array_elements_with_optional_test.v ast, cgen: fix wrong name and cname, when array and fixed array elements have optional (fix #16099) (#16122) 2022-10-20 14:17:57 +03:00
array_equality_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
array_get_anon_fn_value_test.v cgen: simplify in index_of_array() and add test (#13792) 2022-03-21 22:03:45 +02:00
array_index_optional_test.v tests: use _test.v for the postfix of some test files, that were missing it 2022-10-19 12:38:58 +03:00
array_init_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
array_init_with_fields_test.v cgen: fix generic array init with fields (#16601) 2022-12-06 09:33:26 +02:00
array_insert_as_mut_receiver_test.v cgen: fix array insert in fn as mut receiver (#15806) 2022-09-18 14:55:28 +03:00
array_map_or_test.v all: change index expr returning optional to result too (#16097) 2022-10-19 21:04:16 +03:00
array_map_ref_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
array_methods_test.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
array_nested_call_test.v cgen: fix nested array call (#11948) 2021-09-23 08:50:37 +03:00
array_of_alias_pop_test.v checker: fix error for array_of_aliases.pop() (#14861) 2022-06-27 11:50:46 +03:00
array_of_alias_slice_test.v cgen: fix array of alias's slice() (#10772) 2021-07-12 15:59:01 +03:00
array_of_anon_fn_call_test.v checker: fix error for array of anon fn call (#13858) 2022-03-29 18:04:30 +03:00
array_of_fixed_array_map_test.v cgen: fix array of fixed array map/filter/any/all(it[0]) (fix #15422) (#15445) 2022-08-17 16:16:08 +03:00
array_of_fixed_array_test.v cgen: fix array of fixed array (fix #13895) (#13901) 2022-04-02 18:00:59 +03:00
array_of_interface_init_test.v checker: fix error for array of interface init in for_in (#13636) 2022-03-03 12:32:55 +02:00
array_of_interfaces_equality_test.v cgen: fix array of interfaces equality error (#12874) 2021-12-17 14:58:17 +02:00
array_of_map_with_default_test.v builtin, cgen: fix array of map init with default value (#12885) 2021-12-18 10:07:25 +02:00
array_of_reference_sumtype_test.v cgen: fix array of reference sumtype index() (#14812) 2022-06-21 12:37:54 +03:00
array_of_sumtype_append_aggregate_type_test.v table, checker: fix sumtype array appending aggregate type values (fix #11197) (#11258) 2021-08-21 17:18:01 +03:00
array_of_sumtype_append_alias_test.v checker, cgen: fix array of sumtype appending alias (#15034) 2022-07-12 09:26:11 +03:00
array_of_sumtype_append_literal_type_test.v checker: fix error for array of sumtype appending literal value (#14200) 2022-04-28 08:44:30 +03:00
array_of_sumtype_init_test.v checker: fix error for array of sumtype init (#13501) 2022-02-18 11:47:24 +02:00
array_of_sumtype_with_default_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
array_of_sumtypes_test.v cgen: properly cast to sumtypes in array prepend and insert (#11289) 2021-08-24 06:25:09 +03:00
array_of_threads_wait_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
array_slice_test.v docs: describe array/slice behaviour (#10252) 2021-05-30 14:48:33 +03:00
array_sort_lt_overload_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
array_test.v cgen: fix array appending when array is used as fn parameter (fix: #15855) (#15860) 2022-09-25 13:05:54 +03:00
array_to_string_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
array_type_alias_test.v checker/cgen: allow << operator for aliases (#8561) 2021-02-08 01:41:47 +01:00
array_with_it_test.v cgen: fix array init with it (#15523) 2022-08-25 08:00:11 +03:00
as_cast_already_smartcast_sumtype_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
as_cast_is_expr_sumtype_fn_result_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
as_cast_literal_test.v tests: rename as_cast_literal.v to as_cast_literal_test.v 2021-10-05 11:57:57 +03:00
assert_fn_call_with_parentheses_test.v cgen: fix assert fn_call with parentheses (fix #11207) (#11214) 2021-08-17 18:21:15 +03:00
assert_should_evaluate_args_just_once_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
assert_sumtype_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
assert_with_newlines_test.v cgen: encode newlines as \n in the assert meta information 2020-11-01 17:01:45 +02:00
assign_array_of_aliases_test.v checker: fix error for assign array of aliases (#14096) 2022-04-20 13:08:47 +03:00
assign_bitops_with_type_aliases_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
assign_literal_with_closure_test.v cgen: fix cross assign in closure (#14549) 2022-05-28 20:47:54 +03:00
assign_map_value_of_fixed_array_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
assign_optional_of_multi_return_with_heap_test.v cgen: fix assigning optional of multi_return with heap (#16049) 2022-10-13 13:07:52 +03:00
assign_shared_test.v checker, cgen: fix shared non-decl assignment (#14466) 2022-05-20 02:58:11 +03:00
atomic_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
attribute_test.v parser: support bool values in attributes (#12750) 2021-12-07 12:11:29 +03:00
autogen_free_test.v cgen: fix autogen free method for struct with shared field (#13469) 2022-02-15 03:55:06 +02:00
autolock_array1_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
autolock_array2_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
backtrace_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
big_array_allocation_test.v builtin,strconv: speedup str.int() conversions (without -prod) 2022-09-08 11:28:19 +03:00
blank_ident_test.v cgen: fix blank ident in for_c_stmt (#12931) 2021-12-22 09:34:26 +02:00
break_in_lock_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
c_array_test.c ci: fix -fsanitize=address for c_array_test.c 2022-08-23 12:16:55 +03:00
c_array_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
calling_module_functions_with_maps_of_arrays_test.v all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
cast_bool_to_int_test.v cgen,ci: fix cast_bool_to_int_test.v on windows-tcc 2022-06-03 20:53:10 +03:00
cast_in_comptime_if_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
cast_in_index_of_ref_fixed_array_test.v cgen: fix cast in the index of reference fixed array (fix #13128) (#13131) 2022-01-11 10:55:29 +02:00
cast_int_to_interface_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
cast_optional_to_interface_test.v tests: make error handling the same as the main function (#15825) 2022-09-21 19:45:43 +03:00
cast_test.js.v js,checker: allow casting JS primitives to V primitives and vice-versa (#12420) 2021-11-10 11:37:16 +02:00
cast_to_alias_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
cast_to_anon_sumtype_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
cast_to_byte_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
cast_to_empty_interface_test.v cgen: fix error for cast to empty interface (fix #14162) (#14176) 2022-04-26 13:26:48 +03:00
cast_to_interface_test.v cgen: fix type casts to interfaces (#8476) 2021-01-31 19:24:33 +02:00
cast_to_u8_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
channels_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
char_literal_bytes_test.v all: byte => u8 2022-04-15 14:58:56 +03:00
checks_for_operator_overrides_should_happen_on_the_concrete_types_when_using_generics_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
clash_var_name_of_array_and_map_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
closure_data_with_gc_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
closure_generator_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
closure_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
complex_assign_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
complex_map_op_test.v ast, parser: fix complex map init (#14206) 2022-04-28 17:37:19 +03:00
comptime_at_test.v parser: fix line number error of comptime atExpr in the last token of the line (fix: #15672) (#15851) 2022-09-24 00:06:07 +03:00
comptime_attribute_selector_test.v all: cleanup/rename all comp_ names to be comptime_ (#12467) 2021-11-15 15:47:29 +02:00
comptime_bittness_and_endianess_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00
comptime_call_in_fn_call_test.v cgen: fix comptime call in fn call (#13075) 2022-01-07 12:59:27 +02:00
comptime_call_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
comptime_call_tmpl_variable_scope_test.tpl all: comptime_call - simplify tmpl scoping, solves many issues. 2022-04-08 17:33:24 +10:00
comptime_call_tmpl_variable_scope_test.v checker/tests: format test added in prev commit & rename chekcer prop 2022-04-08 17:41:23 +10:00
comptime_call_type_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
comptime_field_selector_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
comptime_for_break_test.v checker: add clearer errors for break/continue used within a $for loop (#16600) 2022-12-06 17:27:59 +02:00
comptime_for_in_field_selector_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
comptime_for_in_field_with_generic_fn_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
comptime_for_method_call_in_print_call_test.v cgen: fix error for print comptime for method call (#13108) 2022-01-09 19:00:23 +02:00
comptime_for_method_call_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
comptime_for_method_call_with_args_test.v cgen: fix comptime for method call with arguments (#15236) 2022-07-27 03:22:05 +03:00
comptime_for_over_struct_with_C_reserved_word_fields_test.v cgen: fix comptime selector reserved field names (#11199) 2021-08-16 14:58:23 +03:00
comptime_for_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
comptime_generic_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
comptime_if_expr_generic_typ_is_type_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
comptime_if_expr_in_const_decl_test.v checker: fix comptime if in const declaration (fix #15160) (#15169) 2022-07-22 16:03:45 +03:00
comptime_if_expr_in_struct_field_default_test.v cgen: fix comptime if in struct field default (fix #15058) (#15152) 2022-07-21 16:59:18 +03:00
comptime_if_expr_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
comptime_if_expr_threads_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
comptime_if_generic_shift_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
comptime_if_is_interface_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
comptime_if_is_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
comptime_if_pkgconfig_test.v checker: add pkgconfig to comptime if (#10692) 2021-07-09 18:17:04 +03:00
comptime_if_test.v v.parser: allow for if x { $if y {} } else {}, fix #10243 (#10294) 2021-06-01 12:19:39 +03:00
comptime_if_threads_no_test.v v: support for $if threads {}, depending on whether go ` was used at all (#10227) 2021-05-27 18:36:07 +03:00
comptime_if_threads_yes_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
comptime_kinds_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
comptime_method_args_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
comptime_method_call_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
const_and_global_with_same_name_test.v checker: fix const variable type error when global variable with the same name exists (fix #15686) (#15689) 2022-09-07 19:06:45 +03:00
const_array_init_order_test.v cgen: sort const array init order (fix #14748) (#14749) 2022-06-13 21:09:24 +03:00
const_call_expr_order_test.v ast, checker, cgen: sort consts with call expr (fix #14748) (#14755) 2022-06-14 10:50:20 +03:00
const_can_use_optionals_results_test.v cgen: fix const expr using optional or result (#15850) 2022-09-23 22:36:56 +03:00
const_comptime_eval_before_vinit_test.v all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
const_embed_test.v ftoa: fix strconv/ftoa/f32_f64_to_string_test.v 2020-04-14 03:53:34 +02:00
const_eval_simple_int_expressions_at_comptime_test.v all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
const_fixed_array_containing_references_to_itself_test.v all: wrap up unsafe { nil } (p. 3) 2022-07-21 21:01:30 +03:00
const_fixed_array_of_reference_value_test.v ast, cgen: fix const fixed array of reference value (#13022) 2022-01-04 11:36:29 +03:00
const_from_bytes_test.v cgen: fix const aliases of bytes fixed array (#15701) 2022-09-08 13:19:02 +03:00
const_function_call_init_order_test.v cgen: sort const array init order (fix #14748) (#14749) 2022-06-13 21:09:24 +03:00
const_init_order_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
const_many_pluses_with_raw_string_literal_test.v checker: fix const type with raw string literal (#12761) 2021-12-08 22:28:55 +02:00
const_name_equals_fn_name_test.v checker,cgen: support const y = term.yellow, then println(y('abc')) (#16436) 2022-11-15 19:51:57 +02:00
const_reference_argument_test.v v.gen.c: add vlib/v/gen/c/coutput_test.v, to ease testing of produced C output 2021-07-31 12:14:56 +03:00
const_representation_test.v all: byte => u8 2022-04-15 14:58:56 +03:00
const_test.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
const_use_nested_optionals_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
constant_array_size_test.v parser: perform constant folding before checking size of fixed array (#12126) 2021-10-10 01:55:25 +03:00
conversions_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
cross_assign_fixed_array_test.v cgen: fix cross assign of fixed array (#15587) 2022-08-29 08:50:19 +03:00
cross_assign_test.v cgen: fix error for cross assign of the reserved name variable (#13884) 2022-03-31 19:55:21 +03:00
cross_assign_with_parentheses_test.v parser, cgen: fix cross assign with parentheses (#14545) 2022-05-28 12:02:17 +03:00
cstrings_test.v checker: deprecate using V strings in C function calls (#10140) 2021-05-20 09:17:44 +03:00
custom_str_on_struct_with_too_many_fields_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
default_thread_stack_size_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
dereference_mut_interface_in_loop_test.v cgen: fix error for dereference mut interface in loop (fix #13913) (#13941) 2022-04-07 12:01:54 +03:00
differently_named_structs_test.v tests: fix some warnings in preparation for -W test-self 2021-01-31 11:05:17 +02:00
double_ref_deref_test.v scanner: fix parsing multiple .amp 2020-06-13 00:01:44 +02:00
dump_fns_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
embed_error_in_returning_result_test.v checker: fix returning embedded error result (#16208) 2022-10-25 18:17:48 +03:00
embed_method_call_test.v cgen: fix reference embed method call (#15842) 2022-09-22 13:53:11 +03:00
empty_interface_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
enum_aliases_test.v all: add support for type MyEnumAlias = MyEnum 2021-12-30 13:42:06 +02:00
enum_array_field_test.v ci: vet all files from the compiler (#5994) 2020-07-27 12:15:29 +02:00
enum_bitfield_64bit_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
enum_bitfield_test.v v.parser: add a generated .all(.flag1|.flag2) method to [flag] enums 2021-09-26 21:40:44 +03:00
enum_bitfield_works_with_comptime_conditional_in_the_same_scope_test.v parser: fix parsers producing codegen statements (for [flag] enum MyEnum{}) with mixed scope 2022-01-06 18:02:52 +02:00
enum_default_value_in_struct_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
enum_explicit_size_big_and_small_test.v all: add support for enum Xyz as u64 { + tests (#16246) 2022-10-29 06:32:20 +03:00
enum_hex_test.v v2: initial interface support; fix enum_hex_test.v 2020-03-31 19:59:41 +02:00
enum_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
failing_tests_test.v os: add os.quoted_path/1, use it consistently for running V itself 2022-01-22 21:13:28 +02:00
filter_in_map_test.v tests: fix filter_in_map_test.v (it did not have a test_ function in it) 2021-01-30 10:29:48 +02:00
filter_test.v cgen: fix .filter() and .map() on shared arrays (#13954) 2022-04-07 18:05:11 +03:00
fixed_array_const_size_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
fixed_array_in_op_test.v cgen: fix error for fixed array in operate (#14269) 2022-05-03 12:45:04 +03:00
fixed_array_init_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
fixed_array_literal_index_test.v cgen: fix fixed array literal index (fix #14959) (#15054) 2022-07-14 08:23:29 +03:00
fixed_array_of_alias_struct_test.v cgen: fix fixed array of aliases struct (#14583) 2022-06-01 16:56:12 +03:00
fixed_array_of_fn_test.v cgen: fix fixed array of function (#8490) 2021-02-01 14:50:10 +01:00
fixed_array_of_interfaces_equality_test.v cgen: fix fixed array of interfaces equality (#12908) 2021-12-20 19:09:22 +02:00
fixed_array_of_threads_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
fixed_array_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
fixed_array_to_string_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
fn_assignment_test.v vfmt: voidptr(0) => unsafe { nil } (p.1) 2022-07-21 20:46:01 +03:00
fn_call_fixed_array_literal_args_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
fn_call_mut_array_of_aliases_args_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
fn_call_mut_sumtype_args_test.v gen: fix mut sumtype arguments for fields (#13205) 2022-01-18 19:53:09 +02:00
fn_call_using_anon_fn_call_args_test.v tests: use _test.v for the postfix of some test files, that were missing it 2022-10-19 12:38:58 +03:00
fn_cross_assign_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
fn_expecting_ref_but_returning_struct_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
fn_expecting_ref_but_returning_struct_time_module_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
fn_high_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
fn_index_direct_call_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
fn_multi_return_test.v checker: fix error for fn with multi return (#14095) 2022-04-20 13:09:40 +03:00
fn_multiple_returns_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
fn_mut_arg_of_array_test.v cgen: fix fn mut arg of array (#11104) 2021-08-09 01:49:30 +03:00
fn_mut_arg_of_interface_test.v tests: make error handling the same as the main function (#15825) 2022-09-21 19:45:43 +03:00
fn_mut_args_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
fn_return_fn_test.v v.parser: allow anonymous function to return a function (#10592) 2021-06-28 11:51:24 +03:00
fn_return_mut_sumtype_test.v cgen: fix return of mut symtype (#13214) 2022-01-19 14:37:40 +02:00
fn_return_opt_or_res_of_array_test.v checker: fix fn returning ![]string called in main (#16023) 2022-10-10 19:41:24 +03:00
fn_shared_return_test.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
fn_test.v all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
fn_type_aliases_test.v cgen: fix for type FdfFn = fn(...) (x,y) 2020-10-11 09:53:35 +03:00
fn_type_call_of_match_expr_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
fn_type_only_argument_test.v parser: fix error for fn with type only argument (fix #13704) (#13709) 2022-03-10 22:52:06 +02:00
fn_var_name_using_reserved_test.v cgen: fix fn variable name using reserved c word (fix #15647) (#15648) 2022-09-04 17:50:41 +03:00
fn_variadic_test.v all: replace generic '<>' with '[]' in error messages and comments (#16571) 2022-12-02 09:22:48 +02:00
fn_with_array_of_aliases_argument_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
fn_with_fixed_array_args_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
fn_with_fixed_array_function_args_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
fn_with_opt_or_res_of_multi_return_test.v cgen: fix fn with optional of multi_return (#16046) 2022-10-12 09:44:15 +03:00
for_c_multi_vars_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
for_c_multiple_expressions_in_increment_test.v cgen: fix for (int i = 0; i < 10; i++, a++) { (multiple expressions in the inc part) 2022-06-04 20:03:59 +03:00
for_cond_test.v tests: re-add the disambiguated for (val in [TokenValue(+), TokenValue(-)]) { test 2022-05-19 08:31:03 +03:00
for_in_alias_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
for_in_containers_of_fixed_array_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
for_in_iterator_of_generic_struct_1_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
for_in_iterator_of_generic_struct_2_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
for_in_iterator_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
for_in_map_of_pointers_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
for_in_mut_array_index_test.v cgen: fix for in mut val in array.index() (#12410) 2021-11-08 11:12:10 +02:00
for_in_mut_iterator_val_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
for_in_mut_reference_selector_val_test.v checker: fix mut check bypass with for in loops (#12208) 2021-10-17 06:41:39 +03:00
for_in_mut_struct_val_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
for_in_mut_val_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
for_in_mut_val_with_if_val_in_test.v cgen: fix 'for in mut val' with 'if val in' (#13263) 2022-01-24 17:08:21 +02:00
for_in_optional_test.v cgen: fix or_block in for declaration (#10317) 2021-06-03 01:18:52 +03:00
for_in_ref_arr_test.v cgen, checker, ast: add syntax support for reference x in for x in &somearrary { and for x in &somemap { loops (#15678) 2022-09-08 13:36:40 +03:00
for_in_ref_map_test.v cgen, checker, ast: add syntax support for reference x in for x in &somearrary { and for x in &somemap { loops (#15678) 2022-09-08 13:36:40 +03:00
for_label_continue_break_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
for_loops_2_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
for_loops_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
for_smartcast_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
for_t_fields_with_comptime_if_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_arrays_sum_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_chan_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_complex_sumtype_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_empty_interface_to_multi_struct_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_empty_interface_to_struct_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_fn_assign_generics_struct_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_fn_call_with_reference_argument_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_fn_cast_to_alias_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_fn_infer_fixed_array_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_fn_infer_fn_type_argument_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_fn_infer_fn_type_using_ref_arg_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_fn_infer_map_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_fn_infer_modifier_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_fn_infer_multi_paras_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_fn_infer_nested_generic_fn_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_fn_infer_nested_struct_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_fn_infer_struct_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_fn_infer_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_fn_infer_variadic_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_fn_multi_return_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_fn_returning_type_with_T_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_fn_typeof_name_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_fn_upper_name_type_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_fn_using_generic_type_in_if_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_fn_with_anon_fn_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_fn_with_comptime_for_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_fn_with_short_generic_struct_init_syntax_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_functions_with_normal_function_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_interface_infer_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_interface_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_method_with_variadic_generic_args_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_operator_overload_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_struct_init_with_generic_cast_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_sumtype_cast_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_sumtype_init_in_generic_fn_call_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_sumtype_insts_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_sumtype_method_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_sumtype_of_alias_generic_struct_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_sumtype_str_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generic_sumtype_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_anon_fn_decl_with_type_only_arg_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_array_append_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_array_builtin_method_call_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_array_delete_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_array_init_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_array_map_with_generic_callback_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_array_of_interface_method_call_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_array_typedef_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_assign_reference_generic_struct_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_call_with_reference_arg_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_closure_fn_direct_call_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_closure_fn_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_fn_return_generic_interface_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_fn_return_types_with_generic_struct_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_for_in_iterate_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_in_big_struct_method_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_in_generics_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_indirect_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_interface_decl_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_interface_method_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_interface_with_generic_sumtype_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_interface_with_multi_generic_structs_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_interface_with_multi_generic_types_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_interface_with_non_generic_method_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_map_with_generic_type_key_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_method_on_alias_struct_receiver_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_method_on_generic_structs_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_method_on_nested_struct_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_method_on_nested_struct2_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_method_on_receiver_aliases_types_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_method_on_receiver_types_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_method_ordering_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_method_returning_optional_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_method_str_overload_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_method_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_method_with_generic_anon_fn_argument_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_method_with_multi_types_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_method_with_nested_generic_method_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_method_with_sumtype_args_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_multi_array_in_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_multi_type_comptime_call_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_multi_types_struct_init_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_nested_struct_init_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_return_generics_struct_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_return_inconsistent_types_generics_struct_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_return_multi_array_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_return_multiple_generics_struct_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_return_recursive_generics_struct_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_return_reference_generics_struct_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_struct_anon_fn_fields_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_struct_anon_fn_type_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_struct_field_with_default_struct_value_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_struct_free_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_struct_init_in_generic_fn_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_struct_init_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_struct_init_with_inconsistent_generic_types_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_struct_inst_method_call_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_struct_parent_has_str_to_string_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_struct_to_string_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_struct_with_array_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_struct_with_non_generic_interface_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_T_typ_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_test.v all: replace generic '<>' with '[]' in error messages and comments (#16571) 2022-12-02 09:22:48 +02:00
generics_with_anon_generics_fn_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_with_assign_nested_generics_call_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_with_cascaded_multiple_nested_generics_fn_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_with_complex_nested_generics_type_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_with_embed_generics_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_with_fixed_array_type_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_with_generics_fn_return_generics_fn_type_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_with_generics_fn_type_parameter_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_with_generics_struct_init_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_with_generics_struct_receiver_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_with_multi_generics_struct_types_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_with_multi_nested_generic_method_call_ref_arg_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_with_multi_nested_generic_method_call_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_with_multiple_generics_struct_receiver_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_with_nested_external_generics_fn_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_with_nested_generic_method_call_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_with_nested_generic_struct_init_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_with_nested_generic_type_parameter_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_with_nested_generics_fn_infer_call_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_with_nested_generics_fn_inst_call_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_with_nested_generics_fn_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_with_pointer_index_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_with_recursive_generics_fn_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_with_recursive_generics_struct_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_with_reference_generic_args_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
generics_with_variadic_generic_args_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
go_anon_fn_call_with_ref_arg_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
go_anon_fn_variable_call_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
go_array_wait_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
go_array_wait_without_go_test.v cgen: fix threads array wait without go calls (fix #12009) (#12050) 2021-10-03 18:24:44 +03:00
go_call_anon_fn_with_closure_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
go_call_fn_return_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
go_call_fn_using_map_value_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
go_call_fn_with_anon_fn_arg_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
go_call_generic_fn_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
go_call_interface_method_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
go_handle_for_functions_returning_array_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
go_wait_1_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
go_wait_2_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
go_wait_3_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
go_wait_option_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
go_wait_with_fn_of_interface_parameter_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
goto_test.v checker: fix goto label with comptime tmpl (#12853) 2021-12-15 18:48:43 +02:00
heap_interface_test.v v.checker,v.gen.c: extend auto heap mechanism to objects used as interfaces (#10529) 2021-06-21 07:10:10 +03:00
heap_reference_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
heap_struct_test.v all: promote value type function arguments to heap if necessary (#10528) 2021-06-20 18:40:24 +03:00
high_ascii_const_rune_test.v cgen: fix illegal character encoding with rune consts above 127 (#11550) 2021-09-20 10:45:42 +03:00
if_cond_with_optional_test.v cgen: fix error for if cond with optional expr (#14334) 2022-05-07 20:20:00 +03:00
if_expr_nested_with_optional_result_test.v checker, cgen: fix nested if expr with optional or result (fix #15735) (#15743) 2022-09-13 10:09:12 +03:00
if_expr_of_multi_stmts_test.v cgen: fix if expr of multi stmts (#11208) 2021-08-16 21:48:58 +03:00
if_expr_of_optional_test.v builtin: change IError msg and code to methods + fix vlib, add a deprecation notice for the old usages (#13041) 2022-02-11 15:52:33 +02:00
if_expr_with_array_call_test.v v.gen.c: fix uninitialised value usages regression after e5fb4e4 2021-09-23 12:24:03 +03:00
if_expr_with_enum_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
if_expr_with_fn_call_result_test.v cgen: fix if expr with fn call result (#15702) 2022-09-08 22:39:49 +03:00
if_expr_with_generic_sumtype_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
if_expr_with_index_expr_test.v cgen: refactor need_tmp_var_in_expr/match() (fix #15675) (#15676) 2022-09-06 13:09:28 +03:00
if_expr_with_method_call_optional_test.v cgen: fix if expr with optional method call (#14600) 2022-06-03 15:57:39 +03:00
if_expr_with_multi_array_call_test.v cgen: fix if expr with multiple array call (fix #16583) (#16589) 2022-12-05 12:07:39 +02:00
if_expr_with_nested_array_call_test.v cgen: fix if expr with complex nested array call (#11979) 2021-09-26 07:35:48 +03:00
if_expr_with_nested_match_expr_test.v cgen: fix error for if expr with nested match expr (#14122) 2022-04-21 13:02:31 +03:00
if_expr_with_result_test.v checker, cgen: fix if expr with result (#15709) 2022-09-09 11:29:21 +03:00
if_expr_with_struct_init_test.v v.parser: fix if a == Abc{} { (#11092) 2021-08-07 18:05:22 +03:00
if_expr_with_sumtype_map_test.v cgen: fix if expr with sumtype value of map (#16445) 2022-11-16 14:59:34 +02:00
if_expr_with_sumtype_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
if_expression_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
if_guard_test.v parser: add support for mutable if guards (#13132) 2022-01-11 15:32:58 +02:00
if_guard_with_multi_return_test.v ast, checker, cgen: implement if guard with multi return optional (#13273) 2022-01-25 14:36:33 +02:00
if_smartcast_likely_test.v checker: handle if _likely_(x is Interface) { from #11485 (#11519) 2021-09-17 21:01:12 +03:00
if_smartcast_multi_conds_test.v checker: implement if smartcast multi conds (part 1) (#10477) 2021-06-16 19:16:15 +03:00
if_smartcast_nested_selector_exprs_test.v checker: fix nested if smartcast selector exprs (fix #10372 #10379) (#10502) 2021-06-18 14:49:15 +03:00
if_smartcast_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
imported_symbols_test.v checker: prohibit selective const imports (#10574) 2021-06-26 18:09:52 +03:00
in_expression_test.v cgen: fix error of 'in array of sumtype' (#15756) 2022-09-14 17:43:16 +03:00
infix_expr_test.v checker: error if smaller signed == unsigned (#14078) 2022-04-25 12:09:25 +03:00
init_global_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
init_multiple_branches_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
int_cmp_test.v all: byte => u8 2022-04-15 14:58:56 +03:00
integer_size_test.v v.gen.c: fix the :X string interpolation format for isize/usize on 64bit systems 2021-09-19 05:09:03 +03:00
interface_and_embedded_struct_build_test.v cgen: fix error for interface and embedded struct build (#13530) 2022-02-19 20:43:40 +02:00
interface_array_methods_test.v cgen: support index and in for sumtype/interface arrays (#12051) 2021-10-03 15:44:13 +03:00
interface_auto_str_gen_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
interface_embedding_call_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
interface_embedding_complex_test.v cgen: fix interface embedding complex cases (#13472) 2022-02-15 12:41:40 +02:00
interface_embedding_deep_nesting_test.v v: implement interface embedding (#9935) 2021-05-02 03:00:47 +03:00
interface_embedding_method_call_test.v all: wrap up unsafe { nil } (p. 3) 2022-07-21 21:01:30 +03:00
interface_embedding_recursive_test.v v: implement interface embedding (#9935) 2021-05-02 03:00:47 +03:00
interface_embedding_smartcast_test.v all: remove unnecessary IError() casts 2022-10-28 19:08:30 +03:00
interface_embedding_test.v checker: add an interface check for mutability, fixes #1081, fixes #7038 (#11963) 2021-10-11 15:41:31 +03:00
interface_embedding_with_interface_para_test.v table: fix interface embedding with interface parameter (#10567) 2021-06-25 12:52:25 +03:00
interface_equality_test.v cgen: implement eq operator for interfaces (#12047) 2021-10-03 09:04:05 +03:00
interface_fields_test.v checker: add check for mut ident but not if mut ident is for interfaces (#16214) 2022-10-29 06:36:44 +03:00
interface_fields_typearray_test.v cgen: generate interfaces after all other typedefs (#9680) 2021-04-12 00:43:19 +03:00
interface_fn_return_array_of_interface_test.v cgen: fix fn return array of interface (#10677) 2021-07-06 16:33:26 +03:00
interface_fn_return_with_struct_init_test.v tests: correct test file name (#12787) 2021-12-11 10:28:44 +03:00
interface_method_using_struct_embed_test.v cgen: fix interface method using struct embed (#12924) 2021-12-21 19:16:05 +02:00
interface_method_with_struct_embed_test.v ast, checker, cgen: fix interface method with struct embed (#12783) 2021-12-10 14:56:13 +02:00
interface_nested_field_test.v checker: force interface init (#10910) 2021-07-30 03:18:20 +03:00
interface_only_decl_with_optional_test.v all: replace []byte with []u8 2022-04-15 15:35:35 +03:00
interface_runtime_conversions_test.v cgen: small interface conversion fix (#11229) 2021-08-18 13:47:57 +03:00
interface_str_method_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
interface_struct_embedding_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
interface_struct_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
interface_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
interface_variadic_test.v cgen: fix call method with an empty args on an interface with variadic (fix #16286) (#16290) 2022-11-02 15:45:39 +02:00
interface_with_multi_nested_embed_1_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
interface_with_multi_nested_embed_2_test.v cgen: fix error for interface with multi-nested embed struct (#13345) 2022-02-02 09:11:29 +02:00
interfaces_map_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
interop_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
isreftype_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
json_serialisation_of_fixed_arrays_test.v db, json, time, term: change optional to result (#16201) 2022-10-26 11:26:28 +03:00
json_with_struct_having_fields_with_default_values_test.v cgen: fix parallel cgen for json encoding of struct fields that have default values 2022-05-26 16:55:44 +03:00
keep_args_alive_test_c.h ci: fix all -cstrict warnings with gcc and clang (#9792) 2021-04-19 15:38:48 +03:00
keep_args_alive_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
keyword_escaping_test.v cgen: add true and false to C reserved words (#13781) 2022-03-21 11:00:30 +02:00
local_test.v tests: run vfmt 2020-04-12 01:41:26 +02:00
lock_selector_test.v shared: support lock on SelectorExpression (#10105) 2021-05-15 04:34:27 +03:00
map_alias_key_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
map_and_array_with_fns_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
map_assign_array_of_interface_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
map_assign_interface_values_with_implicit_casts_test.v checker: allow for all.children := { "abc": rect, "def": rectangle()}, where children is map[string]Widget, without needing explicit casts for all the map values 2022-11-10 13:59:21 +02:00
map_builtin_call_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
map_complex_fixed_array_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
map_enum_keys_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
map_equality_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
map_fn_test.v cgen: fix .filter() and .map() on shared arrays (#13954) 2022-04-07 18:05:11 +03:00
map_get_anon_fn_value_test.v cgen: fix error for map get anon fn value (#13782) 2022-03-21 00:20:55 +02:00
map_get_anon_fn_value_with_mut_arg_test.v checker: fix map get anon fn value with mut argument (fix #14479) (#14493) 2022-05-22 16:28:53 +03:00
map_get_assign_blank_test.v cgen: fix map get assign blank var with optional (#12943) 2021-12-23 13:04:36 +02:00
map_high_order_assign_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
map_init_with_enum_keys_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
map_init_with_multi_enum_keys_test.v all: change index expr returning optional to result too (#16097) 2022-10-19 21:04:16 +03:00
map_key_expr_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
map_literals_method_call_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
map_mut_fn_test.v gen: fix mutable map generation (#7251) 2020-12-11 04:48:55 +01:00
map_selector_assign_test.v checker: fix error of map selector assign (#12902) 2021-12-20 08:09:15 +02:00
map_sumtype_value_init_test.v ast, checker, cgen: fix error for map sumtype value init (#13290) 2022-01-27 09:44:34 +02:00
map_sumtype_values_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
map_test.v parser: fix raw string as map keys (fix #16285) (#16289) 2022-11-02 16:04:22 +02:00
map_to_string_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
map_type_alias_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
map_value_init_test.v cgen: do full struct initialisation for V structs, fixes invalid data from map[string]Struct{}['unknown'] (#9878) 2021-04-27 08:18:48 +03:00
map_value_with_optional_result_test.v ast: fix missing 'optional' and 'result' in type name and cname of map (#16047) 2022-10-13 10:38:02 +03:00
maps_equal_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
mark_as_referenced_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
match_aliases_test.v checker: fix error for match aliases (#14157) 2022-04-25 14:42:43 +03:00
match_branch_with_array_expression_test.v parser: fix error for match branch with array expression (#13733) 2022-03-14 16:19:05 +02:00
match_case_with_struct_init_test.v parser: fix match expr case with struct init (#14538) 2022-05-27 18:51:40 +03:00
match_compound_type_cond_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
match_const_range_test.v all: add support for const ident in match range (#16526) 2022-11-26 08:56:00 +02:00
match_error_to_none_test.v checker: fix match error to none (#10245) 2021-05-29 19:30:57 +03:00
match_expr_in_infix_expr_test.v cgen: fix error of match expr (fix #16554) (#16555) 2022-11-30 12:04:20 +02:00
match_expr_nested_test.v cgen: fix error of nested match expr (#12334) 2021-10-29 17:14:49 +03:00
match_expr_nested_with_optional_result1_test.v checker, cgen: fix nested match expr with optional or result type (#15717) 2022-09-10 11:44:22 +03:00
match_expr_nested_with_optional_result2_test.v checker, cgen: fix nested match expr with optional or result type (#15717) 2022-09-10 11:44:22 +03:00
match_expr_returning_optional_test.v checker, cgen: fix match expr returning optional with error (fix #12556) (#12645) 2021-12-02 12:22:48 +02:00
match_expr_returning_sumtype_test.v cgen: fix match expr when evaluating to sumtype (#12237) 2021-10-20 11:52:11 +03:00
match_expr_with_assign_sumtype_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
match_expr_with_enum_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
match_expr_with_if_or_match_expr_test.v checker: fix match expr with if expr (fix #10177 #10178) (#10179) 2021-05-23 17:59:57 +03:00
match_expr_with_last_branch_aggregate_test.v cgen: fix match expr with last aggregate branch (#16101) 2022-10-19 11:49:39 +03:00
match_expr_with_non_last_if_expr_test.v checker: fix match expr with non last if expr (#15500) 2022-08-23 07:58:33 +03:00
match_expr_with_one_branch_test.v cgen: fix match for one branch (#9234) 2021-03-10 18:44:32 +02:00
match_expr_with_promote_number_test.v checker: fix match expr type mismatch (#11220) 2021-08-18 08:52:01 +03:00
match_expr_with_result_test.v checker, cgen: fix match expr with result (#15706) 2022-09-08 21:24:16 +03:00
match_expr_with_string_fn_test.v parser: fix error for match expr with 'fn' (#15805) 2022-09-18 14:17:13 +03:00
match_expr_with_struct_init_test.v cgen: fix match expr with optional (#15658) 2022-09-04 13:21:16 +03:00
match_expression_for_types_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
match_expression_with_fn_names_in_branches_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
match_expression_with_for_loop_test.v ast: allow a := match x { 101 { ... for {...} ... y } 2022-04-21 13:31:06 +03:00
match_in_fn_call_test.v checker: require params attribute to use struct as keyword arguments in function (#11135) 2021-09-14 00:05:30 +03:00
match_in_if_expression_test.v cgen: fix match_in_if_expression (#8407) 2021-01-29 14:51:17 +01:00
match_in_map_init_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
match_in_map_or_expr_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
match_interface_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
match_reference_sumtype_var_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
match_smartcast_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
match_sumtype_var_aggregate_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
match_sumtype_var_aggregate_var_str_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
match_sumtype_var_return_sumtype_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
match_sumtype_var_shadow_and_as_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
match_sumtype_var_with_none_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
match_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
match_with_complex_exprs_in_branches_test.v cgen: fix match expression with complex boolean conditions 2021-03-12 19:55:33 +02:00
match_with_complex_sumtype_exprs_add_print_test.v checker: fix match with complex sumtype exprs that adding print (#15728) 2022-09-12 13:55:34 +03:00
match_with_complex_sumtype_exprs_test.v example: improve binary search tree example (#10226) 2021-05-27 20:13:02 +03:00
match_with_multi_sumtype_exprs_test.v cgen: fix match with multi sumtype exprs (#10377) 2021-06-07 14:16:30 +03:00
methods_as_fields_test.v Revert "Revert "checker: allow using methods as vars when expecting a ctx arg (#14414)"" 2022-05-16 21:29:47 +03:00
methods_on_interfaces_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
missing_config_struct_arg_test.v checker: require params attribute to use struct as keyword arguments in function (#11135) 2021-09-14 00:05:30 +03:00
module_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
module_type_cast_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
multi_line_with_optionals_test.v tests: make error handling the same as the main function (#15825) 2022-09-21 19:45:43 +03:00
multiple_assign_array_index_test.v cgen: fix multiple assign array index (#10926) 2021-07-23 15:46:18 +03:00
multiple_assign_test.v cgen: fix swap assign of prefix and postfix expr 2020-05-28 02:22:09 +03:00
multiple_comptime_tmpl_in_one_fn_test.v parser, cgen: fix multiple comptime tmpl in one function (#12757) 2021-12-08 11:12:02 +03:00
multiple_embed_struct_init_test.v cgen: fix multiple embed struct init (#12791) 2021-12-11 10:28:32 +03:00
multiple_embed_struct_with_duplicate_field_init_test.v cgen: fix multiple nested embed struct with duplicate field init (#12805) 2021-12-12 19:54:29 +02:00
multiple_matchs_in_one_expr_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
multiret_in_or_expr_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
multiret_with_maps_test.v v.checker: fix panic for a, b, c = fn_returning_several_maps() 2021-10-02 18:40:35 +03:00
multiret_with_ptrtype_test.v all: wrap up unsafe { nil } (p. 3) 2022-07-21 21:01:30 +03:00
multiret_with_sumtype_test.v cgen: fix multiple return with sumtype (#12930) 2021-12-22 12:09:08 +02:00
mut_receiver_of_sumtype_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
mut_receiver_returned_as_reference_test.v all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
mut_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
named_break_continue_test.v os: deprecate os.exec (returning ?os.Result), in favour of os.execute, which returns os.Result (#8974) 2021-03-08 20:52:13 +02:00
nest_defer_fn_test.v checker: forbid leaving function from inside defer block (#10285) 2021-05-31 17:09:57 +03:00
nested_anonfunc_and_for_break_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
nested_map_index_test.v all: change index expr returning optional to result too (#16097) 2022-10-19 21:04:16 +03:00
nested_map_test.v cgen: fix error of 'map_a[map_b[key]] += 2' (#12872) 2021-12-17 15:17:08 +02:00
nested_multiline_comments_test.v scanner: fix nested multiline comments (#10760) 2021-07-12 07:17:38 +03:00
nested_option_call_test.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
nested_struct_embed_method_call_test.v ast, checker, cgen: fix nested struct embed method call (#12714) 2021-12-04 14:51:42 +02:00
nested_struct_embed_selector_test.v ast, checker, cgen: fix nested struct embed method call (#12714) 2021-12-04 14:51:42 +02:00
num_lit_call_method_test.v builtin,strconv: append ".0", to float string representations, to ensure clarity (#16079) 2022-10-17 15:41:07 +03:00
offsetof_test.v all: byte => u8 2022-04-15 14:58:56 +03:00
operator_overloading_cmp_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
operator_overloading_on_struct_with_too_many_fields_test.v cgen: fix error, when a struct with over 8 fields, is used as a method receiver directly. 2022-04-07 17:20:14 +03:00
operator_overloading_with_string_interpolation_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
option_2_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
option_default_values_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
option_empty_map_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
option_expr_with_array_value_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
option_if_assign_and_fallthrough_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
option_if_expr_test.v checker, cgen: fix optional with if expr (#10242) 2021-05-29 10:00:12 +03:00
option_in_loop_test.v tests: add tests for continue/break in last statement of an or{} 2020-11-02 12:54:45 +02:00
option_print_errors_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
option_struct_init_test.v cgen: fix optional generation order (#11070) 2021-08-06 03:57:34 +03:00
option_test.v cgen: fix missing * of optional non-ref structs (fix: #16070) (#16071) 2022-10-14 10:34:42 +03:00
option_void_2_test.v checker: fix 'return none' in void optional function (#16545) 2022-11-28 10:29:02 +02:00
option_void_test.v builtin: change IError msg and code to methods + fix vlib, add a deprecation notice for the old usages (#13041) 2022-02-11 15:52:33 +02:00
optional_multi_return_test.v tests: make error handling the same as the main function (#15825) 2022-09-21 19:45:43 +03:00
or_expr_with_comptime_test.v checker: fix panic caused by compile-time code within or block (#16602) 2022-12-06 09:26:04 +02:00
or_expr_with_multi_stmts_test.v parser: fix optional with multiple statements (#14592) 2022-06-02 08:23:16 +03:00
or_expr_with_nested_match_expr_test.v checker: make using err.msg and err.code produce an *actual* notice, even with the present compatibility hack (will be *removed* in 2022-06-01) 2022-04-12 14:56:02 +03:00
orm_joined_tables_select_test.v checker: fix orm bug, when a joined table field context replaced the original table field context 2022-05-17 11:45:17 +03:00
orm_sub_array_struct_test.v orm: improve the README and the tests. Add an error message for foreign key tags (#15670) 2022-09-06 13:12:37 +03:00
orm_sub_struct_test.v orm: add support for custom table names & custom field names (#9697) 2021-04-15 10:53:43 +03:00
parse_invalid_map_type_test.v parser: fix panic for parse invalid map type (#14431) 2022-05-17 12:05:10 +03:00
parser_line_test.v parser: require ( on same line as name token for fn call or cast (#6160) 2020-08-19 02:37:17 +02:00
passing_sumtype_parameter_in_sumtype_matching_results_test.v cgen: fix passing sumtype parameter in sumtype matching results (fix #15078) (#15767) 2022-09-16 10:16:40 +03:00
pointer_arithmetic_test.v checker: disallow invalid pointer arithmetic (#10888) 2021-07-21 23:39:49 +03:00
pointers_multilevel_casts_test.v checker: ban unsafe pointer/fn comparison (#14462) 2022-05-20 18:30:16 +03:00
pointers_str_test.v all: fix struct names error 2020-05-27 19:12:34 +03:00
pointers_test.v checker: allow for unsafe {*(p+1) = 22} (#10557) 2021-06-24 12:39:42 +03:00
prefix_expr_test.v parser: fix error of -foo.bar() (#9646) 2021-04-09 10:54:03 +03:00
print_smartcast_variable_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
print_test.v all: make eprint[ln] behave same as print[ln] (#7595) 2020-12-27 11:22:16 +01:00
prod_test.v builtin: change IError msg and code to methods + fix vlib, add a deprecation notice for the old usages (#13041) 2022-02-11 15:52:33 +02:00
projects_that_should_compile_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
ptr_arithmetic_test.v all: byte => u8 2022-04-15 14:58:56 +03:00
raw_string_test.v v.transformer: fix string always escaped by transformer (#12603) 2021-11-28 23:53:30 +02:00
ref_array_init_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
ref_return_test.v checker: check reference return to be really reference (#7739) 2020-12-31 12:42:22 +01:00
ref_struct_test.v checker: support value array elements of [heap] type inside struct ref (#9899) 2021-04-28 07:47:00 +03:00
reference_return_test.v all: automatically move (some) referenced objects to heap (#9873) 2021-04-25 21:40:38 +03:00
reference_var_followed_block_expr_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
repeated_multiret_values_test.v tests: fix warnings when doing ./v -W -progress -check-syntax test-fixed 2020-10-26 14:41:57 +02:00
reserved_keywords_array_test.v checker: do now allow type name shadowing (#11401) 2021-09-05 18:34:21 +03:00
reserved_keywords_as_struct_field_test.v cgen: fix reserved keywords as struct field (#11370) 2021-09-03 12:18:45 +03:00
reserved_keywords_can_be_escaped_with_at_test.v gen: fix C keyword escape to _v_ instead of just v_ (#10876) 2021-07-21 11:46:04 +03:00
reserved_keywords_if_guard_test.v cgen: fix c error when use reserved keyword as if guard var (#12871) 2021-12-17 04:50:52 +02:00
results_multi_return_test.v checker: fix return error with multi_return optional (#16250) 2022-10-29 06:34:45 +03:00
results_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
retry_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
return_comptime_call_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
return_in_lock_test.v cgen: fix deadlock when returning multiple values in lock (#14014) 2022-04-12 09:21:27 +03:00
return_match_expr_of_sumtype_result_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
return_optional_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
return_result_in_or_block_test.v cgen: fix return result in or block (#16158) 2022-10-23 13:11:11 +03:00
return_voidptr_test.v all: wrap up unsafe { nil } (p. 3) 2022-07-21 21:01:30 +03:00
reusable_mut_multiret_values_test.v tests: fix warnings when doing ./v -W -progress -check-syntax test-fixed 2020-10-26 14:41:57 +02:00
run_project_folders_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
run_v_code_from_stdin_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
scanner_and_and_not_test.v scanner: fix false &&!ok1 (fix #7524) (#15458) 2022-08-18 11:55:38 +03:00
script_with_no_extension tests: add missing script_with_no_extension, add exception for /tmp.* files in .gitignore 2022-09-20 16:17:21 +03:00
semaphore_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
semaphore_timed_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
shared_arg_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
shared_array_any_filter_map_all_test.v cgen: fix generated any/filter/all methods for shared array fields 2022-08-10 14:05:33 +03:00
shared_array_append_many_test.v cgen: fix appending an array to a shared array (#13265) 2022-01-25 12:05:43 +02:00
shared_array_last_test.v v fmt: fix extra space for lock/rlock without expressions (#16103) 2022-10-19 12:18:21 +03:00
shared_array_ptr_test.v cgen: fix codegen for struct field with a shared array of points (#13222) 2022-01-21 17:08:19 +02:00
shared_array_sort_test.v tests: make error handling the same as the main function (#15825) 2022-09-21 19:45:43 +03:00
shared_array_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
shared_autolock_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
shared_elem_test.v checker: check unsafe array assign (fix #9651) (#15515) 2022-08-25 08:52:13 +03:00
shared_fn_return_test.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
shared_if_expr_test.v checker,cgen: fix if expressions in lock expression (#14384) 2022-05-15 12:31:07 +03:00
shared_in_test.v cgen: fix .filter() and .map() on shared arrays (#13954) 2022-04-07 18:05:11 +03:00
shared_interface_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
shared_lock_2_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
shared_lock_3_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
shared_lock_4_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
shared_lock_5_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
shared_lock_6_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
shared_lock_expr_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
shared_lock_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
shared_map_delete_test.v cgen: fix shared map delete (#15431) 2022-08-15 23:42:57 +03:00
shared_map_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
shared_optional_test.v cgen: fix shared optional (#15462) 2022-08-18 20:18:03 +03:00
shared_str_test.v cgen: fix autostr of shared fields (#14455) 2022-05-19 17:00:27 +03:00
shared_struct_method_call_test.v cgen: fix shared struct method call (#15386) 2022-08-09 12:44:19 +03:00
shared_unordered_mixed_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
shift_test.v checker: error if smaller signed == unsigned (#14078) 2022-04-25 12:09:25 +03:00
short_struct_param_syntax_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
sizeof_2_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
sizeof_test.v native, checker: cast float_literal to f32 explicitly in code gen (#16254) 2022-10-30 10:31:18 +02:00
slice_rval_test.v cgen: fix double evaluation of rvalue array expression in slice (#13737) 2022-03-18 11:43:15 +02:00
sorting_by_different_criteria_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
sorting_by_references_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
sql_statement_inside_fn_call_test.v cgen: fix error for sql statement inside fn call (fix #13330) (#13346) 2022-02-02 18:05:31 +02:00
static_arrays_using_const_for_size_test.v tests: fix warnings when doing ./v -W -progress -check-syntax test-fixed 2020-10-26 14:41:57 +02:00
static_vars_test.v fmt: fix support for mut static x := 42 2021-02-28 19:40:21 +02:00
str_array_of_reference_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
str_circular_test.v cgen: use heuristic to detect circular reference in auto str (#11090) 2021-08-07 14:56:09 +03:00
str_gen_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
str_reference_struct_test.v cgen: fix error of reference struct str() (#12061) 2021-10-04 09:58:50 +03:00
string_alias_of_struct_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
string_alias_test.v Alias string compare (#7364) 2020-12-16 21:40:56 +02:00
string_array_of_ref_type_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
string_escape_backslash_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
string_index_in_for_mut_in_test.v cgen: fix string range index in for mut var in (#13076) 2022-01-07 13:00:48 +02:00
string_index_or_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
string_interpolation_alias_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
string_interpolation_array_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
string_interpolation_custom_str_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
string_interpolation_float_fmt_test.v strconv: fix error for string interpolation of float format (#13800) 2022-03-22 12:00:18 +02:00
string_interpolation_floats_test.v interpolation: support '' (rounding like in C) 2020-10-16 17:28:11 +03:00
string_interpolation_function_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
string_interpolation_inner_cbr_test.v all: rollback to old interpolation (step 3) (#16380) 2022-11-10 15:05:34 +03:00
string_interpolation_multi_return_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
string_interpolation_multistmt_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
string_interpolation_of_array_of_structs_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
string_interpolation_shared_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
string_interpolation_string_args_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
string_interpolation_struct_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
string_interpolation_sumtype_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
string_interpolation_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
string_interpolation_variadic_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
string_map_with_generic_struct_value_test.v cgen: fix string of map with generic struct value (#16595) 2022-12-06 12:38:05 +02:00
string_optional_none_test.v checker: fix return error with multi_return optional (#16250) 2022-10-29 06:34:45 +03:00
string_ref_struct_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
string_struct_interpolation_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
strings_unicode_test.v all: byte => u8 2022-04-15 14:58:56 +03:00
struct_allow_both_field_defaults_and_skip_flag_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
struct_auto_eq_gen_interface_test.v cgen: fix comparing struct with pointers to interface values (fix #16074) (#16215) 2022-10-28 06:47:31 +03:00
struct_chained_fields_correct_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
struct_child_field_default_test.v cgen: fix child struct's default values not assigned (#8202) 2021-01-19 17:10:22 +01:00
struct_embed_fn_type_test.v checker, cgen: fix error for struct embed with fn type (#13450) 2022-02-12 20:55:40 +02:00
struct_embed_is_interface_test.v ast: fix error for 'struct embed is interface' (#13465) 2022-02-14 13:43:36 +02:00
struct_embed_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
struct_embedding_with_interface_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
struct_eq_op_only_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
struct_equality_test.v cgen: use overloaded eq op in auto eq method (#9475) 2021-03-26 19:46:54 +02:00
struct_field_array_index_test.v cgen: fix struct field array index error (#14417) 2022-05-16 19:37:39 +03:00
struct_field_default_value_interface_cast_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
struct_field_default_value_sumtype_cast_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
struct_fields_required_test.v checker: skip checking [required] fields for struct update syntax (#10500) 2021-06-18 02:51:33 +03:00
struct_fields_storing_functions_test.v all: replace []byte with []u8 2022-04-15 15:35:35 +03:00
struct_ierror_test.v checker: force interface init (#10910) 2021-07-30 03:18:20 +03:00
struct_init_and_assign_test.v parser: fix struct init and assign using sql variable (#10968) 2021-07-26 21:14:31 +03:00
struct_init_update_with_mutable_receiver_test.v checker: fix struct init with update of mutable receiver (#15758) 2022-09-14 19:46:05 +03:00
struct_init_with_complex_fields_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
struct_init_with_embed_update_test.v cgen: fix struct init with embed field update (#13444) 2022-02-12 08:16:51 +03:00
struct_init_with_fixed_array_field_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
struct_init_with_interface_field_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
struct_init_with_multi_nested_embed_update_test.v cgen: fix struct init with multi nested embed update expr (#13529) 2022-02-19 20:46:44 +02:00
struct_init_with_update_test.v cgen: fix struct init with update expr (fix #15595) (#15603) 2022-08-30 09:22:14 +03:00
struct_map_method_test.v checker: allow map method name (#7834) 2021-01-03 16:57:29 +01:00
struct_multi_embed_method_call_test.v cgen: fix error of method calls on nested embedded structs (#13292) 2022-01-27 13:20:56 +02:00
struct_of_time_init_with_update_test.v cgen: fix error for time struct init with update (#13660) 2022-03-05 13:28:48 +02:00
struct_shared_field_init_test.v cgen: fix struct field init from shared struct field (#13343) 2022-02-02 10:55:57 +02:00
struct_shared_field_with_default_init_test.v cgen: fix struct shared field with default init (#15040) 2022-07-12 20:04:06 +03:00
struct_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
struct_transmute_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
struct_with_reference_alias_field_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
structs_with_voidptr_fields_can_be_printed_test.v all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
sum_type_common_fields_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
sum_type_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
sumtype_array_methods_test.v cgen: support index and in for sumtype/interface arrays (#12051) 2021-10-03 15:44:13 +03:00
sumtype_assign_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
sumtype_calls_test.v cgen: fix cannot take rvalue error of interface (#10040) 2021-05-13 17:54:48 +03:00
sumtype_equality_test.v vlib: remove ustring usage (#10618) 2021-06-30 22:30:28 +03:00
sumtype_literal_test.v scanner: no longer allow 1. float literals (#11301) 2021-08-25 14:39:37 +03:00
sumtype_str_for_subtypes_with_str_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
sumtype_str_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
sumtype_with_alias_fntype_fn_call_test.v tests: add new test for #16519 (#16520) 2022-11-24 15:56:07 +02:00
sumtype_with_alias_fntype_test.v tests: add new test for #16519 (#16520) 2022-11-24 15:56:07 +02:00
sumtype_with_fntype_test.v cgen: fix sumtype with fntype using fn directly (fix #15674) (#15679) 2022-09-06 20:33:39 +03:00
sumtype_with_none_test.v ast, parser, cgen: fix anon sumtype cast (fix #14967) (#14976) 2022-07-07 18:51:57 +03:00
sumtype_with_struct_fn_field_call_test.v cgen: fix f as Fun, where f is type Expr = Fun | int, and struct Fun { f fn (int) int }. (fix #15730) (#15744) 2022-09-13 10:19:58 +03:00
supports__likely__test.v parser: warn about old use of typeof (#7923) 2021-01-07 20:32:02 +01:00
testcase_leak.vv all: wrap up unsafe { nil } (p. 3) 2022-07-21 21:01:30 +03:00
thread_to_string_test.v fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
tmpl_in_return_match_expr_test.v cgen: fix $tmpl() in returning match expr (fix #16109, fix #16124) (#16229) 2022-10-27 18:03:27 +03:00
tmpl_script_tag_interpolation_test.v tmpl: fix a test 2022-05-14 17:48:50 +03:00
tmpl_test.v tmpl: fix $tmpl comptime operation only working in return statement (#11541) 2021-09-19 23:22:26 +03:00
tmpl_with_single_quotes_test.v parser: fix $tmpl with single quotes (fix #16154) (#16216) 2022-10-26 19:38:08 +03:00
trace_calls_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
translated_test.v tests: remove needless import math in translated_test.v 2022-07-23 23:24:17 +03:00
type_alias_of_pointer_types_test.v parser: allow passing mut a AliasOfPointerType 2021-03-26 13:38:16 +02:00
type_alias_str_method_override_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
type_alias_test.v ast: make is_int() work with aliases 2021-06-12 14:35:38 +03:00
type_idx_test.v all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
type_name_in_if_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
type_name_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
type_promotion_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
type_voidptr_test.v all: byte => u8 2022-04-15 14:58:56 +03:00
typeof_aggregate_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
typeof_simple_types_test.v ci: fix typeof_simple_types_test.v 2022-04-15 21:22:32 +03:00
typeof_test.v all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
unreachable_code_paths_test.v cgen: fix VUNREACHABLE inside ternary (#10672) 2021-07-05 18:26:01 +03:00
unsafe_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
unsigned_right_shift_test.v all: add unsigned shift operators (#11536) 2021-09-21 14:02:17 +03:00
use_alias_from_another_module_in_struct_field_test.v cgen: fix struct type dependency sorting, when struct field types, are aliases to struct types from other modules (#13779) 2022-03-20 20:23:48 +02:00
vargs_auto_str_method_and_println_test.v all: make eprint[ln] behave same as print[ln] (#7595) 2020-12-27 11:22:16 +01:00
vargs_empty_param_test.v all: bring back panic(err.msg) -> panic(err) (#9022) 2021-03-01 00:18:14 +01:00
vargs_reference_param_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
vargs_with_enum_value_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
vmod_parser_test.v builtin: change IError msg and code to methods + fix vlib, add a deprecation notice for the old usages (#13041) 2022-02-11 15:52:33 +02:00
voidptr_to_u64_cast_a_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
voidptr_to_u64_cast_b_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
volatile_vars_test.v all: support mut volatile x := 123 declarations (#11940) 2021-09-22 13:06:30 +03:00
vsh_envbang_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
websocket_logger_interface_should_compile_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
working_with_an_empty_struct_test.v vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00