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 cgen: fix unknown labels in addressing (#10503) 2021-06-18 13:03:38 +03:00
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 v: deprecate `@VROOT` in favour of `@VMODROOT` (#9795) 2021-04-19 19:01:47 +03:00
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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
modules cgen: write alias typedefs just before interfaces (#10272) 2021-05-31 12:26:06 +03:00
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 v: deprecate `@VROOT` in favour of `@VMODROOT` (#9795) 2021-04-19 19:01:47 +03:00
prod v: skip asserts in -prod mode inside non _test.v files 2021-04-13 13:07:57 +03:00
profile os: make chdir() return error 2021-08-28 09:35:39 +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 v: deprecate `@VROOT` in favour of `@VMODROOT` (#9795) 2021-04-19 19:01:47 +03:00
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 fmt: remove trailing space in comments (#9620) 2021-04-07 15:25:11 +02:00
project_with_tests_for_main
reliability sync: make `Semaphore.*wait()` robust against interrupts by signals (#10491) 2021-06-18 12:44:18 +03:00
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 cgen: fix operator overloading for array/map aliases (#9529) 2021-03-30 11:39:54 +02:00
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 cgen: fix the alias of fixed_array (fix #9537) (#9544) 2021-03-31 18:51:03 +02:00
alias_in_a_struct_field_autostr_test.v cgen: make .alias fields in structs use their proper string format, instead of the default %d (#9197) 2021-03-08 23:36:59 +02: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_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 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_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 cgen: fix anon_fn redefinition (#8961) 2021-02-25 12:16:35 +01:00
anon_fn_returning_question_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_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_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 cgen: fix empty struct initilization (#10651) 2021-07-03 20:11:56 +03:00
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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02: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_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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
array_methods_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
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 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 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 checker/cgen: allow `<<` operator for aliases (#8561) 2021-02-08 01:41:47 +01:00
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 tests: add as_cast_already_smartcast_sumtype_test.v (#10517) 2021-06-19 18:50:09 +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 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 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
assign_bitops_with_type_aliases_test.v
assign_map_value_of_fixed_array_test.v cgen: fix assigning literal fixed arrays to map values (#10525) 2021-06-20 13:36:01 +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: add gen_free_for_type_array/map() (#11530) 2021-09-18 15:18:32 +03:00
autolock_array1_test.v time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
autolock_array2_test.v
backtrace_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
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 tests: bump up sleep times in break_in_lock_test.v, so that its results are stabler 2021-06-23 14:14:53 +03:00
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 checker: allow casting bool to byte (#9676) 2021-04-11 13:24:24 +03:00
cast_to_interface_test.v cgen: fix type casts to interfaces (#8476) 2021-01-31 19:24:33 +02:00
channels_test.v ci: fix failing `v -cstrict vlib/v/tests/channels_test.v` 2021-06-01 16:48:49 +03:00
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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
comptime_at_test.v parser,checker: support @METHOD, replaced by 'ReceiverType.MethodName' 2021-02-05 16:32:43 +02: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
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_field_selector_test.v parser: add warning for s.$field.name without brackets (#8411) 2021-01-30 12:56:10 +01:00
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 checker: do not allow direct initialization of builtin types (s := string{}) 2021-03-13 18:20:46 +03:00
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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +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 v: support for `$if threads {}, depending on whether `go ` was used at all (#10227) 2021-05-27 18:36:07 +03: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
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 ci: use a smaller fixed size array for the const eval test (fixes failing windows job) 2021-03-10 10:40:41 +02:00
const_init_order_test.v
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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
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 checker: deprecate using V strings in C function calls (#10140) 2021-05-20 09:17:44 +03:00
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 tests: fix some warnings in preparation for `-W test-self` 2021-01-31 11:05:17 +02:00
double_ref_deref_test.v
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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
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 ast: improve Expr.str() for `sizeof(Type)` and `__offsetof(StructName, fieldname)`, for more informative asserts/dumps 2021-06-12 16:49:14 +03: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
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 cgen: fix fixed array of function (#8490) 2021-02-01 14:50:10 +01: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
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 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 all: a massive merge of ast and table modules 2021-04-02 01:57:09 +03:00
fn_expecting_ref_but_returning_struct_time_module_test.v
fn_high_test.v fmt: keep names of parameters in anonymus function (#10173) 2021-05-23 05:54:39 +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_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 v.parser: allow anonymous function to return a function (#10592) 2021-06-28 11:51:24 +03:00
fn_shared_return_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
for_c_multi_vars_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_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 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 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 cgen: fix or_block in for declaration (#10317) 2021-06-03 01:18:52 +03:00
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 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 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 table, checker, cgen: implement generic fn infering fixed array (#10352) 2021-06-06 01:11:08 +03:00
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 checker: fix generic fn infer nested struct (#10262) 2021-05-30 14:06:52 +03:00
generic_fn_infer_struct_test.v checker: fix generics fn inferred structure type (fix #10093) (#10096) 2021-05-15 12:58:33 +03:00
generic_fn_infer_test.v fix: fix infering int and float literal in generic fn calls (#9287) 2021-03-14 15:00:47 +02:00
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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
generic_fn_typeof_name_test.v cgen: fix generic method receiver typeof name error (#10469) 2021-06-16 04:03:50 +03:00
generic_fn_upper_name_type_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
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 all: various fixes for [heap]/auto-heap handling (#10033) 2021-05-07 15:58:48 +03:00
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 checker: fix generics in big_struct (fix #9373) (#9383) 2021-03-20 17:29:13 +01:00
generics_in_generics_test.v checker: prevent double module name prepending on generics types regi… (#9791) 2021-04-18 16:26:40 +03:00
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 checker/gen: fix generic struct init (#8322) 2021-02-03 00:42:00 +11:00
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 cgen: fix generics multi_array in (#9885) 2021-04-26 19:59:40 +03:00
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 checker: fix multi types generic struct init (#10201) 2021-05-25 19:51:55 +03:00
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 checker: fix inferring method receiver types (#10166) 2021-05-22 11:04:19 +03:00
generics_struct_free_test.v cgen: fix generic struct free() (#12487) 2021-11-17 08:18:46 +03:00
generics_struct_init_test.v cgen: fix generics struct_init (#9661) 2021-04-10 17:33:15 +03:00
generics_struct_to_string_test.v cgen: fix generic struct to string (#10191) 2021-05-25 07:45:54 +03:00
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 checker: fix generics with cascaded multi nested generic fn (fix #3815) (#9965) 2021-05-02 19:30:57 +03:00
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 Revert "checker: check generic type indexing error (#10345)" 2021-06-09 11:46:17 +03:00
generics_with_generics_fn_return_generics_fn_type_test.v checker: fix generics with generic anon fn parameter (#10101) 2021-05-14 12:01:57 +03:00
generics_with_generics_fn_type_parameter_test.v Revert "Revert "cgen: fix generics with generics fn type parameter (#10078)"" 2021-05-11 11:14:58 +03:00
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 checker: fix generics with nested external generics fn (#9933) 2021-04-29 17:37:54 +03:00
generics_with_nested_generic_struct_init_test.v checker: fix nested generic struct init (fix #10652) (#10659) 2021-07-04 18:37:31 +03:00
generics_with_nested_generics_fn_test.v cgen: fix empty struct init using macro (#9787) 2021-04-18 16:34:25 +03:00
generics_with_recursive_generics_fn_test.v tests: add recursive generics fn test (#9907) 2021-04-28 22:12:06 +03:00
generics_with_recursive_generics_struct_test.v table,checker,cgen: fix generics with recursive generics struct (#9862) 2021-04-26 20:05:10 +03:00
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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02: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_generic_fn_test.v
go_call_interface_method_test.v cgen: fix go call interface method (fix #10520) (#10602) 2021-06-29 11:16:15 +03:00
go_handle_for_functions_returning_array_test.v tests: add a regression test for 3d2afcf 2021-02-09 14:11:09 +02:00
go_wait_1_test.v
go_wait_2_test.v time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
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 cgen: fix `go fn(mut x Interface){ println(x) }(x)` (#10585) 2021-06-28 16:31:11 +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 all: various fixes for [heap]/auto-heap handling (#10033) 2021-05-07 15:58:48 +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_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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +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_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 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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02: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 `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 v: implement interface embedding (#9935) 2021-05-02 03:00:47 +03:00
interface_embedding_recursive_test.v v: implement interface embedding (#9935) 2021-05-02 03:00:47 +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 cgen: fix calling function-pointer fields on interfaces (#9948) 2021-05-01 16:45:53 +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_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 cgen: fix interface only declare with optional method (#10546) 2021-06-23 15:14:08 +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 cgen: fix error of the interface str method (fix #12538) (#12620) 2021-11-30 15:03:44 +02:00
interface_struct_test.v vfmt: fix string interpolation formatting with multiple ',",\' and \" . 2021-04-20 20:26:06 +03:00
interface_test.v tests: test more edge cases for interfaces (#5292) 2021-11-26 11:10:03 +02:00
interface_variadic_test.v checker: fix calling functions with variadic interface parameters (#10052) 2021-05-08 22:26:13 +03:00
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 all: new function `isreftype(T)` to know if `T` contains pointers (#10438) 2021-06-13 06:26:13 +03:00
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 ci: fix all `-cstrict` warnings with gcc and clang (#9792) 2021-04-19 15:38:48 +03:00
local_test.v
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 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 v.parser: support imported enums as map keys (#10234) 2021-05-28 20:09:03 +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_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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
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 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
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 checker: fix match error to none (#10245) 2021-05-29 19:30:57 +03:00
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 checker: fix match expr with if expr (fix #10177 #10178) (#10179) 2021-05-23 17:59:57 +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_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 fmt: remove trailing space in comments (#9620) 2021-04-07 15:25:11 +02: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
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_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 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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
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 cgen: fix match expression with complex boolean conditions 2021-03-12 19:55:33 +02: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_on_interfaces_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02: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
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 ci: fix multiret_with_ptrtype_test.v 2021-04-05 08:31:20 +03:00
mut_receiver_returned_as_reference_test.v all: various fixes for [heap]/auto-heap handling (#10033) 2021-05-07 15:58:48 +03:00
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 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 checker: fix regression of anon fns that have loops with break/continue 2021-07-25 10:46:31 +03:00
nested_map_test.v parser,gen: fix `arr << map[key] using map_get_and_set_1, leading to double free 2021-02-16 16:39:31 +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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02: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
offsetof_test.v ci: fix more of byteptr=> &byte, vfmt check_types.v 2021-04-05 07:27:26 +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_with_string_interpolation_test.v ci: fix all `-cstrict` warnings with gcc and clang (#9792) 2021-04-19 15:38:48 +03:00
option_2_test.v cgen: fix accessing fields in propagated optional subexpressions (#10136) 2021-05-19 21:28:17 +03:00
option_default_values_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
option_if_assign_and_fallthrough_test.v
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
option_print_errors_test.v tests: fix option_print_errors_test.v (#9616) 2021-04-08 08:46:08 +03:00
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 all: migrate to the new Option (p. 1) (#8924) 2021-02-28 22:24:29 +03:00
optional_assign_test.v all: support `?Type(none)` (#9567) 2021-04-02 16:34:48 +02:00
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 orm: add support for custom table names & custom field names (#9697) 2021-04-15 10:53:43 +03:00
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 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_test.v
prod_test.v all: update repo to use the new error handling syntax (#8950) 2021-02-28 23:20:21 +03:00
projects_that_should_compile_test.v checker: fix enums in builtin (#10366) 2021-06-06 16:27:46 +03:00
ptr_arithmetic_test.v all: automatically move (some) referenced objects to heap (#9873) 2021-04-25 21:40:38 +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 cgen: fix `b := &[5, 6, 7]` (#11457) 2021-09-10 14:30:30 +03:00
ref_return_test.v
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.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 all: promote value type function arguments to heap if necessary (#10528) 2021-06-20 18:40:24 +03:00
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 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
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 time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
shared_in_test.v cgen: fix `expr in shared_array` (#11319) 2021-08-27 11:48:32 +03:00
shared_lock_2_test.v time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
shared_lock_3_test.v time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
shared_lock_4_test.v time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
shared_lock_5_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
shared_lock_6_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02: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 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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
shift_test.v
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
sizeof_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_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
static_arrays_using_const_for_size_test.v
static_vars_test.v fmt: fix support for `mut static x := 42` 2021-02-28 19:40:21 +02: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 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 cgen: enable string index error handling `s[i] or {...}` (#10670) 2021-07-05 21:00:30 +03:00
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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02: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
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 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 vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
string_interpolation_sumtype_test.v cgen: fix auto str for sumtype with alias (#10599) 2021-06-28 14:17:00 +03:00
string_interpolation_test.v v.fmt: keep comments after struct embeds 2021-06-18 18:42:05 +03:00
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 v.scanner: decode \uXXXX in scanner (#9298) 2021-03-14 12:09:17 +02: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: add interface case for gen_struct_equality_fn (#12094) 2021-10-08 19:04:24 +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
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 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_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
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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
structs_with_voidptr_fields_can_be_printed_test.v v.c.gen: fix codegen of auto str methods for structs having &voidptr fields 2021-06-28 10:05:42 +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: 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 checker: fix sumtype assign error (fix #7988) (#8655) 2021-02-10 10:59:56 +01: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 vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
sumtype_str_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
supports__likely__test.v
testcase_leak.v gc: add `-gc boehm_leak` for leak detection (#9464) 2021-03-25 16:52:33 +01:00
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 parser: allow passing `mut a AliasOfPointerType` 2021-03-26 13:38:16 +02:00
type_alias_str_method_override_test.v
type_alias_test.v ast: make is_int() work with aliases 2021-06-12 14:35:38 +03:00
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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +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: automatically move (some) referenced objects to heap (#9873) 2021-04-25 21:40:38 +03:00
typeof_simple_types_test.v tests: fix some warnings in preparation for `-W test-self` 2021-01-31 11:05:17 +02:00
typeof_test.v
unreachable_code_paths_test.v cgen: fix VUNREACHABLE inside ternary (#10672) 2021-07-05 18:26:01 +03:00
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 all: bring back `panic(err.msg)` -> `panic(err)` (#9022) 2021-03-01 00:18:14 +01:00
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 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 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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00