v/vlib/v/tests
yuyi e9a8f5fcc7
cgen: fix ref_struct.str() with null pointer (#14836)
2022-06-23 08:35:21 +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 all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
bench fmt: fix fmt error of anon fn with if expr (fix #14393) (#14413) 2022-05-16 09:48:21 +03:00
c_function_mut_param ci: fix code_test.v 2022-04-15 21:20:03 +03:00
c_struct_free cgen: don't change field name of c structs (#10894) 2021-07-22 01:37:49 +03:00
cflags v: deprecate `@VROOT` in favour of `@VMODROOT` (#9795) 2021-04-19 19:01:47 +03:00
create_dll vfmt: stabilise the attribute sorting order (sort first by length of atributes, then in alphabetical order of their names) 2022-04-14 14:53:45 +03:00
crun_mode ci: make crun_test.v more robust by reducing the tested gap from 5x to 4x 2022-06-11 18:44:02 +03:00
defer cgen: fix use of C reserved words inside `defer` statement (fix #14101) (#14211) 2022-04-29 08:04:59 +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 parser: fix comptime if script mode (fix #6419) (#14578) 2022-06-01 13:27:27 +03:00
interface_edge_cases checker: disallow `mut_ptr = &immutable_var` (#13814) 2022-03-24 20:43:25 +02:00
known_errors fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +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: fix struct type dependency sorting, when struct field types, are aliases to struct types from other modules (#13779) 2022-03-20 20:23:48 +02:00
multiple_paths_in_vmodules os: add os.quoted_path/1, use it consistently for running V itself 2022-01-22 21:13:28 +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 cgen,pref: support `-profile-fns strings__new_builder,i64_str -profile -` 2022-01-26 20:39:47 +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 all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
project_with_c_code_3 all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
project_with_c_code_ct_ifs checker,cgen: fix `-os cross` support for `$if !solaris { #include <sys/ptrace.h> }` 2021-07-23 16:24:42 +03:00
project_with_modules_having_submodules all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
project_with_tests_for_main
reliability sync: make `Semaphore.*wait()` robust against interrupts by signals (#10491) 2021-06-18 12:44:18 +03:00
repl vrepl: fix error for exitasdfasdf in repl (fix #14593) (#14598) 2022-06-02 19:59:57 +03:00
run_project_folders tests: filter test_ fns with params from the list of automatically run test functions (fix #13443) 2022-02-12 17:30:20 +02:00
skip_unused checker,gen: allow using methods as function pointers (#14407) 2022-05-15 18:28:37 +03:00
testdata fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
tmpl ci: fix `$tmpl` regression detected by gitly tests (after a73e146) 2022-01-07 19:19:31 +02:00
valgrind all: enable `-gc boehm` by default (#14577) 2022-06-09 00:44:29 +03:00
aggregate_is_nodetype_test.v ast, checker, cgen: fix aggregations type check (#14066) 2022-04-18 12:38:08 +03:00
alias_array_has_method_test.v cgen: fix alias of array that has builtin method (#14432) 2022-05-17 12:26:26 +03:00
alias_array_operator_overloading_test.v cgen: fix operator overloading for array/map aliases (#9529) 2021-03-30 11:39:54 +02:00
alias_basic_types_test.v websocket, utf: u8 fixes 2022-04-15 16:24:02 +03:00
alias_char_type_reference_test.v ast: fix reference of alias char type (#12951) 2021-12-24 11:11:20 +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_of_struct_test.v cgen: fix codegen for aliases of fixed arrays of structs (fix #13037) (#13049) 2022-01-06 11:54:22 +02:00
alias_fixed_array_test.v net: byte fixes 2022-04-15 15:55:39 +03: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_decl_inside_ternary_test.v cgen: fix error for anon fn decl inside ternary (#14150) 2022-04-25 12:36:03 +03:00
anon_fn_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 fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03: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_alias_args_test.v ast: fix fn_type_signature for anon functions with alias arguments (#13024) 2022-01-04 16:02:53 +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
anon_sum_type_test.v all: inline sum types (#12912) 2021-12-25 18:26:40 +03:00
append_struct_to_interface_array_test.v cgen: fix appending struct to interface array (#14388) 2022-05-14 17:49:42 +03:00
appending_to_mut_array_in_fn_param_test.v cgen: fix `fn f(mut a []int) { a << [1,2] }` 2020-12-05 10:12:17 +02:00
array_access_optimisation_test.v 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_as_interface_test.v cgen: fix array type as interface (fix #14677) (#14681) 2022-06-05 05:05:48 +03:00
array_cast_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
array_equality_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
array_get_anon_fn_value_test.v cgen: simplify in index_of_array() and add test (#13792) 2022-03-21 22:03:45 +02:00
array_index_optional_with_if_expr_test.v checker, cgen: fix array index optional with if expr (#14575) 2022-06-01 09:18:59 +03:00
array_init_test.v builtin: fix multiple array init (#10929) 2021-07-23 23:25:12 +03:00
array_map_or_test.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +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 fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
array_nested_call_test.v cgen: fix nested array call (#11948) 2021-09-23 08:50:37 +03:00
array_of_alias_slice_test.v cgen: fix array of alias's slice() (#10772) 2021-07-12 15:59:01 +03:00
array_of_anon_fn_call_test.v checker: fix error for array of anon fn call (#13858) 2022-03-29 18:04:30 +03:00
array_of_fixed_array_test.v cgen: fix array of fixed array (fix #13895) (#13901) 2022-04-02 18:00:59 +03:00
array_of_interface_init_test.v checker: fix error for array of interface init in for_in (#13636) 2022-03-03 12:32:55 +02:00
array_of_interfaces_equality_test.v cgen: fix array of interfaces equality error (#12874) 2021-12-17 14:58:17 +02:00
array_of_map_with_default_test.v builtin, cgen: fix array of map init with default value (#12885) 2021-12-18 10:07:25 +02:00
array_of_reference_sumtype_test.v cgen: fix array of reference sumtype index() (#14812) 2022-06-21 12:37:54 +03:00
array_of_sumtype_append_aggregate_type_test.v table, checker: fix sumtype array appending aggregate type values (fix #11197) (#11258) 2021-08-21 17:18:01 +03:00
array_of_sumtype_append_literal_type_test.v checker: fix error for array of sumtype appending literal value (#14200) 2022-04-28 08:44:30 +03:00
array_of_sumtype_init_test.v checker: fix error for array of sumtype init (#13501) 2022-02-18 11:47:24 +02:00
array_of_sumtype_with_default_test.v ast, checker, cgen: fix array of sumtype initialisation with a default `init:` (#13178) 2022-01-15 09:59:38 +02: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 all: byte => u8 2022-04-15 14:58:56 +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 fixed array init with `it` (#14251) 2022-05-02 02:00:45 +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_array_of_aliases_test.v checker: fix error for assign array of aliases (#14096) 2022-04-20 13:08:47 +03:00
assign_bitops_with_type_aliases_test.v
assign_literal_with_closure_test.v cgen: fix cross assign in closure (#14549) 2022-05-28 20:47:54 +03:00
assign_map_value_of_fixed_array_test.v cgen: fix assigning literal fixed arrays to map values (#10525) 2021-06-20 13:36:01 +03:00
assign_shared_test.v checker, cgen: fix shared non-decl assignment (#14466) 2022-05-20 02:58:11 +03:00
atomic_test.v tests: add `// vtest flaky: true` to atomic_test.v 2022-05-03 20:42:12 +03:00
attribute_test.v parser: support bool values in attributes (#12750) 2021-12-07 12:11:29 +03:00
autogen_free_test.v cgen: fix autogen free method for struct with shared field (#13469) 2022-02-15 03:55:06 +02:00
autolock_array1_test.v 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
big_array_allocation_test.v builtin: improve support for large arrays (`[]int{len: 1_000_000_000}` now works), fix an arr.repeat() bug (#14294) 2022-05-04 18:42:06 +03:00
blank_ident_test.v cgen: fix blank ident in for_c_stmt (#12931) 2021-12-22 09:34:26 +02:00
break_in_lock_test.v 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 all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
cast_bool_to_int_test.v cgen,ci: fix cast_bool_to_int_test.v on windows-tcc 2022-06-03 20:53:10 +03:00
cast_in_comptime_if_test.v all: byte => u8 2022-04-15 14:58:56 +03:00
cast_in_index_of_ref_fixed_array_test.v cgen: fix cast in the index of reference fixed array (fix #13128) (#13131) 2022-01-11 10:55:29 +02:00
cast_int_to_interface_test.v cgen: fix error for casting int to interface (#13790) 2022-03-21 21:18:11 +02:00
cast_optional_to_interface_test.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
cast_test.js.v js,checker: allow casting JS primitives to V primitives and vice-versa (#12420) 2021-11-10 11:37:16 +02:00
cast_to_alias_test.v checker: fix error for cast to alias of reference struct (#13278) 2022-01-26 12:32:14 +02:00
cast_to_byte_test.v all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
cast_to_empty_interface_test.v cgen: fix error for cast to empty interface (fix #14162) (#14176) 2022-04-26 13:26:48 +03:00
cast_to_interface_test.v cgen: fix type casts to interfaces (#8476) 2021-01-31 19:24:33 +02:00
cast_to_u8_test.v all: byte => u8 2022-04-15 14:58:56 +03:00
channels_test.v cgen: fix channel of sumtype (#12938) 2021-12-23 11:26:15 +02:00
char_literal_bytes_test.v all: byte => u8 2022-04-15 14:58:56 +03:00
clash_var_name_of_array_and_map_test.v all: replace []byte with []u8 2022-04-15 15:35:35 +03:00
closure_data_with_gc_test.v cgen: ensure closures are kept alive when using the GC (#14736) 2022-06-10 19:48:50 +03:00
closure_generator_test.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
closure_test.v cgen: support larger closure parameters (#13040) 2022-01-05 16:22:20 +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
complex_map_op_test.v ast, parser: fix complex map init (#14206) 2022-04-28 17:37:19 +03:00
comptime_at_test.v parser,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_in_fn_call_test.v cgen: fix comptime call in fn call (#13075) 2022-01-07 12:59:27 +02:00
comptime_call_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
comptime_call_tmpl_variable_scope_test.tpl all: comptime_call - simplify tmpl scoping, solves many issues. 2022-04-08 17:33:24 +10:00
comptime_call_tmpl_variable_scope_test.v checker/tests: format test added in prev commit & rename chekcer prop 2022-04-08 17:41:23 +10:00
comptime_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_in_field_with_generic_fn_test.v all: fix error for comptime for in field with generic fn (fix #13409) (#13439) 2022-02-11 22:00:13 +02:00
comptime_for_method_call_in_print_call_test.v cgen: fix error for print comptime for method call (#13108) 2022-01-09 19:00:23 +02:00
comptime_for_method_call_test.v 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 all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
comptime_generic_test.v checker: fix #13626, when unwrapped type is fixed array, and selector expr is 'len' (#13627) 2022-03-02 20:46:18 +02:00
comptime_if_expr_generic_typ_is_type_test.v cgen: fix `$if T.typ is Type {` (#13135) 2022-01-11 16:25:16 +02:00
comptime_if_expr_test.v all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +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 all: ~500 more byte=>u8 2022-04-15 18:25:45 +03: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_kinds_test.v all: initial implementation of compile-time types (#13549) 2022-02-21 17:42:54 +02:00
comptime_method_args_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
const_array_init_order_test.v cgen: sort const array init order (fix #14748) (#14749) 2022-06-13 21:09:24 +03:00
const_call_expr_order_test.v ast, checker, cgen: sort consts with call expr (fix #14748) (#14755) 2022-06-14 10:50:20 +03:00
const_can_use_optionals_test.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
const_comptime_eval_before_vinit_test.v all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
const_embed_test.v
const_eval_simple_int_expressions_at_comptime_test.v all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
const_fixed_array_containing_references_to_itself_test.v ci: fix macos clang failures with const_fixed_array_containing_references_to_itself_test.v 2022-06-04 09:15:37 +03:00
const_fixed_array_of_reference_value_test.v ast, cgen: fix const fixed array of reference value (#13022) 2022-01-04 11:36:29 +03:00
const_function_call_init_order_test.v cgen: sort const array init order (fix #14748) (#14749) 2022-06-13 21:09:24 +03:00
const_init_order_test.v all: byte => u8 2022-04-15 14:58:56 +03:00
const_many_pluses_with_raw_string_literal_test.v checker: fix const type with raw string literal (#12761) 2021-12-08 22:28:55 +02:00
const_reference_argument_test.v v.gen.c: add vlib/v/gen/c/coutput_test.v, to ease testing of produced C output 2021-07-31 12:14:56 +03:00
const_representation_test.v all: byte => u8 2022-04-15 14:58:56 +03:00
const_test.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
const_use_nested_optionals_test.v cgen: fix error for const using nested optionals (#13939) 2022-04-05 05:58:11 +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 error for cross assign of the reserved name variable (#13884) 2022-03-31 19:55:21 +03:00
cross_assign_with_parentheses_test.v parser, cgen: fix cross assign with parentheses (#14545) 2022-05-28 12:02:17 +03:00
cstrings_test.v checker: deprecate using V strings in C function calls (#10140) 2021-05-20 09:17:44 +03:00
default_thread_stack_size_test.v pref: add support for `-thread-stack-size 4194304` (default set to 8MB) (#14168) 2022-04-28 08:46:33 +03:00
dereference_mut_interface_in_loop_test.v cgen: fix error for dereference mut interface in loop (fix #13913) (#13941) 2022-04-07 12:01:54 +03:00
differently_named_structs_test.v tests: fix some warnings in preparation for `-W test-self` 2021-01-31 11:05:17 +02:00
double_ref_deref_test.v
dump_fns_test.v cgen: fix `dump(x)` with `fn (x &Type) str() string {` 2021-11-20 13:12:03 +02:00
empty_interface_test.v cgen: fix error for empty interface (#13764) 2022-03-18 22:41:06 +02:00
enum_aliases_test.v all: add support for `type MyEnumAlias = MyEnum` 2021-12-30 13:42:06 +02:00
enum_array_field_test.v
enum_bitfield_test.v v.parser: add a generated `.all(.flag1|.flag2)` method to `[flag]` enums 2021-09-26 21:40:44 +03:00
enum_bitfield_works_with_comptime_conditional_in_the_same_scope_test.v parser: fix parsers producing codegen statements (for `[flag] enum MyEnum{}`) with mixed scope 2022-01-06 18:02:52 +02:00
enum_default_value_in_struct_test.v 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 os: add os.quoted_path/1, use it consistently for running V itself 2022-01-22 21:13:28 +02:00
filter_in_map_test.v tests: fix filter_in_map_test.v (it did not have a `test_` function in it) 2021-01-30 10:29:48 +02:00
filter_test.v cgen: fix `.filter()` and `.map()` on shared arrays (#13954) 2022-04-07 18:05:11 +03:00
fixed_array_const_size_test.v all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
fixed_array_in_op_test.v cgen: fix error for fixed array in operate (#14269) 2022-05-03 12:45:04 +03:00
fixed_array_init_test.v all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
fixed_array_of_alias_struct_test.v cgen: fix fixed array of aliases struct (#14583) 2022-06-01 16:56:12 +03:00
fixed_array_of_fn_test.v cgen: fix fixed array of function (#8490) 2021-02-01 14:50:10 +01:00
fixed_array_of_interfaces_equality_test.v cgen: fix fixed array of interfaces equality (#12908) 2021-12-20 19:09:22 +02:00
fixed_array_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_call_fixed_array_literal_args_test.v cgen: fix fn call with fixed array literal arguments (#13225) 2022-01-20 15:04:16 +03:00
fn_call_mut_sumtype_args_test.v gen: fix mut sumtype arguments for fields (#13205) 2022-01-18 19:53:09 +02:00
fn_call_using_anon_fn_call_args.v parser, checker, cgen: fix error for fn call using anon fn call argument (#14155) 2022-04-25 11:26:14 +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 all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
fn_index_direct_call_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
fn_multi_return_test.v checker: fix error for fn with multi return (#14095) 2022-04-20 13:09:40 +03:00
fn_multiple_returns_test.v builtin: change IError `msg` and `code` to methods + fix vlib, add a deprecation notice for the old usages (#13041) 2022-02-11 15:52:33 +02:00
fn_mut_arg_of_array_test.v cgen: fix fn mut arg of array (#11104) 2021-08-09 01:49:30 +03:00
fn_mut_arg_of_interface_test.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +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_return_mut_sumtype_test.v cgen: fix return of mut symtype (#13214) 2022-01-19 14:37:40 +02:00
fn_shared_return_test.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
fn_test.v all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
fn_type_aliases_test.v
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_type_only_argument_test.v parser: fix error for fn with type only argument (fix #13704) (#13709) 2022-03-10 22:52:06 +02:00
fn_variadic_test.v parser: change array decompose syntax (#7965) 2021-01-09 22:48:23 +01:00
fn_with_array_of_aliases_argument_test.v checker: fix error for fn with array of aliases argument (#14123) 2022-04-21 12:52:09 +03:00
fn_with_fixed_array_args_test.v cgen: fix error for fn with fixed array argument (fix #13976) (#13982) 2022-04-09 15:57:27 +03:00
fn_with_fixed_array_function_args_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
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_c_multiple_expressions_in_increment_test.v cgen: fix `for (int i = 0; i < 10; i++, a++) {` (multiple expressions in the inc part) 2022-06-04 20:03:59 +03:00
for_cond_test.v tests: re-add the disambiguated `for (val in [TokenValue(`+`), TokenValue(`-`)]) {` test 2022-05-19 08:31:03 +03:00
for_in_alias_test.v 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_1_test.v ast: fix for in iterator of generic struct (fix #13579) (#13585) 2022-02-24 10:48:52 +02:00
for_in_iterator_of_generic_struct_2_test.v ast: fix for in iterator of generic struct (fix #13579) (#13585) 2022-02-24 10:48:52 +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_mut_val_with_if_val_in_test.v cgen: fix 'for in mut val' with 'if val in' (#13263) 2022-01-24 17:08:21 +02:00
for_in_optional_test.v cgen: fix or_block in for declaration (#10317) 2021-06-03 01:18:52 +03:00
for_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 all: ~500 more byte=>u8 2022-04-15 18:25:45 +03: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 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_empty_interface_to_multi_struct_test.v checker, cgen: fix generic empty interface to multi struct (#14132) 2022-04-22 11:02:51 +03:00
generic_empty_interface_to_struct_test.v cgen: fix infix generics bug (#14048) 2022-04-16 13:23:19 +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_call_with_reference_argument_test.v ast, checker, cgen: fix error for generic method with generic fn type argument (fix #14239) (#14333) 2022-05-07 20:22: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_fn_type_argument_test.v checker: fix generic fn infering fn type argument (fix #14243) (#14256) 2022-05-02 16:17:27 +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 ci: fix generic_fn_infer_struct_test.v 2022-04-15 21:21:12 +03:00
generic_fn_infer_test.v all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03: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_multi_return_test.v ast: fix generic fn with multiple return (#12971) 2021-12-26 16:44:41 +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 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_using_generic_type_in_if_test.v checker: fix generic fn using generic type in if expr (#13027) 2022-01-04 16:04:15 +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_infer_test.v checker: infer generic interface type in `i := Interface(Struct<u32>{})` 2021-12-30 21:24:52 +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_method_with_variadic_generic_args_test.v ast, cgen: fix generic method with variadic generic argument (#14404) 2022-05-16 12:26:38 +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_cast_test.v cgen: fix error for generic sumtype casting to typenode (#14188) 2022-04-27 11:32:43 +03:00
generic_sumtype_init_in_generic_fn_call_test.v ast: fix error for generic sumtype init in generic fn call (#13238) 2022-01-21 14:46:55 +02: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_anon_fn_decl_with_type_only_arg_test.v parser: fix generic anon fn decl with type only argument (#14124) 2022-04-21 12:53:13 +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_builtin_method_call_test.v checker: fix generic array builtin method call (#12957) 2021-12-24 14:42:23 +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_init_test.v checker: fix a bug in generics array init (#14258) 2022-05-02 16:18:33 +03: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_of_interface_method_call_test.v cgen: fix generic array of interface method call (fix #12882) (#12888) 2021-12-18 18:08:19 +02: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: ban unsafe pointer/fn comparison (#14462) 2022-05-20 18:30:16 +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 fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +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_interface_with_non_generic_method_test.v cgen: fix cast to generic interface (#14708) 2022-06-07 08:32:25 +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_generic_structs_test.v math: move the `math.mathutil` generic `min`/`max`/`abs` fns to `math` (#13042) 2022-01-05 18:02:20 +02:00
generics_method_on_nested_struct2_test.v checker: fix error for generic method on nested struct (#14322) 2022-05-07 00:51:04 +03:00
generics_method_on_nested_struct_test.v parser, checker: fix generic method on nested struct (fix #14089) (#14310) 2022-05-05 11:24:20 +03:00
generics_method_on_receiver_aliases_types_test.v checker: fix generic method on aliases receiver type (#14729) 2022-06-09 15:36:31 +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_ordering_test.v all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03: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_generic_anon_fn_argument_test.v ast, checker, cgen: fix error for generic method with generic fn type argument (fix #14239) (#14333) 2022-05-07 20:22:20 +03: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_method_with_sumtype_args_test.v cgen: fix generics method with sumtype arguments (#13166) 2022-01-14 18:45:12 +02: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 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: check generic struct init without type parameter (#13404) 2022-02-09 14:06:45 +02:00
generics_struct_field_with_default_struct_value_test.v ast, parser, checker: fix generic struct field with default struct value (#13158) 2022-01-13 22:25:25 +02: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_init_with_inconsistent_generic_types_test.v ast, parser, checker: fix generic struct init with inconsistent generic types (#13359) 2022-02-04 14:24:38 +02:00
generics_struct_inst_method_call_test.v checker: fix method call errors for generic struct instances (#13261) 2022-01-24 12:45:19 +02:00
generics_struct_parent_has_str_to_string_test.v all: replace []byte with []u8 2022-04-15 15:35:35 +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 all: byte => u8 2022-04-15 14:58:56 +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_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_complex_nested_generics_type_test.v all: replace []byte with []u8 2022-04-15 15:35:35 +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 checker, cgen: fix generic fn with array and fixed array arguments (#14385) 2022-05-13 06:57:48 +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 fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +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_generic_type_parameter_test.v ast: fix generics with nested generic type parameter (fix #13077) (#13088) 2022-01-08 19:19:45 +02:00
generics_with_nested_generics_fn_inst_call_test.v all: replace []byte with []u8 2022-04-15 15:35:35 +03:00
generics_with_nested_generics_fn_test.v checker: check type mismatch in args of generics method calls (fix #13193) (#13196) 2022-01-17 16:48:59 +02:00
generics_with_recursive_generics_fn_test.v rand: simplify rand.PRNG, move to optional types for error handling (#13570) 2022-02-23 12:36:14 +02: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_reference_generic_args_test.v cgen: fix generics with reference generic arguments (#13525) 2022-02-19 15:19:50 +02: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_anon_fn_call_with_ref_arg_test.v cgen: fix go anon fn call with ref argument (fix #14192) (#14197) 2022-04-28 14:43:20 +03:00
go_anon_fn_variable_call_test.v tests: support for marking _test.v files with `// vtest flaky: true`, to reduce false positives from the CI 2022-04-30 13:30:02 +03:00
go_array_wait_test.v tests: support for marking _test.v files with `// vtest flaky: true`, to reduce false positives from the CI 2022-04-30 13:30:02 +03:00
go_array_wait_without_go_test.v cgen: fix threads array wait without go calls (fix #12009) (#12050) 2021-10-03 18:24:44 +03:00
go_call_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 fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
go_wait_with_fn_of_interface_parameter_test.v tests: rename go_wait_with_fn_of_interface_para.v to go_wait_with_fn_of_interface_parameter_test.v 2022-01-07 14:08:44 +02: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_cond_with_optional_test.v cgen: fix error for if cond with optional expr (#14334) 2022-05-07 20:20:00 +03:00
if_expr_of_multi_stmts_test.v cgen: fix if expr of multi stmts (#11208) 2021-08-16 21:48:58 +03:00
if_expr_of_optional_test.v builtin: change IError `msg` and `code` to methods + fix vlib, add a deprecation notice for the old usages (#13041) 2022-02-11 15:52:33 +02:00
if_expr_with_array_call_test.v v.gen.c: fix uninitialised value usages regression after e5fb4e4 2021-09-23 12:24:03 +03:00
if_expr_with_enum_test.v checker: fix if expr with enum value (#13685) 2022-03-08 11:55:17 +02:00
if_expr_with_generic_sumtype_test.v checker, cgen: fix error for if expr with generic sumtype (#14056) 2022-04-17 08:19:44 +03:00
if_expr_with_method_call_optional_test.v cgen: fix if expr with optional method call (#14600) 2022-06-03 15:57:39 +03:00
if_expr_with_nested_array_call_test.v cgen: fix if expr with complex nested array call (#11979) 2021-09-26 07:35:48 +03:00
if_expr_with_nested_match_expr_test.v cgen: fix error for if expr with nested match expr (#14122) 2022-04-21 13:02:31 +03:00
if_expr_with_struct_init_test.v v.parser: fix `if a == Abc{} {` (#11092) 2021-08-07 18:05:22 +03:00
if_expr_with_sumtype_test.v cgen: fix error for if expr returning sumtype (#13752) 2022-03-16 15:43:17 +02:00
if_expression_test.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
if_guard_test.v parser: add support for mutable if guards (#13132) 2022-01-11 15:32:58 +02:00
if_guard_with_multi_return_test.v ast, checker, cgen: implement if guard with multi return optional (#13273) 2022-01-25 14:36:33 +02:00
if_smartcast_likely_test.v checker: handle `if _likely_(x is Interface) {` from #11485 (#11519) 2021-09-17 21:01:12 +03:00
if_smartcast_multi_conds_test.v checker: implement if smartcast multi conds (part 1) (#10477) 2021-06-16 19:16:15 +03:00
if_smartcast_nested_selector_exprs_test.v checker: fix nested if smartcast selector exprs (fix #10372 #10379) (#10502) 2021-06-18 14:49:15 +03:00
if_smartcast_test.v all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
imported_symbols_test.v checker: prohibit selective const imports (#10574) 2021-06-26 18:09:52 +03:00
in_expression_test.v cgen: fix another error for 'in array of sumtype' (#14448) 2022-05-18 14:39:35 +03:00
infix_expr_test.v checker: error if smaller signed == unsigned (#14078) 2022-04-25 12:09:25 +03:00
init_global_test.v tests: support for marking _test.v files with `// vtest flaky: true`, to reduce false positives from the CI 2022-04-30 13:30:02 +03:00
init_multiple_branches_test.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
int_cmp_test.v all: byte => u8 2022-04-15 14:58:56 +03:00
integer_size_test.v v.gen.c: fix the :X string interpolation format for isize/usize on 64bit systems 2021-09-19 05:09:03 +03:00
interface_and_embedded_struct_build_test.v cgen: fix error for interface and embedded struct build (#13530) 2022-02-19 20:43:40 +02:00
interface_array_methods_test.v cgen: support `index` and `in` for sumtype/interface arrays (#12051) 2021-10-03 15:44:13 +03:00
interface_auto_str_gen_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
interface_embedding_call_test.v ast: fix error for interface embedding call (#13466) 2022-02-14 19:22:44 +02:00
interface_embedding_complex_test.v cgen: fix interface embedding complex cases (#13472) 2022-02-15 12:41:40 +02:00
interface_embedding_deep_nesting_test.v v: implement interface embedding (#9935) 2021-05-02 03:00:47 +03:00
interface_embedding_method_call_test.v cgen: fix interface embedding method call (#13553) 2022-02-21 17:49:38 +02: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 all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
interface_fields_typearray_test.v cgen: generate interfaces after all other typedefs (#9680) 2021-04-12 00:43:19 +03:00
interface_fn_return_array_of_interface_test.v cgen: fix fn return array of interface (#10677) 2021-07-06 16:33:26 +03:00
interface_fn_return_with_struct_init_test.v tests: correct test file name (#12787) 2021-12-11 10:28:44 +03:00
interface_method_using_struct_embed_test.v cgen: fix interface method using struct embed (#12924) 2021-12-21 19:16:05 +02:00
interface_method_with_struct_embed_test.v ast, checker, cgen: fix interface method with struct embed (#12783) 2021-12-10 14:56:13 +02:00
interface_nested_field_test.v checker: force interface init (#10910) 2021-07-30 03:18:20 +03:00
interface_only_decl_with_optional_test.v all: replace []byte with []u8 2022-04-15 15:35:35 +03:00
interface_runtime_conversions_test.v cgen: small interface conversion fix (#11229) 2021-08-18 13:47:57 +03:00
interface_str_method_test.v cgen: fix error of the interface str method (fix #12538) (#12620) 2021-11-30 15:03:44 +02:00
interface_struct_embedding_test.v cgen: fix overwriting methods of embedded structs + empty struct for interfaces (#12876) 2021-12-17 15:32:31 +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 all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
interface_variadic_test.v checker: fix calling functions with variadic interface parameters (#10052) 2021-05-08 22:26:13 +03:00
interface_with_multi_nested_embed_1_test.v cgen: fix error for interface with multi-nested embed struct (#13345) 2022-02-02 09:11:29 +02:00
interface_with_multi_nested_embed_2_test.v cgen: fix error for interface with multi-nested embed struct (#13345) 2022-02-02 09:11:29 +02:00
interfaces_map_test.v
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
json_with_struct_having_fields_with_default_values_test.v cgen: fix parallel cgen for json encoding of struct fields that have default values 2022-05-26 16:55:44 +03:00
keep_args_alive_test.v tests: support for marking _test.v files with `// vtest flaky: true`, to reduce false positives from the CI 2022-04-30 13:30:02 +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
keyword_escaping_test.v cgen: add `true` and `false` to C reserved words (#13781) 2022-03-21 11:00:30 +02:00
local_test.v
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_fn_test.v cgen: fix `.filter()` and `.map()` on shared arrays (#13954) 2022-04-07 18:05:11 +03:00
map_get_anon_fn_value_test.v cgen: fix error for map get anon fn value (#13782) 2022-03-21 00:20:55 +02:00
map_get_anon_fn_value_with_mut_arg_test.v checker: fix map get anon fn value with mut argument (fix #14479) (#14493) 2022-05-22 16:28:53 +03:00
map_get_assign_blank_test.v cgen: fix map get assign blank var with optional (#12943) 2021-12-23 13:04:36 +02:00
map_high_order_assign_test.v 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 fmt: fix map missing a comma after enum keys, leading to non parsable code (#13481) 2022-02-16 21:08:29 +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_selector_assign_test.v checker: fix error of map selector assign (#12902) 2021-12-20 08:09:15 +02:00
map_sumtype_value_init_test.v ast, checker, cgen: fix error for map sumtype value init (#13290) 2022-01-27 09:44:34 +02:00
map_sumtype_values_test.v all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +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
mark_as_referenced_test.v checker: fix error for marking as referenced (#13859) 2022-03-30 01:33:10 +03:00
match_aliases_test.v checker: fix error for match aliases (#14157) 2022-04-25 14:42:43 +03:00
match_branch_with_array_expression_test.v parser: fix error for match branch with array expression (#13733) 2022-03-14 16:19:05 +02:00
match_case_with_struct_init_test.v parser: fix match expr case with struct init (#14538) 2022-05-27 18:51:40 +03:00
match_compound_type_cond_test.v all: replace []byte with []u8 2022-04-15 15:35:35 +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_assign_sumtype_test.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
match_expr_with_enum_test.v checker: fix match expr with enum type value (#13683) 2022-03-08 09:50:17 +02: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_expression_with_for_loop_test.v ast: allow `a := match x { 101 { ... for {...} ... y }` 2022-04-21 13:31:06 +03:00
match_in_fn_call_test.v checker: require `params` attribute to use struct as keyword arguments in function (#11135) 2021-09-14 00:05:30 +03:00
match_in_if_expression_test.v cgen: fix match_in_if_expression (#8407) 2021-01-29 14:51:17 +01:00
match_in_map_init_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
match_in_map_or_expr_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
match_interface_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
match_reference_sumtype_var_test.v checker: fix error for match sumtype that referenced before (#14338) 2022-05-09 07:32:51 +03:00
match_smartcast_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
match_sumtype_var_aggregate_test.v 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_return_sumtype_test.v cgen: fix match sumtype var returning sumtype value (#13184) 2022-01-16 13:12:27 +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 all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +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_as_fields_test.v Revert "Revert "checker: allow using methods as vars when expecting a ctx arg (#14414)"" 2022-05-16 21:29:47 +03:00
methods_on_interfaces_test.v 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 all: replace []byte with []u8 2022-04-15 15:35:35 +03:00
multiret_in_or_expr_test.v ast, checker, cgen: fix error for multi-return in or expr (fix #14167) (#14172) 2022-04-26 12:17:05 +03:00
multiret_with_maps_test.v v.checker: fix panic for `a, b, c = fn_returning_several_maps()` 2021-10-02 18:40:35 +03:00
multiret_with_ptrtype_test.v all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
multiret_with_sumtype_test.v cgen: fix multiple return with sumtype (#12930) 2021-12-22 12:09:08 +02:00
mut_receiver_of_sumtype_test.v cgen: fix assigning a new value to the mut sumtype receiver (#13204) 2022-01-18 16:16:15 +02:00
mut_receiver_returned_as_reference_test.v all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
mut_test.v 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_index_test.v cgen: fix nested map index check (fix #14683) (#14687) 2022-06-06 06:29:22 +03:00
nested_map_test.v cgen: fix error of 'map_a[map_b[key]] += 2' (#12872) 2021-12-17 15:17:08 +02:00
nested_multiline_comments_test.v scanner: fix nested multiline comments (#10760) 2021-07-12 07:17:38 +03:00
nested_option_call_test.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
nested_struct_embed_method_call_test.v ast, checker, cgen: fix nested struct embed method call (#12714) 2021-12-04 14:51:42 +02:00
nested_struct_embed_selector_test.v ast, checker, cgen: fix nested struct embed method call (#12714) 2021-12-04 14:51:42 +02:00
num_lit_call_method_test.v
offsetof_test.v all: byte => u8 2022-04-15 14:58:56 +03:00
operator_overloading_cmp_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
operator_overloading_on_struct_with_too_many_fields_test.v cgen: fix error, when a struct with over 8 fields, is used as a method receiver directly. 2022-04-07 17:20:14 +03:00
operator_overloading_with_string_interpolation_test.v ci: fix all `-cstrict` warnings with gcc and clang (#9792) 2021-04-19 15:38:48 +03:00
option_2_test.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +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_empty_map_test.v checker: fix returning optional empty map (#13113) 2022-01-10 09:12:46 +02:00
option_expr_with_array_value_test.v parser: fix optional expr with array value (#13599) 2022-02-25 15:54:12 +03: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 checker: make using err.msg and err.code produce an *actual* notice, even with the present compatibility hack (will be *removed* in 2022-06-01) 2022-04-12 14:56:02 +03:00
option_struct_init_test.v cgen: fix optional generation order (#11070) 2021-08-06 03:57:34 +03:00
option_test.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
option_void_test.v builtin: change IError `msg` and `code` to methods + fix vlib, add a deprecation notice for the old usages (#13041) 2022-02-11 15:52:33 +02:00
optional_multi_return_test.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
or_expr_with_multi_stmts_test.v parser: fix optional with multiple statements (#14592) 2022-06-02 08:23:16 +03:00
or_expr_with_nested_match_expr_test.v checker: make using err.msg and err.code produce an *actual* notice, even with the present compatibility hack (will be *removed* in 2022-06-01) 2022-04-12 14:56:02 +03:00
orm_joined_tables_select_test.v checker: fix orm bug, when a joined table field context replaced the original table field context 2022-05-17 11:45:17 +03:00
orm_sub_array_struct_test.v orm: 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
parse_invalid_map_type_test.v parser: fix panic for parse invalid map type (#14431) 2022-05-17 12:05:10 +03:00
parser_line_test.v
pointer_arithmetic_test.v checker: disallow invalid pointer arithmetic (#10888) 2021-07-21 23:39:49 +03:00
pointers_multilevel_casts_test.v checker: ban unsafe pointer/fn comparison (#14462) 2022-05-20 18:30:16 +03:00
pointers_str_test.v
pointers_test.v checker: allow for `unsafe {*(p+1) = 22}` (#10557) 2021-06-24 12:39:42 +03:00
prefix_expr_test.v parser: fix error of `-foo.bar()` (#9646) 2021-04-09 10:54:03 +03:00
print_smartcast_variable_test.v cgen: fix error for print smartcast variable (#13634) 2022-03-02 12:32:54 +02:00
print_test.v all: make eprint[ln] behave same as print[ln] (#7595) 2020-12-27 11:22:16 +01:00
prod_test.v builtin: change IError `msg` and `code` to methods + fix vlib, add a deprecation notice for the old usages (#13041) 2022-02-11 15:52:33 +02:00
projects_that_should_compile_test.v ci: fix compiler_errors_test.v too 2022-01-23 00:09:32 +02:00
ptr_arithmetic_test.v all: byte => u8 2022-04-15 14:58:56 +03:00
raw_string_test.v v.transformer: fix string always escaped by transformer (#12603) 2021-11-28 23:53:30 +02:00
ref_array_init_test.v checker: disallow `mut_ptr = &immutable_var` (#13814) 2022-03-24 20:43:25 +02:00
ref_return_test.v checker: check reference return to be really reference (#7739) 2020-12-31 12:42:22 +01:00
ref_struct_test.v checker: support value array elements of `[heap]` type inside struct ref (#9899) 2021-04-28 07:47:00 +03:00
reference_return_test.v all: automatically move (some) referenced objects to heap (#9873) 2021-04-25 21:40:38 +03:00
reference_var_followed_block_expr_test.v tests: rename reference_var_followed_block_expr.v to reference_var_followed_block_expr_test.v 2022-01-07 14:11:53 +02: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
reserved_keywords_if_guard_test.v cgen: fix c error when use reserved keyword as if guard var (#12871) 2021-12-17 04:50:52 +02:00
results_test.v checker,cgen: allow result if guard (#14474) 2022-05-20 19:34:53 +03:00
retry_test.v all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
return_in_lock_test.v cgen: fix deadlock when returning multiple values in lock (#14014) 2022-04-12 09:21:27 +03:00
return_optional_test.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
return_voidptr_test.v
reusable_mut_multiret_values_test.v
run_project_folders_test.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
run_v_code_from_stdin_test.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03: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: support for marking _test.v files with `// vtest flaky: true`, to reduce false positives from the CI 2022-04-30 13:30:02 +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_append_many_test.v cgen: fix appending an array to a shared array (#13265) 2022-01-25 12:05:43 +02:00
shared_array_ptr_test.v cgen: fix codegen for struct field with a shared array of points (#13222) 2022-01-21 17:08:19 +02:00
shared_array_test.v time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
shared_autolock_test.v cgen: fix `.filter()` and `.map()` on shared arrays (#13954) 2022-04-07 18:05:11 +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 fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
shared_if_expr_test.v checker,cgen: fix if expressions in lock expression (#14384) 2022-05-15 12:31:07 +03:00
shared_in_test.v cgen: fix `.filter()` and `.map()` on shared arrays (#13954) 2022-04-07 18:05:11 +03:00
shared_interface_test.v cgen: fix compile error on locking interface value (#12883) 2021-12-26 20:01:00 +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 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 cgen: fix `x in shared_map` (#13442) 2022-02-12 11:55:25 +02:00
shared_str_test.v cgen: fix autostr of shared fields (#14455) 2022-05-19 17:00:27 +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 checker: error if smaller signed == unsigned (#14078) 2022-04-25 12:09:25 +03:00
short_struct_param_syntax_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
sizeof_2_test.v
sizeof_test.v cgen: fix sizeof('str') and sizeof(r'str') (#14507) 2022-05-24 05:14:38 +03:00
slice_rval_test.v cgen: fix double evaluation of rvalue array expression in slice (#13737) 2022-03-18 11:43:15 +02:00
sorting_by_different_criteria_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
sorting_by_references_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
sql_statement_inside_fn_call_test.v cgen: fix error for sql statement inside fn call (fix #13330) (#13346) 2022-02-02 18:05:31 +02:00
static_arrays_using_const_for_size_test.v
static_vars_test.v fmt: fix support for `mut static x := 42` 2021-02-28 19:40:21 +02:00
str_array_of_reference_test.v cgen: fix pushing to an array of string pointers (fix #14156) 2022-04-25 11:26:24 +03:00
str_circular_test.v cgen: use heuristic to detect circular reference in auto str (#11090) 2021-08-07 14:56:09 +03:00
str_gen_test.v fmt: fix error of generic struct_init using module (fix #12893) (#12935) 2021-12-22 19:11:09 +02:00
str_reference_struct_test.v cgen: fix error of reference struct str() (#12061) 2021-10-04 09:58:50 +03:00
string_alias_of_struct_test.v 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_array_of_ref_type_test.v cgen: fix auto string method generated for []&int{len:1} (#14829) 2022-06-22 14:54:04 +03: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_in_for_mut_in_test.v cgen: fix string range index in for mut var in (#13076) 2022-01-07 13:00:48 +02:00
string_index_or_test.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +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 all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +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_float_fmt_test.v strconv: fix error for string interpolation of float format (#13800) 2022-03-22 12:00:18 +02:00
string_interpolation_floats_test.v
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_inner_cbr_test.v scanner: fix string interpolation with inner curly braces (fix #12242) (#14553) 2022-05-29 19:28:23 +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 all: byte => u8 2022-04-15 14:58:56 +03:00
string_interpolation_variadic_test.v
string_optional_none_test.v docs, builtin, encoding.csv: update error implementations (#13440) 2022-02-12 11:54:10 +02:00
string_ref_struct_test.v cgen: fix ref_struct.str() with null pointer (#14836) 2022-06-23 08:35:21 +03: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 all: byte => u8 2022-04-15 14:58:56 +03:00
struct_allow_both_field_defaults_and_skip_flag_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
struct_auto_eq_gen_interface_test.v cgen: 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 cgen: fix child struct's default values not assigned (#8202) 2021-01-19 17:10:22 +01:00
struct_embed_fn_type_test.v checker, cgen: fix error for struct embed with fn type (#13450) 2022-02-12 20:55:40 +02:00
struct_embed_is_interface_test.v ast: fix error for 'struct embed is interface' (#13465) 2022-02-14 13:43:36 +02:00
struct_embed_test.v all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
struct_embedding_with_interface_test.v ast: fix error for struct embedding with interface (#13457) 2022-02-14 02:33:47 +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_array_index_test.v cgen: fix struct field array index error (#14417) 2022-05-16 19:37:39 +03:00
struct_field_default_value_interface_cast_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
struct_field_default_value_sumtype_cast_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
struct_fields_required_test.v checker: skip checking `[required]` fields for struct update syntax (#10500) 2021-06-18 02:51:33 +03:00
struct_fields_storing_functions_test.v all: replace []byte with []u8 2022-04-15 15:35:35 +03:00
struct_ierror_test.v checker: force interface init (#10910) 2021-07-30 03:18:20 +03:00
struct_init_and_assign_test.v parser: fix struct init and assign using `sql` variable (#10968) 2021-07-26 21:14:31 +03:00
struct_init_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_embed_update_test.v cgen: fix struct init with embed field update (#13444) 2022-02-12 08:16:51 +03:00
struct_init_with_fixed_array_field_test.v checker: check for reserved type names in `for in` (fix #14072) (#14212) 2022-04-30 01:25:29 +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_init_with_multi_nested_embed_update_test.v cgen: fix struct init with multi nested embed update expr (#13529) 2022-02-19 20:46:44 +02:00
struct_map_method_test.v checker: allow `map` method name (#7834) 2021-01-03 16:57:29 +01:00
struct_multi_embed_method_call_test.v cgen: fix error of method calls on nested embedded structs (#13292) 2022-01-27 13:20:56 +02:00
struct_of_time_init_with_update_test.v cgen: fix error for time struct init with update (#13660) 2022-03-05 13:28:48 +02:00
struct_shared_field_init_test.v cgen: fix struct field init from shared struct field (#13343) 2022-02-02 10:55:57 +02:00
struct_test.v builtin: change IError `msg` and `code` to methods + fix vlib, add a deprecation notice for the old usages (#13041) 2022-02-11 15:52:33 +02:00
struct_transmute_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
struct_with_reference_alias_field_test.v tests: rename struct_with_reference_alias_field.v to struct_with_reference_alias_field_test.v 2022-02-12 15:29:22 +02:00
structs_with_voidptr_fields_can_be_printed_test.v all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
sum_type_common_fields_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
sum_type_test.v vfmt: fmt '!(a in/is b)' to 'a !in/is b' (#11335) 2021-08-30 09:45:36 +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: check error for match mut with immutable variable (fix #9704 #8976) (#13725) 2022-03-13 09:53:29 +02: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 all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +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.vv tests: rename testcase_leak.v to testcase_leak.vv 2022-01-07 14:05:46 +02:00
thread_to_string_test.v gen: implement `thread.str()` (#10820) 2021-07-17 11:19:28 +03:00
tmpl_script_tag_interpolation_test.v tmpl: fix a test 2022-05-14 17:48:50 +03:00
tmpl_test.v tmpl: fix $tmpl comptime operation only working in return statement (#11541) 2021-09-19 23:22:26 +03:00
translated_test.v v.parser, v.checker, v.gen: add support for [translated] tag (#13373) 2022-02-06 00:16:02 +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
type_alias_test.v ast: make is_int() work with aliases 2021-06-12 14:35:38 +03:00
type_idx_test.v all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
type_name_in_if_test.v 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: byte => u8 2022-04-15 14:58:56 +03:00
typeof_aggregate_test.v ast: fix error for typeof aggregate (#13735) 2022-03-14 18:42:47 +02:00
typeof_simple_types_test.v ci: fix typeof_simple_types_test.v 2022-04-15 21:22:32 +03:00
typeof_test.v ci: fix more test-all failures 2022-04-15 21:02:03 +03:00
unreachable_code_paths_test.v cgen: fix VUNREACHABLE inside ternary (#10672) 2021-07-05 18:26:01 +03:00
unsafe_test.v all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
unsigned_right_shift_test.v all: add unsigned shift operators (#11536) 2021-09-21 14:02:17 +03:00
use_alias_from_another_module_in_struct_field_test.v cgen: fix struct type dependency sorting, when struct field types, are aliases to struct types from other modules (#13779) 2022-03-20 20:23:48 +02:00
vargs_auto_str_method_and_println_test.v all: make eprint[ln] behave same as print[ln] (#7595) 2020-12-27 11:22:16 +01:00
vargs_empty_param_test.v all: bring back `panic(err.msg)` -> `panic(err)` (#9022) 2021-03-01 00:18:14 +01:00
vargs_reference_param_test.v v.gen.c: fix fn variadic of reference param (#11115) 2021-08-10 10:36:11 +03:00
vmod_parser_test.v builtin: change IError `msg` and `code` to methods + fix vlib, add a deprecation notice for the old usages (#13041) 2022-02-11 15:52:33 +02:00
voidptr_to_u64_cast_a_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
voidptr_to_u64_cast_b_test.v tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
volatile_vars_test.v all: support `mut volatile x := 123` declarations (#11940) 2021-09-22 13:06:30 +03:00
vsh_envbang_test.v fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03: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