0 branches
Tree
Top files
Clone with HTTPS:
assembly
vfmt: split up asm code into more granular methods, add test (#10878)
4 years ago
116 bytes
.gitattributes
fmt: fix comment line number in file with crlf line separator (fix #23524) (#25163)
last Aug 24
34 bytes
allow_const_with_decl_assign_input.vv
parser: support `const x := 123`, to make extracting locals as constants less annoying while prototyping
2 years ago
168 bytes
array_init_eol_comments_keep.vv
fmt: automatically add imports for vlib modules (fixes #23389)
last Apr 15
1.79 KB
array_init_it_input.vv
fmt: force conversion of []Type{init: it} -> []Type{init: index} (#26201)
last Dec 29
38 bytes
array_slices_expected.vv
all: fix Matlab/Pytorch/Numpy syntax for multidimensional array indexing and slicing (fixes #21628)
last Apr 23
318 bytes
array_static_keep.vv
fmt: align each contiguous field of struct. not the whole. (#7981)
5 years ago
140 bytes
attribute_call_syntax_input.vv
fix: preserve attribute call syntax in vfmt (#26769)
last Mar 30
165 bytes
cast_or_dump_arg_ending_with_comma_input.vv
parser: fix cast or dump arguments ending with comma (#14552)
4 years ago
42 bytes
chain_calls_with_comments_input.vv
fmt: fix chain calls with comments (#14470)
4 years ago
221 bytes
comments_expected.vv
fmt: fix formatting multiline comments (fix #20080) (#20084)
2 years ago
903 bytes
comments_keep.vv
fmt: fix call expr with single line comment in or expr (fix #24659) (#25159)
last Aug 23
1.37 KB
comptime_field_selector_keep.vv
all: replace generic `<>` with `[]` - part 2 (#16536)
3 years ago
238 bytes
comptime_if_after_inc_expr_keep.vv
parser: fix formatting comptime if expr, after inc expr (fix #20927) (#20931)
2 years ago
77 bytes
comptime_if_expr_script_keep.vv
fmt: add single-line ternary expr support for constants (#19681)
2 years ago
254 bytes
comptime_method_args_expected.vv
fmt: fix compiler_error('...') broken by fmt (fix #16218) (#16231)
3 years ago
70 bytes
conditional_compilation_keep_in_module.vv
fmt: fix - `v fmt` transforms compile time options in some cases (#16351)
3 years ago
138 bytes
conditional_import_expected.vv
vfmt: allow conditional selective imports (#26787)
last Mar 30
93 bytes
consts_input.vv
vfmt: fix the formatting of comments after `const` declarations (#20005)
2 years ago
905 bytes
consts_with_comments_expected.vv
v.fmt: drop newline in end comments for const (#20672)
2 years ago
140 bytes
consts_with_embedded_comments_input.vv
gg, gx: deprecate `gx` and replace all occurences with `gg` (which now contains all the functionality of `gx`) (#24966)
last Aug 14
108 bytes
donut_card_expected.vv
fmt: keep manual newlines after fn parameters in fn declarations, do not auto wrap (#21795)
1 year ago
1.54 KB
empty_curlies_and_parens_keep.vv
vfmt: allow single line defer {}, just like or {}
2 years ago
322 bytes
enum_comments_keep.vv
vfmt: add _keep.vv tests for the recent fixes, to prevent regressions
5 years ago
251 bytes
enum_decl_with_comment_input.vv
parser: fix formatting enum and interface decl with comments (#20216)
2 years ago
39 bytes
enum_fields_with_empty_line_2_keep.vv
fmt: fix formating a file in an oscillating manner (fix #22223, fix #22026) (#22232)
1 year ago
186 bytes
enums_expected.vv
parser,fmt,markused: add top level comptime `$if` support (enable `$if platform { import module struct Abc {} }`) (#25216)
last Sep 2
62 bytes
expressions_input.vv
v: refactor $var to ${var} across entire repository, make vfmt always output the newer form `${expr}` (#26494)
last Feb 1
2.96 KB
extra_par_expr_input.vv
fmt: remove all unnecessary parenthesis at once, instead of one pair at a time (#18441)
3 years ago
162 bytes
fixed_array_new_syntax_keep.vv
checker: implement syntax change for fixed arrays (fixes #25183)
last Apr 15
170 bytes
fn_call_with_call_expr_and_params_struct_args_keep.vv
all: update remaining deprecated attr syntax (#19908)
2 years ago
110 bytes
fn_headers_with_comments_keep.vv
fmt: keep trailing comments after fn header decl (#13596)
4 years ago
121 bytes
fn_return_generic_struct_keep.vv
fmt: fix alignment of struct init fields (#22025)
1 year ago
611 bytes
fn_return_parentheses_expected.vv
fmt: remove unnecessary parentheses after `return` (fix #11423) (#11435)
4 years ago
139 bytes
fn_trailing_arg_syntax_expected.vv
fmt: fix alignment of struct init fields (#22025)
1 year ago
618 bytes
fn_trailing_arg_syntax_keep.vv
fmt: fix alignment of struct init fields (#22025)
1 year ago
872 bytes
fn_types_list_ending_with_comma_expected.vv
fmt: fix fn return types list ending with comma (#14529)
4 years ago
65 bytes
fn_with_end_comments_keep.vv
fmt: fix formating of fn decl with end comments (#18181)
3 years ago
149 bytes
fn_with_mut_ref_params_keep.vv
fmt: add fn_with_mut_ref_params_keep.vv (#21711)
1 year ago
179 bytes
fntype_alias_array_keep.vv
vfmt: fix `type MyFn = fn (int) int mut arr := []MyFn{}`
5 years ago
64 bytes
functions_expected_new_int.vv
vfmt: add support for 64bit int with `-new_int` (part 2) (#25298)
last Sep 13
959 bytes
generic_recursive_structs_keep.vv
fmt: fix alignment of struct init fields (#22025)
1 year ago
377 bytes
generics_cascade_types_keep.vv
all: replace generic `<>` with `[]` - part 2 (#16536)
3 years ago
465 bytes
if_array_contains_expected.vv
fmt: fix unnecessary line break in array init (fix #11448) (#11562)
4 years ago
148 bytes
if_brace_on_newline_expected.vv
fmt: put the opening brace on a new line again for infix (#8336)
5 years ago
241 bytes
import_auto_with_shebang_and_comment_above_imports_input.vv
fmt: fix autoimport with shebang and comments above other imports (#21050)
2 years ago
65 bytes
import_auto_with_shebang_input.vv
fmt: insert auto imports after shebang (#21038)
2 years ago
47 bytes
import_multiple_imports_at_one_line_expected.vv
parser: fix mutiple imports at one line (#24241)
1 year ago
70 bytes
import_selective_expected.vv
fmt: fix removal of selective imported types, used as array elements (#16963)
3 years ago
1.79 KB
import_selective_keep.vv
checker: make `byte(0)` an error; use `u8(0)` (fix #23236) (#23311)
1 year ago
325 bytes
import_selective_with_func_call_args_keep.vv
vfmt,parser: move mark used from vfmt to parser (#25190)
last Aug 30
115 bytes
import_submod_from_vmodule_src_dir_keep.vv
fmt: fix formatting for imports of submodule from module `src` dir (#21060)
2 years ago
23 bytes
import_with_symbol_of_struct_keep.vv
all: replace generic `<>` with `[]` - part 2 (#16536)
3 years ago
65 bytes
infix_expr_and_op_expected.vv
checker, fmt: check infix_expr with 'and' op (#15466)
3 years ago
62 bytes
infix_expr_expected.vv
fmt: automatically add imports for vlib modules (fixes #23389)
last Apr 15
1.45 KB
inline_comment_expected.vv
vfmt: allow for automatic inline -> line comment reformatting (#25500)
last Oct 15
31 bytes
interface_decl_with_comment_expected.vv
parser, fmt: fix parsing of interface with comment above `mut:` keyword (#21062)
2 years ago
78 bytes
interface_declaration_comments_keep.vv
fmt: fix interface fields/methods alignment (#22055)
1 year ago
1.38 KB
interface_js_interop_method_keep.vv
parser, fmt: parse methods on JS interfaces, write JS method bodies (#21088)
2 years ago
247 bytes
interface_method_with_fntype_arg_keep.vv
vfmt: change all '$expr' to '${expr}' (#16428)
3 years ago
260 bytes
interface_variadic_keep.vv
parser: fix parsing interface methods with varargs (#8229)
5 years ago
75 bytes
interface_with_empty_newline_2_keep.vv
fmt: fix interface fields or methods with empty newlines (#22046)
1 year ago
134 bytes
json_decode_fmt_keep.vv
db, json, time, term: change optional to result (#16201)
3 years ago
261 bytes
lock_input.vv
v fmt: fix extra space for lock/rlock without expressions (#16103)
3 years ago
429 bytes
long_sumtype_expected.vv
fmt: format long sum-types with a line for each type (#11461)
4 years ago
221 bytes
manualfree_keep.vv
fmt: change manualfree_keep.v to manaulfree_keep.vv (#22190)
1 year ago
201 bytes
map_of_strings_to_enums_init_with_utf8_keys_keep.vv
vfmt: fix alignment of value formatting for "x := {`.`: 1, `♖`: 2}"
3 years ago
384 bytes
maps_keep.vv
vlib: remove deprecated map{} usages as well as deprecated functions (#11035)
4 years ago
191 bytes
match_with_multi_commented_branches_keep.vv
parser, fmt: fix match with multi-commmented branchs (#19898)
2 years ago
639 bytes
missing_import_input.vv
fmt: automatically add imports for vlib modules (fixes #23389)
last Apr 15
36 bytes
multiline_comment_1_keep.vv
fmt: fix formatting multiline comments (fix #20080) (#20084)
2 years ago
310 bytes
new_int_expected_new_int.vv
vfmt: add support for 64bit int with `-new_int` (part 2) (#25298)
last Sep 13
88 bytes
old_attrs_to_new_input.vv
vfmt: automate transition from the old `[attribute]` to the new `@[attribute]` syntax (#19912)
2 years ago
508 bytes
orm_update_multiline_fn_input.vv
fmt: fix format line break for ORM update with multiline function (fixes #25883)
last Apr 15
385 bytes
proto_module_importing_vproto_keep.vv
vfmt: fix deep nested map types, using f.table.type_to_str
5 years ago
579 bytes
receiver_state_keep.vv
fmt: fix shared receiver formatting (fix #23151) (#23153)
1 year ago
73 bytes
semicolons_input.vv
all: support `;` statements, allowing for oneliners like `./v -e 'import os; println( os.ls(os.args[1])!.sorted(a > b) )' vlib/math` (#19345)
2 years ago
48 bytes
sqlstmt_comments_keep.vv
fmt: add support for comments inside `sql db { ... }` blocks (fix #22601) (#22602)
1 year ago
312 bytes
stmt_keep.vv
fmt: do not write single line or blocks with multi line stmts (#8952)
5 years ago
199 bytes
string_interpolation_expected.vv
vfmt: change all '$expr' to '${expr}' (#16428)
3 years ago
592 bytes
string_intp_with_result_keep.vv
ast: fix string interpolation fmt with result call (#15467)
3 years ago
64 bytes
string_quotes_input.vv
fmt: fix wrong processing of quotes, when formatting string literals (fix #16017) (#16018)
3 years ago
703 bytes
strings_name_variable_call_keep.vv
fmt: fix 'strings' name variable call generate auto import (fix #9713) (#14485)
4 years ago
70 bytes
struct_decl_with_comments_expected.vv
parser: fix formatting struct decl with comments (#20207)
2 years ago
68 bytes
struct_decl_with_comments_keep.vv
ast, parser, fmt: fix formatting struct declaration with comments (fix #18982) (#18992)
2 years ago
167 bytes
struct_decl_with_nested_struct_keep.vv
ast: fix segfault while formatting a struct declaration with a nested struct (#19592)
2 years ago
73 bytes
struct_default_field_expressions_keep.vv
fmt: fix and simplify align of struct fields (#21995)
1 year ago
210 bytes
struct_end_comments_keep.vv
fmt: fix comment handling on ending of struct decl (fix #23947) (#23948)
1 year ago
267 bytes
struct_fixed_array_ident_keep.vv
fmt: fix formatting fixed array size of struct member (#22815)
1 year ago
194 bytes
struct_init_with_comments_keep.vv
fmt: cleanup fields comments alignment and add ignore_newline config (#22027)
1 year ago
417 bytes
struct_init_with_newline_and_comments_1_keep.vv
fmt: fix enum/struct_decl/struct_init fields with empty newlines (#22051)
1 year ago
382 bytes
struct_init_with_ref_cast_keep.vv
fmt: add struct init keep test, fix another &&Foo bug
6 years ago
208 bytes
structs_comments_keep.vv
fmt: fix formating a file in an oscillating manner (fix #22223, fix #22026) (#22232)
1 year ago
758 bytes
thread_in_a_module_keep.vv
vfmt: keep `module mymodule ... x := []thread MyStruct{}` as it is
4 years ago
317 bytes
too_long_infix_expressions_keep.vv
vfmt: fix inconsistent wrapping of lines with + and - (fixes #25992)
last Mar 25
1.11 KB
anon_struct_as_param_expected.vv
fmt: fix anonymous struct in parameter with invalid type name. fix #15696 (#15711)
3 years ago
112 bytes
anon_struct_as_param_input.vv
fmt: fix anonymous struct in parameter with invalid type name. fix #15696 (#15711)
3 years ago
104 bytes
anon_struct_as_param_with_fn_attrs_keep.vv
all: update attributes to use new syntax
2 years ago
197 bytes
anon_fn_input.vv
v: refactor $var to ${var} across entire repository, make vfmt always output the newer form `${expr}` (#26494)
last Feb 1
608 bytes
anon_fn_result_return_with_comment_keep.vv
parser: fix anon fn return type option/result followed by comment parsing in vfmt mode (fix #23607) (#23608)
1 year ago
422 bytes
anon_fn_with_if_expr_expected.vv
fmt: fix fmt error of anon fn with if expr (fix #14393) (#14413)
4 years ago
95 bytes
anon_fn_with_if_expr_input.vv
fmt: fix fmt error of anon fn with if expr (fix #14393) (#14413)
4 years ago
88 bytes
additive_infix_wrap_expected.vv
vfmt: fix inconsistent wrapping of lines with + and - (fixes #25992)
last Mar 25
289 bytes
allow_const_with_decl_assign_expected.vv
parser: support `const x := 123`, to make extracting locals as constants less annoying while prototyping
2 years ago
163 bytes
array_init_comment_ending_keep.vv
fmt: fix formating a file in an oscillating manner (fix #22223, fix #22026) (#22232)
1 year ago
564 bytes
array_init_expected.vv
vfmt: Array initializers should be indented (fixes #24091)
last Mar 11
1.18 KB
array_init_it_expected.vv
fmt: force conversion of []Type{init: it} -> []Type{init: index} (#26201)
last Dec 29
41 bytes
array_init_keep.vv
vlib: remove deprecated map{} usages as well as deprecated functions (#11035)
4 years ago
188 bytes
array_option_anon_struct_keep.vv
vfmt: fix formatting for an option array of anon structs (fix #23841) (#23844)
1 year ago
247 bytes
array_slices_input.vv
all: fix Matlab/Pytorch/Numpy syntax for multidimensional array indexing and slicing (fixes #21628)
last Apr 23
357 bytes
asserts_keep.vv
vmft2: support for multiline comments, CompIf, AssertStmt, octal literals
6 years ago
93 bytes
attribute_call_syntax_expected.vv
fix: preserve attribute call syntax in vfmt (#26769)
last Mar 30
165 bytes
translated_module_expected.vv
vfmt: add support for 64bit int with `-new_int` (part 2) (#25298)
last Sep 13
98 bytes
translated_module_input.vv
vfmt: add support for 64bit int with `-new_int` (part 2) (#25298)
last Sep 13
113 bytes
vfmt_off_vfmt_on_keep.vv
vfmt: implement support for // vfmt off and // vfmt on, with it, `v fmt -w .` now works. (#16335)
3 years ago
2.38 KB
vfmt_off_vfmt_on_with_crlf_input.vv
fmt: fix comment line number in file with crlf line separator (fix #23524) (#25163)
last Aug 24
123 bytes
vscript_keep.vv
fmt: keep same line comments after arr.sort() in vsh files (#8026)
5 years ago
155 bytes
attribute_call_syntax_keep.vv
revert: deprecated_after attribute change (fixes #19138) - incomplete, breaks time/format.v
last Apr 14
398 bytes
attrs_keep.vv
revert: deprecated_after attribute change (fixes #19138) - incomplete, breaks time/format.v
last Apr 14
702 bytes
blocks_keep.vv
fmt: fix formating non-unsafe blocks with break line (fix #22900) (#22903)
1 year ago
208 bytes
c_varargs_keep.vv
v: improve C var args interop, allow for `fn f(some int, ...) {` (#21812)
1 year ago
369 bytes
cast_or_dump_arg_ending_with_comma_expected.vv
parser: fix cast or dump arguments ending with comma (#14552)
4 years ago
39 bytes
chain_calls_with_comments_expected.vv
fmt: fix chain calls with comments (#14470)
4 years ago
167 bytes
comments_input.vv
fmt: fix enum/struct_decl/struct_init fields with empty newlines (#22051)
1 year ago
939 bytes
comptime_field_selector_parentheses_keep.vv
all: replace generic `<>` with `[]` - part 2 (#16536)
3 years ago
238 bytes
comptime_if_duplicate_method_keep.vv
fmt: fix parser failing on duplicate methods in $if/$else blocks (fix #26271) (#26278)
last Jan 7
556 bytes
comptime_if_top_enum_empty_line_keep.vv
parser,fmt,markused: add top level comptime `$if` support (enable `$if platform { import module struct Abc {} }`) (#25216)
last Sep 2
175 bytes
comptime_method_args_input.vv
fmt: fix compiler_error('...') broken by fmt (fix #16218) (#16231)
3 years ago
70 bytes
comptime_value_keep.vv
comptime: support `-d ident=value` and `var := $d('ident', 0)` (#21685)
1 year ago
179 bytes
conditional_compilation_keep.vv
vfmt: fix eating ? in `$if x ? {}`, missing newline in `__global ...`
6 years ago
446 bytes
consts_after_linebreak_expected.vv
fmt: add linebreak after const decl (fix #20157) (#20162)
2 years ago
146 bytes
consts_after_linebreak_input.vv
fmt: add linebreak after const decl (fix #20157) (#20162)
2 years ago
143 bytes
consts_expected.vv
vfmt: fix the formatting of comments after `const` declarations (#20005)
2 years ago
1005 bytes
consts_with_comments_end_keep.vv
v.fmt: drop newline in end comments for const (#20672)
2 years ago
62 bytes
consts_with_comments_input.vv
v.fmt: drop newline in end comments for const (#20672)
2 years ago
139 bytes
consts_with_embedded_comments_expected.vv
gg, gx: deprecate `gx` and replace all occurences with `gg` (which now contains all the functionality of `gx`) (#24966)
last Aug 14
81 bytes
defer_mode_expected.vv
checker: error/warn when using `defer(fn)` inside function-scope and `lock` stmts (#25681)
last Nov 8
305 bytes
do_not_change_type_names_that_just_happen_to_have_the_module_as_a_substring_keep.vv
fmt: remove the prefixed module name of const names, that are in the same module (related #22183) (#22185)
1 year ago
4.62 KB
embed_file_keep.vv
vfmt: fix eating .zlib in `$embed_file('v.png', .zlib)` (#12794)
4 years ago
265 bytes
empty_map_fmt_keep.vv
fmt: preserve formatting with comments in a empty map (#13362)
4 years ago
90 bytes
enum_decl_with_comment_expected.vv
parser: fix formatting enum and interface decl with comments (#20216)
2 years ago
38 bytes
enum_fields_with_empty_line_1_keep.vv
fmt: fix formating a file in an oscillating manner (fix #22223, fix #22026) (#22232)
1 year ago
109 bytes
expressions_expected.vv
fmt: keep manual newlines after fn parameters in fn declarations, do not auto wrap (#21795)
1 year ago
3.01 KB
extra_par_expr_expected.vv
fmt: remove all unnecessary parenthesis at once, instead of one pair at a time (#18441)
3 years ago
126 bytes
file_with_just_imports_keep.vv
fmt: fix file with just imports (fix #14267) (#14513)
4 years ago
39 bytes
fn_call_concrete_type_keep.vv
fmt: keep `C.` prefix for concrete type used in a generic fn call (#22517)
1 year ago
223 bytes
fn_headers_with_comments_expected.vv
fmt: fix formatting multiline comments (fix #20080) (#20084)
2 years ago
230 bytes
fn_parameter_the_same_as_a_module_const_keep.vv
fmt: preserve local fn parameter, when a module const with the same name is declared
4 years ago
148 bytes
fn_return_parentheses_input.vv
fmt: remove unnecessary parentheses after `return` (fix #11423) (#11435)
4 years ago
141 bytes
fn_trailing_arg_syntax_input.vv
vlib: remove deprecated map{} usages as well as deprecated functions (#11035)
4 years ago
568 bytes
fn_type_attributes_and_calling_convention_keep.vv
all: update attributes to use new syntax
2 years ago
209 bytes
fn_types_list_ending_with_comma_input.vv
fmt: fix fn return types list ending with comma (#14529)
4 years ago
67 bytes
fn_with_c_binding_type_args_keep.vv
fmt: add a test for fn with c binding type args (#22212)
1 year ago
67 bytes
fn_with_long_args_keep.vv
fmt: implement wrapping function's super long arguments (fix #15545, fix #21643) (#21782)
1 year ago
483 bytes
fn_with_variadic_arg_expected.vv
parser: fix formating fn with variadic argument (#15900)
3 years ago
34 bytes
fn_with_variadic_arg_input.vv
parser: fix formating fn with variadic argument (#15900)
3 years ago
36 bytes
fntype_alias_keep.vv
gg, gx: deprecate `gx` and replace all occurences with `gg` (which now contains all the functionality of `gx`) (#24966)
last Aug 14
1.37 KB
gated_array_keep.vv
all: Allow negative indexing of array like `arr#[-1]` (fixes #24066)
last Apr 14
155 bytes
generic_struct_init_keep.vv
all: replace generic `<>` with `[]` - part 2 (#16536)
3 years ago
77 bytes
generic_structs_using_mod_keep.vv
all: replace generic `<>` with `[]` - part 2 (#16536)
3 years ago
112 bytes
generics_fntype_keep.vv
ast, parser, fmt: fix fmt error of generic fntype (#17814)
3 years ago
409 bytes
hashstmt_keep.vv
v,ast,fmt,parser: support `@[tag]` for hash statements, like `#define` and `#flag` (#23210)
1 year ago
398 bytes
if_array_contains_input.vv
fmt: fix unnecessary line break in array init (fix #11448) (#11562)
4 years ago
139 bytes
if_brace_on_newline_input.vv
fmt: put the opening brace on a new line again for infix (#8336)
5 years ago
234 bytes
if_keep.vv
parser,fmt: fix regression with non-void arrays in if conditions (#9161)
5 years ago
195 bytes
if_ternary_keep.vv
vfmt: fix single-line short if expressions forced to multi-line (fixes #26915)
last Apr 21
1.04 KB
if_ternary_return_keep.vv
fmt: fix `if x := g() { x } else { return }` adding newline after `return` (fix #24908) (#24945)
last Jul 22
94 bytes
import_auto_with_shebang_and_comment_above_imports_expected.vv
fmt: fix autoimport with shebang and comments above other imports (#21050)
2 years ago
76 bytes
import_auto_with_shebang_expected.vv
fmt: insert auto imports after shebang (#21038)
2 years ago
60 bytes
import_duplicate_expected.vv
fmt: fix duplicates remove import comments (#21177)
2 years ago
234 bytes
import_multiple_imports_at_one_line_input.vv
parser: fix mutiple imports at one line (#24241)
1 year ago
70 bytes
import_rand_and_rand_seed_keep.vv
fmt: fix using rand.seed() when import rand and rand.seed (#14511)
4 years ago
80 bytes
import_selective_input.vv
all: check error of generic symbol and cleanup generic symbol (fix #23072) (#23178)
1 year ago
1.76 KB
import_selective_map_keep.vv
vfmt: fix fmt for map value type using select import symbol (fix #20449) (#20451)
2 years ago
72 bytes
import_selective_with_implements_keep.vv
fmt: fix import selective with interface implements (fix formatting part of #22200) (#22209)
1 year ago
173 bytes
import_with_symbols_keep.vv
fmt: fix import with symbols (fix #12065) (#12069)
4 years ago
264 bytes
infix_expr_and_op_input.vv
checker, fmt: check infix_expr with 'and' op (#15466)
3 years ago
69 bytes
infix_expr_keep.vv
fmt: proper infix operator detection in wrapping logic (#9824)
5 years ago
745 bytes
infix_expr_with_comments_keep.vv
parser: fix infix expr comment in middle (fix #24183) (#25671)
last Nov 5
825 bytes
inline_comment_input.vv
vfmt: allow for automatic inline -> line comment reformatting (#25500)
last Oct 15
33 bytes
interface_anon_struct_decl_keep.vv
fmt: keep anon struct decl fields in interfaces (#19461)
2 years ago
47 bytes
interface_decl_with_comment_input.vv
parser, fmt: fix parsing of interface with comment above `mut:` keyword (#21062)
2 years ago
79 bytes
interface_fields_with_pre_comments_keep.vv
parser, fmt: fix formatting interface fields with pre-comments (fix #18980) (#18988)
2 years ago
126 bytes
interface_method_with_pre_comments_keep.vv
parser, fmt: fix formatting interface method with pre-comments (#18998)
2 years ago
231 bytes
interface_with_empty_newline_1_keep.vv
fmt: fix interface fields or methods with empty newlines (#22046)
1 year ago
105 bytes
interface_with_mut_fields_keep.vv
fmt: preserve method receiver mutability in interface decls (#11222)
4 years ago
48 bytes
keyword_attr_keep.vv
parser: allow `type` and other keywords as plain attr value (fix #23150) (#23154)
1 year ago
132 bytes
lock_expected.vv
v fmt: fix extra space for lock/rlock without expressions (#16103)
3 years ago
376 bytes
long_assign_wrap_expected.vv
vfmt: fix inconsistent wrapping of long lines (fixes #16543)
last Mar 25
1.06 KB
long_sumtype_input.vv
fmt: format long sum-types with a line for each type (#11461)
4 years ago
214 bytes
map_value_with_option_result_expected.vv
all: change optional to option (#16914)
3 years ago
203 bytes
maps_expected.vv
parser: vfmt "breaks" invalid code with map of `[]u8` with `cap:` instead of giving error (fixes #24055)
last Apr 14
2.69 KB
maps_input.vv
parser: vfmt "breaks" invalid code with map of `[]u8` with `cap:` instead of giving error (fixes #24055)
last Apr 14
2.6 KB
maps_of_fns_with_string_keys_keep.vv
vlib: remove deprecated map{} usages as well as deprecated functions (#11035)
4 years ago
169 bytes
match_with_commented_branches_keep.vv
token: rename Position to Pos, rename position() to pos() (#13279)
4 years ago
845 bytes
missing_import_expected.vv
fmt: automatically add imports for vlib modules (fixes #23389)
last Apr 15
49 bytes
multi_generic_test_keep.vv
all: replace generic `<>` with `[]` - part 2 (#16536)
3 years ago
26 bytes
multiline_comment_2_keep.vv
fmt: fix formatting multiline comments (fix #20080) (#20084)
2 years ago
35 bytes
new_int_expected.vv
vfmt: add support for 64bit int with `-new_int` (part 2) (#25298)
last Sep 13
88 bytes
new_int_input.vv
vfmt: add support for 64bit int with `-new_int` (part 2) (#25298)
last Sep 13
89 bytes
old_attrs_to_new_expected.vv
vfmt: automate transition from the old `[attribute]` to the new `@[attribute]` syntax (#19912)
2 years ago
511 bytes
operator_overload_keep.vv
all: add operator overloading for `[]` (fixes #23177)
last Apr 14
306 bytes
orm_update_multiline_fn_expected.vv
fmt: fix format line break for ORM update with multiline function (fixes #25883)
last Apr 15
412 bytes
pointer_casts_keep.vv
checker: do not allow &u8(0), force nil like we do with &Type(0)
1 year ago
842 bytes
ref_type_cast_keep.vv
vfmt: add _keep.vv tests for the recent fixes, to prevent regressions
5 years ago
153 bytes
semicolons_expected.vv
all: support `;` statements, allowing for oneliners like `./v -e 'import os; println( os.ls(os.args[1])!.sorted(a > b) )' vlib/math` (#19345)
2 years ago
45 bytes
shorten_longer_module_paths_first_keep.vv
vfmt: fix formatting of submodules with common prefixes (fix #15582)
3 years ago
250 bytes
string_interpolation_complex_keep.vv
vfmt: change all '$expr' to '${expr}' (#16428)
3 years ago
199 bytes
string_interpolation_keep.vv
cgen: dynamic string interpolation format specifiers (fixes #19077)
last Mar 11
593 bytes
string_quotes_expected.vv
fmt: fix wrong processing of quotes, when formatting string literals (fix #16017) (#16018)
3 years ago
699 bytes
struct_decl_with_comments_input.vv
parser: fix formatting struct decl with comments (#20207)
2 years ago
90 bytes
struct_decl_with_const_default_value_and_comments_keep.vv
ast: fix const field str() (#22192)
1 year ago
1.26 KB
struct_decl_with_newline_and_comments_keep.vv
fmt: fix enum/struct_decl/struct_init fields with empty newlines (#22051)
1 year ago
216 bytes
struct_embed_keep.vv
fmt: fix removal of comment before embed in struct (#11384)
4 years ago
252 bytes
struct_fixed_array_enum_cast_keep.vv
fmt: keep enum name when stringifying fixed-array size expressions (#27106)
last May 7
165 bytes
struct_init_with_custom_len_keep.vv
vfmt: change all '$expr' to '${expr}' (#16428)
3 years ago
174 bytes
struct_init_with_newline_and_comments_2_keep.vv
fmt: fix enum/struct_decl/struct_init fields with empty newlines (#22051)
1 year ago
444 bytes
struct_init_with_update_expr_comment_keep.vv
parser: fix vfmt comment in struct init after the update expr (fix #24361) (#25668)
last Nov 5
226 bytes
struct_update_comment_keep.vv
fmt: fix alignment of struct init fields (#22025)
1 year ago
165 bytes
struct_with_array_of_anon_struct_field_decl_keep.vv
parser, fmt: fix fmt in struct declarations with a fields, declared to be arrays of anonymous structs (fix #16947) (#16952)
3 years ago
114 bytes
translated_module_expected_new_int.vv
vfmt: add support for 64bit int with `-new_int` (part 2) (#25298)
last Sep 13
98 bytes
type_decl_with_anon_struct_keep.vv
ast, fmt: fix formatting type decl with anon struct 2 (related #19356) (#19364)
2 years ago
189 bytes
union_with_nested_union_keep.vv
parser,ast,cgen: support nested unions with `field union {`, to improve interoperability with C (similar to `field struct {`) (#23539)
1 year ago
98 bytes
vfmt_off_first_line_trailing_comment_keep.vv
vfmt: fix first line after // vfmt off being replaced (fixes #23629)
last Mar 25
65 bytes