v/vlib/v/tests
Delyan Angelov df8a4a03a0
tests: support `// vtest retry: 4` for marking flaky tests
2021-09-18 11:48:32 +03: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 all: gc: provide optimized mode (#9716) 2021-04-14 00:40:26 +02: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
field_publicity parser: embed always public and mutable (#7722) 2020-12-30 21:17:48 +02:00
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 escaping @ (#11452) 2021-09-09 20:27:24 +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 all: more chdir/chmod fixes 2021-08-28 12:52:48 +03: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 tests: fix warnings when doing `./v -W -progress -check-syntax test-fixed` 2020-10-26 14:41:57 +02:00
reliability sync: make `Semaphore.*wait()` robust against interrupts by signals (#10491) 2021-06-18 12:44:18 +03:00
repl builder: remove panics, when cleaning up tmp files after tests (#11525) 2021-09-17 20:56:33 +03:00
run_project_folders/issue_10023_multiple_anon_fns_with_same_position v.parser: add p.unique_prefix, add run_project_folders_test.v (closes #10023) 2021-05-06 21:14:19 +03:00
skip_unused v.markused: support a const used as default value in struct init 2021-08-31 15:55:32 +03:00
testdata ast: improve Expr.str() for `sizeof(Type)` and `__offsetof(StructName, fieldname)`, for more informative asserts/dumps 2021-06-12 16:49:14 +03:00
tmpl tmpl: fix doubling templates folder path and enhancements (#9029) 2021-03-01 11:15:59 +02:00
valgrind autofree: free references 2021-09-18 04:19:16 +03:00
alias_array_operator_overloading_test.v cgen: fix operator overloading for array/map aliases (#9529) 2021-03-30 11:39:54 +02:00
alias_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_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 tests: rename anon_fn_with_array_arguments.v to anon_fn_with_array_arguments_test.v (#10650) 2021-07-05 21:08:31 +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 cgen: fix `fn f(mut a []int) { a << [1,2] }` 2020-12-05 10:12:17 +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_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_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
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
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 cgen: encode newlines as \n in the assert meta information 2020-11-01 17:01:45 +02:00
assign_bitops_with_type_aliases_test.v checker: allow &=,|=,^=,%= on an integer number type aliases 2020-10-04 15:29:09 +03:00
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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
autogen_free_test.v checker, cgen: generate .free() methods for custom structs automatically (#11529) 2021-09-18 09:38:42 +03:00
autolock_array1_test.v time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
autolock_array2_test.v sync: don't force `Mutex` and `Semaphore` to be reference (#8331) 2021-01-29 20:52:14 +02:00
backtrace_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
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_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 all: initial support for closures (x64 / linux-only) (#11114) 2021-08-10 21:27:15 +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 gen: fix comptime attrs stmts (#10925) 2021-07-23 23:24:56 +03: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_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 Revert "gen: add type name to comp for (#10881)" 2021-07-21 23:56:00 +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_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 cgen: allow for `const ( x = opt() ? )` 2020-12-04 13:11:12 +02:00
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_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
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 vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +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(fn_name)` (closes #10912) 2021-07-23 12:24:12 +03:00
enum_array_field_test.v
enum_bitfield_test.v checker, cgen: allow | between bitfield enum values, autogenerate a more specific .str method for them too (#8856) 2021-02-20 21:51:54 +02: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 cgen: fix clash in generated variant and method names (#10581) 2021-06-27 19:05:32 +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 all: change `[1,2,3]!!` to `[1,2,3]!` (#8101) 2021-01-14 03:51:13 +01:00
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 tests: fix warnings when doing `./v -W -progress -check-syntax test-fixed` 2020-10-26 14:41:57 +02:00
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 `return if cond { x,y } else { a,b }` generation 2021-04-13 11:52:18 +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 vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +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 cgen: fix for `type FdfFn = fn(...) (x,y)` 2020-10-11 09:53:35 +03:00
fn_variadic_test.v parser: change array decompose syntax (#7965) 2021-01-09 22:48:23 +01:00
fn_with_fixed_array_function_args_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
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_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_mut_reference_selector_val_test.v cgen: fix for in mut reference selector val (fix #10524) (#10536) 2021-06-21 19:25:18 +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 vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
for_smartcast_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
generic_arrays_sum_test.v checker, cgen: fix generic arrays sum() (#11502) 2021-09-16 07:08:28 +03:00
generic_chan_test.v all: support generic `chan` (#8188) 2021-01-18 18:37:45 +01:00
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 fix: fix infering int and float literal in generic fn calls (#9287) 2021-03-14 15:00:47 +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_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_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 cgen: fix generating invalid Option decls for generic interfaces (#10817) 2021-07-15 22:15:25 +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_test.v v: initial support for generic interfaces and sumtypes (#10795) 2021-07-15 08:29:13 +03:00
generics_T_typ_test.v v.gen.c: support `T.typ` - an int for the type index of the generic type `T` (#11175) 2021-08-14 08:48:25 +03:00
generics_array_append_test.v checker: fix generic array append (#11475) 2021-09-12 15:09:11 +03:00
generics_array_delete_test.v v.gen.c: fix generics array delete (#11429) 2021-09-07 20:40:21 +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: fix generics fn selector expr with unexpected symbol (#10851) 2021-07-19 09:16:15 +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, cgen: fix generics interface method (#10858) 2021-07-19 13:29:46 +03:00
generics_interface_with_multi_generic_structs_test.v cgen: fix generics interface with multi generic structs (#10950) 2021-07-25 15:54:22 +03:00
generics_interface_with_multi_generic_types_test.v all: fix formating Foo<A,B> to Foo<A, B> (#11225) 2021-08-18 17:17:21 +03: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 parser: implement infering generic type parameters from receiver types (fix #5862) (#9870) 2021-04-26 10:56:08 +03:00
generics_method_test.v checker/gen: fix generic struct init (#8322) 2021-02-03 00:42:00 +11:00
generics_multi_array_in_test.v cgen: fix generics multi_array in (#9885) 2021-04-26 19:59:40 +03: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_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 generic: fix return multi array generic (fix #7727 #7753) (#7855) 2021-01-04 18:40:53 +02:00
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_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 scanner, fmt: fix multi-level generics (#11517) 2021-09-17 21:44:31 +03: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_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_call_generic_fn_test.v gen: fix go call with generic function (#8093) 2021-01-13 17:35:50 +02:00
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 sync: allow `go` routine join with return value (#8125) 2021-01-15 13:45:26 +01:00
go_wait_2_test.v time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
go_wait_3_test.v parser: fix parsing of `go` call expression (#8138) 2021-01-15 19:47:49 +02:00
go_wait_option_test.v all: support `thread` handles and `wait()` for functions returning optionals (#8990) 2021-02-27 10:16:55 +02: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 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
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
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_struct_init_test.v v.parser: fix `if a == Abc{} {` (#11092) 2021-08-07 18:05:22 +03:00
if_expression_test.v cgen: fix if_expr with array methods cond (#10786) 2021-07-13 19:51:49 +03: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 all: implement `if foo in [Foo1, Foo2, Foo3]` (#11486) 2021-09-14 15:56:12 +03:00
infix_expr_test.v gen: fix comparing signed int to u32/u64 (#7312) 2020-12-14 12:01:11 +02:00
init_global_test.v ci: add more details for diagnosing the sporadically failing init_global_test.v 2021-09-05 16:19:00 +03:00
int_cmp_test.v
integer_size_test.v builtin: add `.str` method for `i/usize` (#11441) 2021-09-08 13:41:08 +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 v: implement interface embedding (#9935) 2021-05-02 03:00:47 +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_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.v cgen: fix interface fn return with struct_init (#10675) 2021-07-06 10:14:13 +03: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_struct_test.v vfmt: fix string interpolation formatting with multiple ',",\' and \" . 2021-04-20 20:26:06 +03:00
interface_test.v cgen: fix `cannot take rvalue` error of interface (#10040) 2021-05-13 17:54:48 +03: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_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_key_expr_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
map_literals_method_call_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
map_mut_fn_test.v gen: fix mutable map generation (#7251) 2020-12-11 04:48:55 +01:00
map_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_returning_optional_test.v checker: fix match expr returning optional (#10281) 2021-05-31 12:34:55 +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 cgen: fix match_in_if_expression (#8407) 2021-01-29 14:51:17 +01:00
match_in_map_init_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
match_in_map_or_expr_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
match_interface_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
match_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_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
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
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 tests: add tests for continue/break in last statement of an `or{}` 2020-11-02 12:54:45 +02:00
option_print_errors_test.v 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 all: make eprint[ln] behave same as print[ln] (#7595) 2020-12-27 11:22:16 +01:00
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 scanner: fix single backslash in raw string (#10890) 2021-07-22 17:02:11 +03: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 checker: check reference return to be really reference (#7739) 2020-12-31 12:42:22 +01:00
ref_struct_test.v checker: support value array elements of `[heap]` type inside struct ref (#9899) 2021-04-28 07:47:00 +03:00
reference_return_test.v all: automatically move (some) referenced objects to heap (#9873) 2021-04-25 21:40:38 +03:00
reference_var_followed_block_expr.v parser: fix reference var followed by block expr (#11456) 2021-09-10 15:31:09 +03:00
repeated_multiret_values_test.v tests: fix warnings when doing `./v -W -progress -check-syntax test-fixed` 2020-10-26 14:41:57 +02:00
reserved_keywords_array_test.v checker: do now allow type name shadowing (#11401) 2021-09-05 18:34:21 +03:00
reserved_keywords_as_struct_field_test.v cgen: fix reserved keywords as struct field (#11370) 2021-09-03 12:18:45 +03:00
reserved_keywords_can_be_escaped_with_at_test.v gen: fix C keyword escape to _v_ instead of just v_ (#10876) 2021-07-21 11:46:04 +03:00
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 tests: fix warnings when doing `./v -W -progress -check-syntax test-fixed` 2020-10-26 14:41:57 +02:00
run_project_folders_test.v all: more chdir/chmod fixes 2021-08-28 12:52:48 +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 sync: don't force `Mutex` and `Semaphore` to be reference (#8331) 2021-01-29 20:52:14 +02:00
semaphore_timed_test.v parser: deprecate short struct init (#10842) 2021-07-20 11:17:08 +03:00
shared_arg_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
shared_array_test.v time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
shared_autolock_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +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 tests: fix warnings when doing `./v -W -progress -check-syntax test-fixed` 2020-10-26 14:41:57 +02:00
static_vars_test.v fmt: fix support for `mut static x := 42` 2021-02-28 19:40:21 +02:00
str_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
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 Alias string compare (#7364) 2020-12-16 21:40:56 +02:00
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 interpolation: support '' (rounding like in C) 2020-10-16 17:28:11 +03:00
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 gen: fix interpolation variadic (#7059) 2020-12-01 12:40:38 +02:00
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_chained_fields_correct_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
struct_child_field_default_test.v cgen: fix child struct's default values not assigned (#8202) 2021-01-19 17:10:22 +01:00
struct_embed_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 checker: fix `instance.cb_field(mut arg)` 2021-01-15 20:28:42 +02:00
struct_ierror_test.v checker: force interface init (#10910) 2021-07-30 03:18:20 +03:00
struct_init_and_assign_test.v parser: fix struct init and assign using `sql` variable (#10968) 2021-07-26 21:14:31 +03:00
struct_init_with_fixed_array_field_test.v cgen: fix struct_init with fixed array field (#11099) 2021-08-08 10:54:52 +03:00
struct_map_method_test.v checker: allow `map` method name (#7834) 2021-01-03 16:57:29 +01:00
struct_test.v checker: require `params` attribute to use struct as keyword arguments in function (#11135) 2021-09-14 00:05: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
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 parser: warn about old use of `typeof` (#7923) 2021-01-07 20:32:02 +01:00
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 vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +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 all: change `[1,2,3]!!` to `[1,2,3]!` (#8101) 2021-01-14 03:51:13 +01:00
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
vargs_auto_str_method_and_println_test.v all: make eprint[ln] behave same as print[ln] (#7595) 2020-12-27 11:22:16 +01:00
vargs_empty_param_test.v all: bring back `panic(err.msg)` -> `panic(err)` (#9022) 2021-03-01 00:18:14 +01:00
vargs_reference_param_test.v 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
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