0 branches
Tree
Top files
Clone with HTTPS:
templates
parser: fix $tmpl not locating template file for composed paths (fixes #24752)
last Mar 25
7 bytes
comptime_accessor_helper
comptime: add type metadata accessors .pointee_type, .payload_type, .variant_types, plus $zero(TypeExpr) and $new(TypeExpr) (fixes #26980)
last Apr 25
104 bytes
comptime_generic_container_test.v
checker: fix generic resolve comptime generic var (#22699)
1 year ago
889 bytes
comptime_var_is_check_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
318 bytes
comptime_var_on_multiple_args_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
421 bytes
comptime_var_unwrap_test.v
cgen: fix codegen for unwrapping option comptime var (fix #23590) (#23591)
1 year ago
240 bytes
comptime_variant_interp_test.v
cgen: fix comptime variant string interpolation (fix #22366) (#22368)
1 year ago
327 bytes
comptime_variant_test.v
checker: support $for variant in field.typ.variants for sumtype fields (fixes #26902)
last Apr 21
843 bytes
comptime_voidptr_unsafe_nil_test.v
comptime: fix comptime parameter resolve for `unsafe { nil }` to be `voidptr` (fix #25558) (#25570)
last Oct 24
242 bytes
comptime_arch_test.v
ast: fix arch loongarch64 comptime support (fix #24906) (#24907)
last Jul 15
405 bytes
comptime_arr_type_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
457 bytes
comptime_attr_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
878 bytes
comptime_attribute_selector_test.v
comptime: fix missing bool AttributeKind.kind (#23159)
1 year ago
955 bytes
comptime_bittness_and_endianess_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
336 bytes
comptime_call_in_fn_call_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
434 bytes
comptime_call_method_closure_test.v
tests: add test for saving a reference to a function in a map via metaprogramming (fixes #18397)
last Apr 21
1.23 KB
comptime_call_or_block_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
307 bytes
comptime_call_tmpl_composed_path_test.v
parser: fix $tmpl not locating template file for composed paths (fixes #24752)
last Mar 25
963 bytes
comptime_call_tmpl_dollar_literal_issue_14788_test.v
parser: template allows $ instead of @ (fixes #14788)
last Mar 11
290 bytes
comptime_call_type_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
401 bytes
comptime_closure_field_access_test.v
cgen, checker: fix $(field.name) access on closure fn (fix #25513) (#25514)
last Oct 16
249 bytes
comptime_const_def_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
114 bytes
comptime_default_value_test.v
checker, cgen: fix comptime issues with generic type (fix #22710, #22642) (#22751)
1 year ago
1.15 KB
comptime_deref_or_ref_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
789 bytes
comptime_generic_ret_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
638 bytes
comptime_generic_unaliased_typ_test.v
v: add support for `T.unaliased_typ` (#22546)
1 year ago
544 bytes
comptime_if_at_expr_test.v
parser,checker: add top level comptime support for `$match @OS {` too (#25222)
last Sep 2
486 bytes
comptime_if_check_const_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
95 bytes
comptime_if_expr_generic_typ_is_type_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
280 bytes
comptime_if_expr_in_struct_field_default_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
196 bytes
comptime_if_expr_test.v
checker,cgen: evaluate comptime if results in checker only (with fixed -cross compilation) (#25162)
last Aug 24
2.15 KB
comptime_if_expr_with_result_call_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
191 bytes
comptime_if_generic_shift_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
192 bytes
comptime_if_generic_struct_init_selector_test.v
checker: generics compile failure (fixes #24471)
last Mar 11
1.1 KB
comptime_if_glibc_test.v
checker: rewrite comptime_if_cond() to support comptime if cond evaluate (fix #24938) (fix #25099) (#25122)
last Aug 17
318 bytes
comptime_if_is_generic_interface_test.v
comptime: fix unknown type error when using a generic interface (fixes #20762)
last Apr 15
531 bytes
comptime_dump_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
574 bytes
comptime_eq_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
452 bytes
comptime_field_indirections_test.v
parser: add inline syntax to allocate a fresh pointer of comptime-discovered field type (fixes #26897)
last Apr 21
1.04 KB
comptime_field_selector_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
1.2 KB
comptime_for_alias_type_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
349 bytes
comptime_for_empty_loop_eval_stmts_test.v
checker: make sure `$for` eval body statements at least once to set types and avoid markused issues later (fix #26058) (#26063)
last Dec 21
750 bytes
comptime_for_if_cond_check_test.v
checker: rewrite comptime_if_cond() to support comptime if cond evaluate (fix #24938) (fix #25099) (#25122)
last Aug 17
450 bytes
comptime_for_in_field_selector_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
1.55 KB
comptime_for_in_field_with_generic_fn_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
894 bytes
comptime_for_in_options_struct_test.v
checker,cgen,type_resolver: prevent stale type cast on comptime `$for`, handle in dumpexpr (fix #25781) (#25784)
last Nov 20
794 bytes
comptime_for_map_arg_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
351 bytes
comptime_for_method_call_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
412 bytes
comptime_for_method_param_test.v
all: add comptime support for traversing the method parameters with `$for arg in method.params {` (#22229)
1 year ago
557 bytes
comptime_for_over_struct_with_C_reserved_word_fields_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
530 bytes
comptime_for_selector_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
329 bytes
comptime_array_fixed_field_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
112 bytes
comptime_attribute_call_syntax_test.v
revert: deprecated_after attribute change (fixes #19138) - incomplete, breaks time/format.v
last Apr 14
1.54 KB
comptime_branching_working_without_compile_error_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
346 bytes
comptime_call_is_check_test.v
v: allow checking of method comptime signature with `is` operator (fix #8843) (#22549)
1 year ago
497 bytes
comptime_call_map_receiver_test.v
cgen: fix comptimecall with map receiver (fix #24448) (#24449)
1 year ago
418 bytes
comptime_call_slice_arg_test.v
comptime: allow only explicit auto-expand of []string in compile-time $for loops (fixes #9278)
last Apr 15
271 bytes
comptime_call_tmpl_dollar_literal_issue_14788.tpl
parser: template allows $ instead of @ (fixes #14788)
last Mar 11
76 bytes
comptime_call_tmpl_variable_scope_test.tpl
parser: template allows $ instead of @ (fixes #14788)
last Mar 11
11 bytes
comptime_call_tmpl_variable_scope_test.v
parser: template allows $ instead of @ (fixes #14788)
last Mar 11
348 bytes
comptime_call_void_test.v
comptime: fix `$if var.return_type == 1 {` (fix #24391) (#24393)
1 year ago
253 bytes
comptime_concrete_type_register_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
1.18 KB
comptime_default_value_indexexpr_test.v
checker, cgen: fix comptime issues with generic type (fix #22710, #22642) (#22751)
1 year ago
1.0 KB
comptime_enum_values_test.v
cgen: allow generic alias enum comptime (fix #25249) (#25251)
last Sep 10
1.96 KB
comptime_field_attrs_quotes_test.v
comptime: fix struct comptime remove attrs' quotation mark (fixes #24186)
last Feb 26
316 bytes
comptime_field_name_check_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
299 bytes
comptime_for_alias_methods_test.v
comptime: include parent methods in $for on alias types (fixes #25405)
last Feb 26
455 bytes
comptime_for_break_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
204 bytes
comptime_for_fixed_array_field_test.v
cgen: fix comptime $for f in t.fields over generic struct with ?[]t / ?[n]t fields (fixes #26903)
last Apr 21
2.37 KB
comptime_for_in_field_typeof_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
792 bytes
comptime_for_in_fields_FieldData_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
3.65 KB
comptime_for_lock_field_test.v
parser: fix comptime for lock shared field (fix #26143) (#26146)
last Dec 27
283 bytes
comptime_for_method_call_in_print_call_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
489 bytes
comptime_for_method_call_with_args_test.v
comptime: allow only explicit auto-expand of []string in compile-time $for loops (fixes #9278)
last Apr 15
256 bytes
comptime_for_mod_name_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
151 bytes
comptime_for_selector_array_test.v
type_resolver: fix comptime_for array generic (fix #23969) (#24089)
1 year ago
652 bytes
comptime_for_struct_field_infix_expr_test.v
cgen: fix infix expr ComptimeSelector type (fix #25659) (#25662)
last Nov 4
1.35 KB
comptime_generic_arg_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
785 bytes
comptime_generic_map_test.v
cgen: fix codegen for indexing generic map (fix #23376) (#23402)
1 year ago
375 bytes
comptime_generic_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
625 bytes
comptime_if_assign_test.v
ast,checker,cgen,parser: fix comptime $if assign expr (fix #26061) (#26242)
last Jan 4
157 bytes
comptime_if_expr_evaluate_test.v
checker: creating array as value of map must be explicit when using `<<` (fixes #18160)
last Mar 11
1.42 KB
comptime_if_expr_in_const_decl_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
141 bytes
comptime_if_fn_type_signature_test.v
Reapply "cgen: preserve option fn concrete type names (#27085)"
last May 6
1.19 KB
comptime_if_top_2_test.v
parser,fmt,markused: add top level comptime `$if` support (enable `$if platform { import module struct Abc {} }`) (#25216)
last Sep 2
1.46 KB
comptime_in_type_checking_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
1.62 KB
comptime_infer_generic_map_test.v
type_resolver: fix map generic resolver (fix #24090) (#24092)
1 year ago
322 bytes
comptime_infix_test.v
cgen,comptime: fix wrong type resolution on infix (#22804)
1 year ago
285 bytes
comptime_is_interface_check_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
547 bytes
comptime_map_generic_test.v
x.json2: replace x.json2.decode() with x.json2.decoder2.decode() (#25472)
last Oct 14
932 bytes
comptime_map_it_test.v
ci: add new job `sanitize-address-clang-without-gc` that passes `-gc none` through VFLAGS (#25780)
last Nov 20
699 bytes
comptime_match_at_expr_test.v
parser,checker: add top level comptime support for `$match @OS {` too (#25222)
last Sep 2
511 bytes
comptime_match_for_field_type_test.v
checker,cgen: add comptime match support (#25165)
last Aug 25
645 bytes
comptime_match_generic_type_test.v
checker,cgen: add comptime match support (#25165)
last Aug 25
552 bytes
comptime_match_ret_test.v
comptime: fix $compile_error on $match when used on return stmt (fix #25348) (#25358)
last Sep 21
195 bytes
comptime_match_value_check_test.v
checker,cgen: add comptime match support (#25165)
last Aug 25
1.21 KB
comptime_method_attributes_test.v
comptime: Detailed `attrs` for methods (fixes #19082)
last Apr 14
1.03 KB
comptime_method_call_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
440 bytes
comptime_methods_generic_struct_test.v
checker, cgen: fix comptime `T.methods` with generic types and interface checking with `is` operator (fix #22721) (#22724)
1 year ago
1.01 KB
comptime_name_check_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
398 bytes
comptime_on_method_arg_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
216 bytes
comptime_params_test.v
v: implement comptime regular func params traversing (support `$if T is $function { $for param in T.params {`) (#25322)
last Sep 16
547 bytes
comptime_propagate_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
739 bytes
comptime_ref_arg_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
1.66 KB
comptime_selector_generic_arg_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
673 bytes
comptime_selector_mut_test.v
cgen: fix comptime passing ?t field to generic uses wrong payload type (fixes #26900)
last Apr 21
879 bytes
comptime_selector_ptr_test.v
fmt: fix formating a file in an oscillating manner (fix #22223, fix #22026) (#22232)
1 year ago
780 bytes
comptime_smartcast_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
804 bytes
comptime_sumtype_cast_2_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
694 bytes
comptime_type_accessors_zero_new_test.v
gen: fix comptime zero/new type expression resolution (#27048)
last May 1
3.98 KB
comptime_unaliased_typ_test.v
checker: fix `T.unaliased_typ` if branch evaluation (fix #22587) (#22598)
1 year ago
1.3 KB
comptime_unwrap_test.v
checker: make `option_var.str()` an error, when done without unwrapping it first (fix #23557, fix #23558) (#23563)
1 year ago
531 bytes
comptime_if_is_interface_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
442 bytes
comptime_if_is_pointer_test.v
type_resolver: support `$if T is $pointer {` and `$if T is $voidptr {`, to make it easier to implement a pure V dump(), without cgen specific code (#24628)
1 year ago
810 bytes
comptime_if_is_test.v
type_resolver: i32 is now `$int` too (fix #24346) (#24378)
1 year ago
407 bytes
comptime_if_pkgconfig_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
140 bytes
comptime_if_pointer_binding_test.v
checker: fix dereference of T after $if T is $pointer (fixes #25619)
last Mar 25
331 bytes
comptime_if_sizeof_test.v
cgen,checker: add `$if sizeof(T) == int_literal {` support (#24831)
last Jul 2
1.61 KB
comptime_if_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
725 bytes
comptime_if_threads_no_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
114 bytes
comptime_if_threads_yes_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
115 bytes
comptime_if_top_1_test.v
parser,fmt,markused: add top level comptime `$if` support (enable `$if platform { import module struct Abc {} }`) (#25216)
last Sep 2
1.46 KB
comptime_if_top_3_test.v
parser,fmt,markused: add top level comptime `$if` support (enable `$if platform { import module struct Abc {} }`) (#25216)
last Sep 2
1.46 KB
comptime_indirections_test.v
checker: fix feat: $if (int(typeof(val).idx) >> 16) & 0xff == 0 { (fixes #20398)
last Apr 23
667 bytes
comptime_is_check_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
228 bytes
comptime_map_fields_decode_test.v
cgen: fix comptime for types not being recognized with maps correctly (fix #25742) (#25743)
last Nov 15
450 bytes
comptime_map_part_generic_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
309 bytes
comptime_map_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
3.09 KB
comptime_match_eval_only_true_branch_test.v
checker: comptime match only eval true branch (fix #25223) (#25225)
last Sep 4
211 bytes
comptime_match_for_field_value_test.v
checker,cgen: add comptime match support (#25165)
last Aug 25
314 bytes
comptime_match_generic_inside_if_test.v
checker: identify return on comptime generic match nested in if else (fix #25461) (#25462)
last Oct 8
313 bytes
comptime_match_type_2_test.v
checker,cgen: add comptime match support (#25165)
last Aug 25
543 bytes
comptime_match_type_check_test.v
checker,cgen: add comptime match support (#25165)
last Aug 25
596 bytes
comptime_match_unaliased_typ_test.v
checker: add `T.typ` and `T.unaliased_typ` checking to `$match` (fix #25200) (#25202)
last Aug 31
488 bytes
comptime_method_args_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
1.22 KB
comptime_method_call_with_check_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
483 bytes
comptime_method_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
1.21 KB
comptime_multiline_attr_test.v
cgen: fix codegen for comptime multiline attr (fix #23964) (#24087)
1 year ago
146 bytes
comptime_on_generics_func_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
383 bytes
comptime_option_field_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
229 bytes
comptime_println_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
451 bytes
comptime_ptr_field_test.v
comptime: fix codegen ptr field reading from comptimeselector (fix #25616) (#25620)
last Oct 29
584 bytes
comptime_selector_assign_test.v
cgen: fix generic return assign to ComptimeSelector (fix #25125) (#25131)
last Aug 18
368 bytes
comptime_selector_member_test.v
checker,cgen: evaluate comptime if results in checker only (with fixed -cross compilation) (#25162)
last Aug 24
736 bytes
comptime_selector_postfix_unwrap_test.v
checker: some bug with comptime (fixes #26234)
last Mar 11
347 bytes
comptime_shared_field_test.v
all: add comptime if is shared support (fix #25600) (#25602)
last Oct 27
253 bytes
comptime_smart_receiver_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
502 bytes
comptime_smartcast_var_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
317 bytes
comptime_sumtype_cast_3_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
1018 bytes
comptime_sumtype_cast_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
523 bytes
comptime_type_test.v
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158)
1 year ago
1.21 KB