v/vlib/v/tests
yuyi f26626117d
cgen: fix match struct type cond (#10421)
2021-06-11 11:58:25 +03:00
..
assembly cgen: support a `[_naked]` fn attribute (#10418) 2021-06-11 11:03:39 +03:00
bench all: gc: provide optimized mode (#9716) 2021-04-14 00:40:26 +02: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 cgen: fix using and auto printing `x := [16]&Type{}` 2021-05-20 15:59:02 +03:00
interface_edge_cases tests: add interface_many_named_test.v regression test (closes #10013) 2021-05-06 19:54:49 +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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +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: deprecate os.exec (returning ?os.Result), in favour of os.execute, which returns os.Result (#8974) 2021-03-08 20:52:13 +02: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_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
repl v: skip asserts in -prod mode inside non _test.v files 2021-04-13 13:07:57 +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 all: improve -skip-unused, track consts, walk all AST nodes, support tests 2021-02-07 02:51:45 +02:00
testdata checker: fix enums in builtin (#10366) 2021-06-06 16:27:46 +03:00
tmpl tmpl: fix doubling templates folder path and enhancements (#9029) 2021-03-01 11:15:59 +02:00
valgrind v.parser: fix -autofree for script mode programs that do not have explicit `fn main(){}` 2021-05-24 14:42:09 +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 cgen: write alias typedefs just before interfaces (#10272) 2021-05-31 12:26:06 +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 cgen: fix operator overloading for array/map aliases (#9529) 2021-03-30 11:39:54 +02: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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02: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.v parser: fix anon_fn with array arguments (#9414) 2021-03-22 03:22:29 +01: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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02: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 ci: fix all `-cstrict` warnings with gcc and clang (#9792) 2021-04-19 15:38:48 +03:00
array_map_or_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02: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_slice_test.v docs: describe array/slice behaviour (#10252) 2021-05-30 14:48:33 +03:00
array_test.v gen: fix `for ... in array` (#8428) 2021-01-30 12:27:11 +01:00
array_to_string_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
array_type_alias_test.v checker/cgen: allow `<<` operator for aliases (#8561) 2021-02-08 01:41:47 +01: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_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
attribute_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02: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 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
break_in_lock_test.v parser: add support for flags in asm output constraints (#10103) 2021-05-14 12:01:15 +03:00
calling_module_functions_with_maps_of_arrays_test.v v.parser: add a test for db46ad5 2021-03-18 11:31:17 +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
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 v: support `$for attr in Test.attributes` (#9836) 2021-04-25 18:29:26 +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_test.v cgen: scope `$for` fields/methods independently (#9017) 2021-03-01 01:01:56 +01: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_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_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 ci: vet all files from the compiler (#5994) 2020-07-27 12:15:29 +02:00
const_test.v cgen: fix constants with multi-statement C initializations (#10058) 2021-05-09 03:25:44 +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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02: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 all: allow defer use from other scope (#10284) 2021-05-31 14:43:44 +03:00
differently_named_structs_test.v tests: fix some warnings in preparation for `-W test-self` 2021-01-31 11:05:17 +02:00
double_ref_deref_test.v scanner: fix parsing multiple .amp 2020-06-13 00:01:44 +02:00
enum_array_field_test.v ci: vet all files from the compiler (#5994) 2020-07-27 12:15:29 +02:00
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 io: remove unused Zzz_CoerceInterfaceTableGeneration struct; add test for `x := Enum{}` 2021-02-17 01:37:05 +02:00
failing_tests_test.v tests: add vlib/v/tests/failing_tests_test.v, support `testdata` in `v test-self` too 2021-06-03 00:32:09 +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 parser: fix fixed array using const size (fix #8144) (#8161) 2021-01-18 06:03:03 +01: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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02: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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02: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_args_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
fn_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 C error with clang, when declaring a fn type with an alias type argument (#10297) 2021-06-01 12:37:27 +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_containers_of_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
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_val_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_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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
for_loops_2_test.v parser: disallow match expr at certain places (#6490) 2020-10-03 16:30:58 +03:00
for_loops_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +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
generic_chan_test.v all: support generic `chan` (#8188) 2021-01-18 18:37:45 +01:00
generic_fn_assign_generics_struct_test.v checker: fix generics with assign generics struct (fix #7784) (#9889) 2021-04-26 19:54:22 +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_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_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_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 parser: fix generic fn typeof name (#10363) 2021-06-06 17:40:13 +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
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_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_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 checker: check or block inside println calls (#10354) 2021-06-05 23:01:58 +03:00
generics_return_inconsistent_types_generics_struct_test.v tests: add more generic structs tests (#10095) 2021-05-14 01:57:55 +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 checker: fix generics that return multi generics struct (#9852) 2021-04-23 11:19:16 +03:00
generics_return_recursive_generics_struct_test.v checker: fix generics return recursive generic struct (fix #10028) (#10031) 2021-05-08 14:33:09 +03:00
generics_return_reference_generics_struct_test.v checker: fix generics that return reference generics struct (fix #6218) (#9869) 2021-04-26 20:01:01 +03:00
generics_struct_anon_fn_fields_test.v table: fix generics struct with anon fn fields (#10024) 2021-05-06 20:24:08 +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_test.v tests: enable test_generic_fn_with_variadics() test (#9944) 2021-05-01 12:52:47 +03:00
generics_with_anon_generics_fn_test.v checker: fix type error in `f<T>(fn (v T))` with multiple different Ts (#10154) 2021-05-21 06:13:04 +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 parser: implement infering generic type parameters from receiver types (fix #5862) (#9870) 2021-04-26 10:56:08 +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 checker: fix generic structs init (#10134) 2021-05-20 09:18:51 +03:00
generics_with_generics_struct_receiver_test.v parser: implement infering generic type parameters from receiver types (fix #5862) (#9870) 2021-04-26 10:56:08 +03:00
generics_with_multiple_generics_struct_receiver_test.v parser: implement infering generic type parameters from receiver types (fix #5862) (#9870) 2021-04-26 10:56:08 +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_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
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_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
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_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: various fixes for [heap]/auto-heap handling (#10033) 2021-05-07 15:58:48 +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_expression_test.v checker: correct type check for generic function with ternary if return (#9296) 2021-03-14 19:01:32 +02:00
if_guard_test.v cgen: fix blank identifier in IfGard (`if _ := <-ch { ... }`, etc) (#9650) 2021-04-09 17:18:36 +02: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 parser: set is_public of TypeSymbol for fn type decl (#10212) 2021-05-27 10:17:08 +03:00
in_expression_test.v checker/cgen: implement in expression for alias of array/map (#9871) 2021-04-25 18:17:54 +03:00
infix_expr_test.v gen: fix comparing signed int to u32/u64 (#7312) 2020-12-14 12:01:11 +02:00
int_cmp_test.v cgen: fix unsigned/signed integer comparisons 2020-06-17 02:54:27 +02:00
interface_auto_str_gen_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02: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_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_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 checker: disallow assigning number to pointer (#7267) 2020-12-12 10:42:07 +01:00
keep_args_alive_test.v v: deprecate `@VROOT` in favour of `@VMODROOT` (#9795) 2021-04-19 19:01:47 +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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
map_and_array_with_fns_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
map_complex_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
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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02: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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
map_mut_fn_test.v gen: fix mutable map generation (#7251) 2020-12-11 04:48:55 +01:00
map_to_string_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
map_type_alias_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02: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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
match_compound_type_cond_test.v cgen: fix match struct type cond (#10421) 2021-06-11 11:58:25 +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_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 cgen: fix error of match in fn_call (#8900) 2021-02-23 09:53:07 +02: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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
match_in_map_or_expr_test .v cgen: fix match in map or expr (#10283) 2021-05-31 17:10:33 +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_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 parser: handle casts in match expressions; c2v: minor fixes 2021-05-28 17:59:43 +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
method_call_chain_test.v all: various fixes for [heap]/auto-heap handling (#10033) 2021-05-07 15:58:48 +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
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_test.v cgen: fix swap assign of prefix and postfix expr 2020-05-28 02:22:09 +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 all: automatically move (some) referenced objects to heap (#9873) 2021-04-25 21:40:38 +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_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_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 float: make default string representations for floats become alike 2020-06-18 22:33:41 +02:00
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 cgen: else if guard (#5822) 2020-07-14 17:19:55 +02:00
option_if_expr_test.v checker, cgen: fix optional with if expr (#10242) 2021-05-29 10:00:12 +03:00
option_in_loop_test.v tests: add tests for continue/break in last statement of an `or{}` 2020-11-02 12:54:45 +02:00
option_print_errors_test.v tests: fix option_print_errors_test.v (#9616) 2021-04-08 08:46:08 +03:00
option_test.v all: various fixes for [heap]/auto-heap handling (#10033) 2021-05-07 15:58:48 +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: fix multi substructs (#9941) 2021-05-04 12:35:18 +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 parser: require `(` on same line as name token for fn call or cast (#6160) 2020-08-19 02:37:17 +02:00
pointers_str_test.v all: fix struct names error 2020-05-27 19:12:34 +03:00
pointers_test.v tests: another pointer struct test 2021-01-20 09:24:12 +01: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
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
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_can_be_escaped_with_at_test.v v.gen.c: ensure that @continue is escaped in the generated C code 2021-02-26 10:22:35 +02:00
return_in_lock_test.v parser: add support for flags in asm output constraints (#10103) 2021-05-14 12:01:15 +03:00
return_voidptr_test.v ci: vet all files from the compiler (#5994) 2020-07-27 12:15:29 +02:00
reusable_mut_multiret_values_test.v tests: fix warnings when doing `./v -W -progress -check-syntax test-fixed` 2020-10-26 14:41:57 +02:00
run_project_folders_test.v v.parser: add p.unique_prefix, add run_project_folders_test.v (closes #10023) 2021-05-06 21:14:19 +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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
shared_arg_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
shared_array_test.v time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
shared_autolock_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
shared_elem_test.v checker/cgen: auto initialize `shared` elements of structs (#9669) 2021-04-11 10:30:23 +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_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 checker/cgen: fix `v := rlock m { m[key] or { default_val } }` (#9666) 2021-04-10 16:57:18 +02:00
shared_lock_test.v time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
shared_map_test.v parser: fix handling of `-` inside array literals (#9771) 2021-04-17 02:37:17 +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 parser: require assign on type alias (#6477) 2020-09-25 12:02:32 +02:00
short_struct_param_syntax_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
sizeof_2_test.v checker, cgen: fix call of generic function returning normal type (#5865) 2020-07-17 18:28:45 +02:00
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_gen_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
string_alias_test.v Alias string compare (#7364) 2020-12-16 21:40:56 +02:00
string_interpolation_alias_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_array_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_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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02: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_of_array_of_structs_test.v checker: default field fixes 2020-09-09 14:05:56 +02:00
string_interpolation_shared_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_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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
string_interpolation_test.v all: new string interpolation in pure V (#10181) 2021-05-24 05:20:45 +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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02: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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02: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_storing_functions_test.v checker: fix `instance.cb_field(mut arg)` 2021-01-15 20:28:42 +02:00
struct_fields_storing_required_functions_test.v parser: fix required function members in struct (#10299) 2021-06-03 02:55:58 +03:00
struct_map_method_test.v checker: allow `map` method name (#7834) 2021-01-03 16:57:29 +01:00
struct_test.v all: various fixes for [heap]/auto-heap handling (#10033) 2021-05-07 15:58:48 +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
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 fmt: remove trailing space in comments (#9620) 2021-04-07 15:25:11 +02: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 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
sumtype_literal_test.v checker, cgen: allow using literals as `int` and `f64` for sum types (#7864) 2021-01-04 20:48:13 +02:00
sumtype_str_for_subtypes_with_str_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02: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
tmpl_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02: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 parser: require assign on type alias (#6477) 2020-09-25 12:02:32 +02:00
type_alias_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02: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
unsafe_test.v v.checker: fix `unused variable` warning on `*p = val` 2021-05-12 18:03:01 +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
vmod_parser_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_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