v/vlib/v/tests
yuyi d8a333058d
checker, cgen: fix generic map with generic type key (#12859)
2021-12-16 09:53:05 +02:00
..
aliasing_c_structs v.gen.c: allow overriding of the == operator on C.Struct type aliases 2021-09-07 12:02:01 +03:00
assembly
bench scanner: speed up text_scan by using a specialised keywords matcher, instead of a generic V map of keywords 2021-10-28 15:41:13 +03:00
c_function_mut_param checker: allow mut arg on C functions (#11430) 2021-09-11 14:25:38 +03:00
c_struct_free cgen: don't change field name of c structs (#10894) 2021-07-22 01:37:49 +03:00
cflags
create_dll v.gen.c: add tests to ensure the same calling convention is used on exported functions for -m32/-m64 (#11977) 2021-10-03 15:47:08 +03:00
field_publicity
generics_from_modules
inout tmpl: fix <div> inside <div> 2021-09-21 07:54:10 +03:00
interface_edge_cases checker: force interface init (#10910) 2021-07-30 03:18:20 +03:00
local
modules
multiple_paths_in_vmodules cgen: make `os` less special, fix an -autofree leak on just `import os` 2021-11-21 21:50:10 +02:00
printing_c_structs
prod
profile os: make chdir() return error 2021-08-28 09:35:39 +03:00
project_with_c_code
project_with_c_code_2
project_with_c_code_3 all: support overriding individual function from .v files in .c.v or .js.v files. 2021-08-22 15:51:26 +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
project_with_tests_for_main
reliability
repl readline: fix bug that full-width spaces are treated as eof (#12763) 2021-12-08 22:35:21 +02:00
run_project_folders v.gen.c: fix compiling `go f(x)` for `x` of the same struct in different .v files with parallel cgen 2021-10-06 22:12:21 +03:00
skip_unused markused: fix `-skip-unused` on programs with generic methods (fix #12306) 2021-10-27 17:22:26 +03:00
testdata transformer: only enable array optimisation with -prod (#12833) 2021-12-14 13:05:54 +02:00
tmpl parser, cgen: fix multiple comptime tmpl in one function (#12757) 2021-12-08 11:12:02 +03:00
valgrind tests: add a new `import_x_json2.v` skipped valgrind test 2021-11-28 18:36:05 +02:00
alias_array_operator_overloading_test.v
alias_basic_types_test.v all: fix casting of `string(MyString('abc'))` and `byte(MyByte(123))`; improve TypeSymbol handling (#12617) 2021-12-01 09:50:53 +02: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 cgen: fix initialization errors with fixed array aliases (#10784) 2021-07-13 10:51:54 +03:00
alias_fixed_array_test.v
alias_in_a_struct_field_autostr_test.v
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_sumtype_method_call_test.v table: fix alias of sumtype method_call (#11268) 2021-08-22 17:20:10 +03:00
aliased_array_operations_test.v
anon_fn_call_test.v
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
anon_fn_returning_question_test.v
anon_fn_test.v
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_optional_test.v
appending_to_mut_array_in_fn_param_test.v
array_access_optimisation_test.v transformer: only enable array optimisation with -prod (#12833) 2021-12-14 13:05:54 +02: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_cast_test.v
array_equality_test.v
array_init_test.v builtin: fix multiple array init (#10929) 2021-07-23 23:25:12 +03:00
array_map_or_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
array_map_ref_test.v
array_methods_test.v
array_nested_call_test.v cgen: fix nested array call (#11948) 2021-09-23 08:50:37 +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_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_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 cgen: fix array of threads wait (fix #12350) (#12378) 2021-11-04 14:24:58 +02:00
array_slice_test.v
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 parser: make [..] work (#11064) 2021-08-06 03:54:24 +03:00
array_to_string_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
array_type_alias_test.v
array_with_it_test.v cgen: fix error caused by fixed size array init syntax with variable it (#12314) 2021-10-28 02:20:49 +03:00
as_cast_already_smartcast_sumtype_test.v
as_cast_is_expr_sumtype_fn_result_test.v
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 v.gen.c: fix assert `f().len == 1` calling f() twice (closes issue 11501) 2021-09-16 19:01:35 +03:00
assert_sumtype_test.v
assert_with_newlines_test.v
assign_bitops_with_type_aliases_test.v
assign_map_value_of_fixed_array_test.v
attribute_test.v parser: support bool values in attributes (#12750) 2021-12-07 12:11:29 +03:00
autogen_free_test.v cgen: add gen_free_for_type_array/map() (#11530) 2021-09-18 15:18:32 +03:00
autolock_array1_test.v
autolock_array2_test.v
backtrace_test.v
blank_ident_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
break_in_lock_test.v
calling_module_functions_with_maps_of_arrays_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +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_byte_test.v
cast_to_interface_test.v
channels_test.v
clash_var_name_of_array_and_map_test.v cgen: fix var name clash of array/map (fix #1994) (#8765) 2021-02-15 15:51:57 +02:00
closure_test.v cgen: fix closure code gen with if statement in definition (#12028) 2021-10-01 16:52:34 +03:00
complex_assign_test.v
comptime_at_test.v
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
comptime_call_test.v
comptime_field_selector_test.v
comptime_for_in_field_selector_test.v cgen: fix order of comptime reflection fields (#12799) 2021-12-11 22:09:47 +02:00
comptime_for_method_call_test.v cgen: fix comptime for_in methods call using str_intp (#12746) 2021-12-07 12:12:12 +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 cgen: parallelize (#10844) 2021-09-28 10:28:04 +03:00
comptime_if_expr_test.v
comptime_if_expr_threads_test.v checker: fix comptime if expr of sync.threads (#12356) 2021-11-01 09:41:04 +02:00
comptime_if_is_interface_test.v checker: fix comptime if T is interface (#12365) 2021-11-02 09:35:01 +02:00
comptime_if_is_test.v
comptime_if_pkgconfig_test.v checker: add pkgconfig to comptime if (#10692) 2021-07-09 18:17:04 +03:00
comptime_if_test.v
comptime_if_threads_no_test.v
comptime_if_threads_yes_test.v
comptime_method_args_test.v
const_can_use_optionals_test.v
const_comptime_eval_before_vinit_test.v tests: add a regression test for the comptime evaluated consts, using a _constructor function 2021-07-30 20:33:08 +03:00
const_embed_test.v
const_eval_simple_int_expressions_at_comptime_test.v
const_init_order_test.v ci: vet all files from the compiler (#5994) 2020-07-27 12:15:29 +02: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_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 v.gen.c: fix codegen for `const a = u64(5) + 5` 2021-07-26 08:06:59 +03:00
const_test.v tests: fix failed consts test (it now works properly) 2021-07-19 01:18:39 +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
cross_assign_test.v cgen: fix infix ops, for cross assignments of types with overloaded operators (#12192) 2021-10-15 11:32:58 +03:00
cstrings_test.v
defer_return_test.v all: various fixes for [heap]/auto-heap handling (#10033) 2021-05-07 15:58:48 +03:00
defer_test.v checker: fix defer ident handling & fix defer optional error message (#10975) 2021-07-30 20:29:06 +03:00
differently_named_structs_test.v
double_ref_deref_test.v scanner: fix parsing multiple .amp 2020-06-13 00:01:44 +02:00
dump_fns_test.v cgen: fix `dump(x)` with `fn (x &Type) str() string {` 2021-11-20 13:12:03 +02:00
enum_array_field_test.v
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_default_value_in_struct_test.v
enum_hex_test.v
enum_test.v checker: allow infix expressions in enum declarations 2021-12-03 07:45:37 +03:00
failing_tests_test.v
filter_in_map_test.v
fixed_array_const_size_test.v checker: fix fixed array with const unint type size (fix #10826) (#10853) 2021-07-19 12:44:03 +03:00
fixed_array_init_test.v
fixed_array_of_fn_test.v
fixed_array_test.v
fixed_array_to_string_test.v
fn_assignment_test.v v.checker: allow assigning pointers to fn variables (fix vinix compilation) 2021-09-10 11:48:36 +03:00
fn_cross_assign_test.v
fn_expecting_ref_but_returning_struct_test.v
fn_expecting_ref_but_returning_struct_time_module_test.v
fn_high_test.v
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_multiple_returns_test.v cgen: fix multi-return in if/match exprs (#12139) 2021-10-11 02:45:01 +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_args_test.v cgen: fix fn mut args with interface type (#12012) 2021-09-29 13:54:23 +03:00
fn_return_fn_test.v
fn_shared_return_test.v
fn_test.v cgen: fix interface parameters in fn type aliases (#11247) 2021-08-20 01:12:31 +03:00
fn_type_aliases_test.v
fn_type_call_of_match_expr_test.v checker, cgen: fix fn type call of match expr (#12579) 2021-11-26 09:52:20 +02:00
fn_variadic_test.v
fn_with_fixed_array_function_args_test.v
for_c_multi_vars_test.v
for_in_alias_test.v checker: fix error of for_in alias (#10770) 2021-07-12 09:17:00 +03:00
for_in_containers_of_fixed_array_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
for_in_iterator_of_generic_struct_test.v checker, cgen: fix for in iterator of generic struct (#12441) 2021-11-12 14:29:01 +02:00
for_in_iterator_test.v
for_in_map_of_pointers_test.v cgen: fix codegen for `for k,v in map_of_pointers {` 2021-11-16 17:03:58 +02: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 checker, cgen: fix for_in_mut iterator val (#12563) 2021-11-24 14:43:37 +02: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 cgen: fix `for in` with mutable structs (#12368) 2021-11-02 18:40:13 +03:00
for_in_mut_val_test.v scanner: no longer allow `1.` float literals (#11301) 2021-08-25 14:39:37 +03:00
for_in_optional_test.v
for_label_continue_break_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
for_loops_2_test.v
for_loops_test.v checker: check invalid fn parameter name (#12540) 2021-11-22 16:51:58 +02:00
for_smartcast_test.v
for_t_fields_with_comptime_if_test.v checker: fix x.$(field.name) not working outside of $if (#12802) 2021-12-12 03:18:29 +02:00
generic_arrays_sum_test.v tests: supplement tests for different types of generic parameters (#12432) 2021-11-11 14:45:55 +02:00
generic_chan_test.v
generic_complex_sumtype_test.v parser: fix generic detection of `foo < bar<T>()` (#11434) 2021-09-08 05:54:15 +03:00
generic_fn_assign_generics_struct_test.v tests: supplement multi-instances generic testing (#11170) 2021-08-13 08:38:20 +03:00
generic_fn_infer_fixed_array_test.v
generic_fn_infer_map_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
generic_fn_infer_modifier_test.v tests: supplement tests for different types of generic parameters (#12432) 2021-11-11 14:45:55 +02:00
generic_fn_infer_multi_paras_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
generic_fn_infer_nested_generic_fn_test.v checker: fix generics fn infer nested generic fn (#12519) 2021-11-19 20:31:55 +02:00
generic_fn_infer_nested_struct_test.v
generic_fn_infer_struct_test.v
generic_fn_infer_test.v
generic_fn_infer_variadic_test.v checker: fix generic fn infer variadic parameter with arrays (#11324) 2021-08-28 10:32:51 +03:00
generic_fn_returning_type_with_T_test.v
generic_fn_typeof_name_test.v
generic_fn_upper_name_type_test.v
generic_fn_with_anon_fn_test.v cgen: fix generic fn with anon fn in body (#12647) 2021-12-02 10:53:42 +02:00
generic_functions_with_normal_function_test.v
generic_interface_test.v checker: add an interface check for mutability, fixes #1081, fixes #7038 (#11963) 2021-10-11 15:41:31 +03:00
generic_operator_overload_test.v checker, cgen: fix generic operator overload of 'cmp' (#11489) 2021-09-14 16:20:02 +03:00
generic_sumtype_insts_test.v table: fix generic sumtype instantiations (#12288) 2021-10-25 15:22:41 +03:00
generic_sumtype_method_test.v checker: fix generic sumtype method (#11565) 2021-09-21 16:19:43 +03:00
generic_sumtype_of_alias_generic_struct_test.v ast: fix generic sumtype of alias generic struct (#12611) 2021-11-29 15:12:00 +02:00
generic_sumtype_test.v v: initial support for generic interfaces and sumtypes (#10795) 2021-07-15 08:29:13 +03:00
generics_T_typ_test.v fmt: fix unnecessary line break in array init (fix #11448) (#11562) 2021-09-21 16:20:09 +03:00
generics_array_append_test.v tests: supplement tests for different types of generic parameters (#12432) 2021-11-11 14:45:55 +02:00
generics_array_delete_test.v tests: supplement tests for different types of generic parameters (#12432) 2021-11-11 14:45:55 +02:00
generics_array_map_with_generic_callback_test.v checker: fix generic array.map with generic callback fn (#11991) 2021-09-27 17:50:15 +03:00
generics_array_typedef_test.v cgen: fix error of generic array typedef (#10679) 2021-07-07 12:42:53 +03:00
generics_assign_reference_generic_struct_test.v checker: fix generic fn with assign reference generic struct (fix #10681) (#10695) 2021-07-08 16:50:25 +03:00
generics_call_with_reference_arg_test.v
generics_fn_return_generic_interface_test.v checker: add an interface check for mutability, fixes #1081, fixes #7038 (#11963) 2021-10-11 15:41:31 +03:00
generics_fn_return_types_with_generic_struct_test.v checker: fix generic fn return types with generic struct (#12186) 2021-10-15 11:50:10 +03:00
generics_in_big_struct_method_test.v
generics_in_generics_test.v
generics_indirect_test.v v.gen.c: fix cgen regression after f457b94 (prevented vinix builds), add tests 2021-07-25 23:31:23 +03:00
generics_interface_decl_test.v table: fix error of generics interface declaration (#10883) 2021-07-21 15:24:52 +03:00
generics_interface_method_test.v checker: add an interface check for mutability, fixes #1081, fixes #7038 (#11963) 2021-10-11 15:41:31 +03:00
generics_interface_with_multi_generic_structs_test.v checker: add an interface check for mutability, fixes #1081, fixes #7038 (#11963) 2021-10-11 15:41:31 +03:00
generics_interface_with_multi_generic_types_test.v checker: add an interface check for mutability, fixes #1081, fixes #7038 (#11963) 2021-10-11 15:41:31 +03:00
generics_map_with_generic_type_key_test.v checker, cgen: fix generic map with generic type key (#12859) 2021-12-16 09:53:05 +02:00
generics_method_on_alias_struct_receiver_test.v cgen: fix generic method on alias struct receiver (#11080) 2021-08-06 21:26:54 +03:00
generics_method_on_receiver_types_test.v tests: supplement tests for different types of generic parameters (#12432) 2021-11-11 14:45:55 +02:00
generics_method_str_overload_test.v tests: update generics_method_str_overload_test.v to return a generic type, instead of `Gen<G>`. (#12465) 2021-11-15 15:36:54 +02:00
generics_method_test.v
generics_method_with_multi_types_test.v parser: implement generics method with auto multi generic types (#12312) 2021-10-27 15:41:13 +03:00
generics_multi_array_in_test.v
generics_multi_type_comptime_call_test.v ast, checker, cgen: fix generics multiple type comptime call (fix #12777) (#12806) 2021-12-12 19:42:40 +02:00
generics_multi_types_struct_init_test.v
generics_nested_struct_init_test.v tests: supplement tests for different types of generic parameters (#12432) 2021-11-11 14:45:55 +02:00
generics_return_generics_struct_test.v v.checker: fix multi insts of generics fn with generic struct (#11161) 2021-08-12 22:58:02 +03:00
generics_return_inconsistent_types_generics_struct_test.v v.checker: fix multi insts of generics fn with generic struct (#11161) 2021-08-12 22:58:02 +03:00
generics_return_multi_array_test.v
generics_return_multiple_generics_struct_test.v all: fix formating Foo<A,B> to Foo<A, B> (#11225) 2021-08-18 17:17:21 +03:00
generics_return_recursive_generics_struct_test.v tests: supplement multi-instances generic testing (#11170) 2021-08-13 08:38:20 +03:00
generics_return_reference_generics_struct_test.v tests: supplement multi-instances generic testing (#11170) 2021-08-13 08:38:20 +03:00
generics_struct_anon_fn_fields_test.v tests: supplement multi-instances generic testing (#11170) 2021-08-13 08:38:20 +03:00
generics_struct_anon_fn_type_test.v
generics_struct_free_test.v cgen: fix generic struct free() (#12487) 2021-11-17 08:18:46 +03:00
generics_struct_init_test.v
generics_struct_to_string_test.v
generics_struct_with_array_test.v v.checker: fix multi insts of generics struct with array (#11142) 2021-08-11 16:59:13 +03:00
generics_struct_with_non_generic_interface_test.v checker: fix generic struct with non-generic interface in generic fn (#11252) 2021-08-20 09:28:26 +03:00
generics_test.v fmt: fix bug that adds unnecessary module name to generic types (#12758) 2021-12-08 22:33:58 +02:00
generics_with_anon_generics_fn_test.v all: fix formating Foo<A,B> to Foo<A, B> (#11225) 2021-08-18 17:17:21 +03:00
generics_with_assign_nested_generics_call_test.v checker: fix generics with assign nested generic fn call (#12366) 2021-11-02 10:12:26 +02:00
generics_with_cascaded_multiple_nested_generics_fn_test.v
generics_with_embed_generics_test.v tests: supplement multi-instances generic testing (#11170) 2021-08-13 08:38:20 +03:00
generics_with_fixed_array_type_test.v
generics_with_generics_fn_return_generics_fn_type_test.v
generics_with_generics_fn_type_parameter_test.v
generics_with_generics_struct_init_test.v v.checker: fix multi insts of generics fn with generic struct (#11161) 2021-08-12 22:58:02 +03:00
generics_with_generics_struct_receiver_test.v tests: supplement multi-instances generic testing (#11170) 2021-08-13 08:38:20 +03:00
generics_with_multi_generics_struct_types_test.v checker: fix generics with multi generic struct types (#10808) 2021-07-15 17:39:55 +03:00
generics_with_multiple_generics_struct_receiver_test.v all: fix formating Foo<A,B> to Foo<A, B> (#11225) 2021-08-18 17:17:21 +03:00
generics_with_nested_external_generics_fn_test.v
generics_with_nested_generic_struct_init_test.v
generics_with_nested_generics_fn_test.v
generics_with_recursive_generics_fn_test.v
generics_with_recursive_generics_struct_test.v
generics_with_variadic_generic_args_test.v v.checker: fix multi insts of generics fn with generic struct (#11161) 2021-08-12 22:58:02 +03:00
go_array_wait_test.v
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_generic_fn_test.v
go_call_interface_method_test.v
go_handle_for_functions_returning_array_test.v
go_wait_1_test.v
go_wait_2_test.v
go_wait_3_test.v
go_wait_option_test.v ci: reduce chance of spurious go_wait_option_test.v failures by retrying it 3 times 2021-09-20 10:32:40 +03:00
go_wait_with_fn_of_interface_para.v
goto_test.v checker: fix goto label with comptime tmpl (#12853) 2021-12-15 18:48:43 +02:00
heap_interface_test.v
heap_reference_test.v
heap_struct_test.v
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_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
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_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_struct_init_test.v v.parser: fix `if a == Abc{} {` (#11092) 2021-08-07 18:05:22 +03:00
if_expression_test.v checker: allow noreturn in if expr (#12462) 2021-11-15 10:29:58 +02:00
if_guard_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03: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
if_smartcast_nested_selector_exprs_test.v
if_smartcast_test.v
imported_symbols_test.v
in_expression_test.v cgen: fix `in` op usage on array of sumtypes without cast (#12141) 2021-10-11 14:17:04 +03:00
infix_expr_test.v
init_global_test.v os,net: cleanup deprecated @VROOT usages 2021-09-19 16:24:24 +03:00
init_multiple_branches_test.v cgen: fix struct init with multiple branches, fixes #11564 (#11570) 2021-09-22 00:46:07 +03:00
int_cmp_test.v
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_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 vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
interface_embedding_deep_nesting_test.v
interface_embedding_recursive_test.v
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
interface_equality_test.v cgen: implement eq operator for interfaces (#12047) 2021-10-03 09:04:05 +03:00
interface_fields_test.v
interface_fields_typearray_test.v
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_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
interface_runtime_conversions_test.v cgen: small interface conversion fix (#11229) 2021-08-18 13:47:57 +03:00
interface_str_method_test.v cgen: fix error of the interface str method (fix #12538) (#12620) 2021-11-30 15:03:44 +02:00
interface_struct_test.v
interface_test.v tests: test more edge cases for interfaces (#5292) 2021-11-26 11:10:03 +02:00
interface_variadic_test.v
interfaces_map_test.v
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
keep_args_alive_test.v tests: support `// vtest retry: 4` for marking flaky tests 2021-09-18 11:48:32 +03:00
keep_args_alive_test_c.h
local_test.v
lock_selector_test.v
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 vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
map_complex_fixed_array_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
map_enum_keys_test.v
map_equality_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
map_get_assign_blank_test.v cgen: fix the C codegen error for '_ = map[key]' (fix #11999) (#12000) 2021-09-28 18:45:50 +03:00
map_high_order_assign_test.v
map_init_with_enum_keys_test.v checker: fix map init with enum keys (#12637) 2021-12-01 18:11:50 +02: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
map_sumtype_values_test.v v.checker: fix spurious warning for `if x := map_of_sumtypes[k] {}` 2021-09-15 15:42:28 +03:00
map_to_string_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +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
maps_equal_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
match_compound_type_cond_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
match_error_to_none_test.v
match_expr_nested_test.v cgen: fix error of nested match expr (#12334) 2021-10-29 17:14:49 +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_if_or_match_expr_test.v
match_expr_with_one_branch_test.v
match_expr_with_promote_number_test.v checker: fix match expr type mismatch (#11220) 2021-08-18 08:52:01 +03:00
match_expression_for_types_test.v
match_expression_with_fn_names_in_branches_test.v
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
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
match_smartcast_test.v
match_sumtype_var_aggregate_test.v table, checker: fix sumtype array appending aggregate type values (fix #11197) (#11258) 2021-08-21 17:18:01 +03:00
match_sumtype_var_aggregate_var_str_test.v cgen: fix match sumtype var aggregate str_intp error (#12732) 2021-12-05 19:21:45 +02:00
match_sumtype_var_shadow_and_as_test.v
match_test.v checker: allow noreturn in match expr (#11126) 2021-08-29 11:57:11 +03:00
match_with_complex_exprs_in_branches_test.v
match_with_complex_sumtype_exprs_test.v
match_with_multi_sumtype_exprs_test.v
methods_on_interfaces_test.v
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
module_type_cast_test.v
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
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 cgen: fix multiple matches in one expr (#12516) 2021-11-19 13:52:28 +02: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
mut_receiver_returned_as_reference_test.v
mut_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
named_break_continue_test.v
nest_defer_fn_test.v
nested_anonfunc_and_for_break_test.v checker: fix regression of anon fns that have loops with break/continue 2021-07-25 10:46:31 +03:00
nested_map_test.v
nested_multiline_comments_test.v scanner: fix nested multiline comments (#10760) 2021-07-12 07:17:38 +03:00
nested_option_call_test.v
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
offsetof_test.v
operator_overloading_cmp_test.v
operator_overloading_with_string_interpolation_test.v
option_2_test.v
option_default_values_test.v
option_if_assign_and_fallthrough_test.v
option_if_expr_test.v
option_in_loop_test.v
option_print_errors_test.v
option_struct_init_test.v cgen: fix optional generation order (#11070) 2021-08-06 03:57:34 +03:00
option_test.v v.tests: add a test_ fn, that returns an optional (#11340) 2021-08-31 08:50:26 +03:00
option_void_test.v
optional_assign_test.v
orm_sub_array_struct_test.v orm: redesign orm (re-write it in V) (#10353) 2021-07-23 12:33:55 +03:00
orm_sub_struct_test.v
parser_line_test.v
pointer_arithmetic_test.v checker: disallow invalid pointer arithmetic (#10888) 2021-07-21 23:39:49 +03:00
pointers_multilevel_casts_test.v v.parser: eliminate PrefixExpr from `&Type(x).name` and `&Type(x)[idx]` too (fix vinix build) 2021-07-17 20:20:20 +03:00
pointers_str_test.v
pointers_test.v
prefix_expr_test.v
print_test.v
prod_test.v
projects_that_should_compile_test.v
ptr_arithmetic_test.v
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 cgen: fix `b := &[5, 6, 7]` (#11457) 2021-09-10 14:30:30 +03:00
ref_return_test.v
ref_struct_test.v
reference_return_test.v
reference_var_followed_block_expr.v parser: fix reference var followed by block expr (#11456) 2021-09-10 15:31:09 +03:00
repeated_multiret_values_test.v
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
retry_test.v tests: support `// vtest retry: 4` for marking flaky tests 2021-09-18 11:48:32 +03:00
return_in_lock_test.v
return_voidptr_test.v
reusable_mut_multiret_values_test.v
run_project_folders_test.v v.gen.c: fix compiling `go f(x)` for `x` of the same struct in different .v files with parallel cgen 2021-10-06 22:12:21 +03:00
run_v_code_from_stdin_test.v
semaphore_test.v
semaphore_timed_test.v tests: mark semaphore_timed_test.v with `vtest retry: 3` 2021-12-08 01:09:58 +02: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_test.v
shared_autolock_test.v cgen: parallelize (#10844) 2021-09-28 10:28:04 +03:00
shared_elem_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
shared_fn_return_test.v
shared_in_test.v cgen: fix `expr in shared_array` (#11319) 2021-08-27 11:48:32 +03:00
shared_lock_2_test.v
shared_lock_3_test.v
shared_lock_4_test.v
shared_lock_5_test.v
shared_lock_6_test.v
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 ci: temporarily deactivate test case for #11061 (fixes CI timeouts) (#11079) 2021-08-06 12:46:56 +03:00
shared_map_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
shared_unordered_mixed_test.v
shift_test.v
short_struct_param_syntax_test.v
sizeof_2_test.v
sizeof_test.v
sorting_by_different_criteria_test.v
sorting_by_references_test.v
static_arrays_using_const_for_size_test.v
static_vars_test.v
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 vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03: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 v.gen.c: fix error of `println(alias of struct)` (#11062) 2021-08-05 20:20:10 +03:00
string_alias_test.v
string_escape_backslash_test.v v.scanner: fix escaped backslash after string interpolation (#11118) 2021-08-10 17:04:42 +03:00
string_index_or_test.v
string_interpolation_alias_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
string_interpolation_array_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
string_interpolation_custom_str_test.v
string_interpolation_floats_test.v
string_interpolation_function_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
string_interpolation_multi_return_test.v
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
string_interpolation_shared_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
string_interpolation_string_args_test.v
string_interpolation_struct_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
string_interpolation_sumtype_test.v
string_interpolation_test.v
string_interpolation_variadic_test.v
string_struct_interpolation_test.v cgen: fix auto str for map of reference struct (fix #11024) (#11028) 2021-08-03 08:03:00 +03:00
strings_unicode_test.v
struct_allow_both_field_defaults_and_skip_flag_test.v
struct_auto_eq_gen_interface_test.v cgen: add interface case for gen_struct_equality_fn (#12094) 2021-10-08 19:04:24 +03:00
struct_chained_fields_correct_test.v
struct_child_field_default_test.v
struct_embed_test.v all: implement accessing embedded field and method of aggregate (#10907) 2021-07-23 01:14:39 +03:00
struct_eq_op_only_test.v
struct_equality_test.v
struct_field_default_value_interface_cast_test.v
struct_field_default_value_sumtype_cast_test.v
struct_fields_required_test.v
struct_fields_storing_functions_test.v
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_with_complex_fields_test.v cgen: fix embedded struct init with complex fields (#12831) 2021-12-14 14:55:58 +02:00
struct_init_with_fixed_array_field_test.v cgen: fix struct_init with fixed array field (#11099) 2021-08-08 10:54:52 +03:00
struct_init_with_interface_field_test.v cgen: fix struct init with interface field (#12820) 2021-12-13 12:55:46 +02:00
struct_map_method_test.v
struct_test.v all: support `mut volatile x := 123` declarations (#11940) 2021-09-22 13:06:30 +03:00
struct_transmute_test.v
structs_with_voidptr_fields_can_be_printed_test.v
sum_type_common_fields_test.v
sum_type_test.v vfmt: fmt '!(a in/is b)' to 'a !in/is b' (#11335) 2021-08-30 09:45:36 +03:00
sum_type_with_none_type_test.v cgen: fix sumtype with none type (fix #12101) (#12102) 2021-10-09 03:32:37 +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
sumtype_calls_test.v
sumtype_equality_test.v
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 vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
sumtype_str_test.v
supports__likely__test.v
testcase_leak.v
thread_to_string_test.v gen: implement `thread.str()` (#10820) 2021-07-17 11:19:28 +03:00
tmpl_test.v tmpl: fix $tmpl comptime operation only working in return statement (#11541) 2021-09-19 23:22:26 +03:00
type_alias_of_pointer_types_test.v
type_alias_str_method_override_test.v
type_alias_test.v
type_idx_test.v cgen: support `typeof(x).idx`, as well as `iface.type_idx()` (#11178) 2021-08-14 17:22:25 +03:00
type_name_in_if_test.v v.parser: fix generics type name in if_expr (#11156) 2021-08-12 10:19:06 +03:00
type_name_test.v
type_promotion_test.v
type_voidptr_test.v
typeof_simple_types_test.v
typeof_test.v
unreachable_code_paths_test.v
unsafe_test.v v test-self: check unsafe_test.v, match_test.v, match_in_fn_call_test.v with -cstrict 2021-07-20 19:34:16 +03:00
unsigned_right_shift_test.v all: add unsigned shift operators (#11536) 2021-09-21 14:02:17 +03:00
vargs_auto_str_method_and_println_test.v
vargs_empty_param_test.v
vargs_reference_param_test.v v.gen.c: fix fn variadic of reference param (#11115) 2021-08-10 10:36:11 +03:00
vmod_parser_test.v os: make chdir() return error 2021-08-28 09:35:39 +03:00
voidptr_to_u64_cast_a_test.v
voidptr_to_u64_cast_b_test.v
volatile_vars_test.v all: support `mut volatile x := 123` declarations (#11940) 2021-09-22 13:06:30 +03:00
vsh_envbang_test.v pref: allow running a .vsh script with just `v build.vsh gcc`, instead of `v run build.vsh gcc` (#12409) 2021-11-08 15:18:11 +02:00
working_with_an_empty_struct_test.v