v/vlib/v/fmt/tests
yuyi 7c46e94b25
parser: fix fmt error for json decode (#14520)
2022-05-25 12:55:03 +02:00
..
assembly vfmt: split up asm code into more granular methods, add test (#10878) 2021-07-23 08:58:06 +03:00
obj fmt: fix error of generic struct_init using module (fix #12893) (#12935) 2021-12-22 19:11:09 +02:00
anon_fn_as_param_keep.vv fmt: keep names of parameters in anonymus function (#10173) 2021-05-23 05:54:39 +03:00
anon_fn_call_keep.vv fmt: fix anon fn call (#6120) 2020-08-13 20:05:59 +02:00
anon_fn_expected.vv fmt: fix tests 2020-10-15 12:45:34 +02:00
anon_fn_input.vv fmt: fix tests 2020-10-15 12:45:34 +02:00
anon_fn_with_if_expr_expected.vv fmt: fix fmt error of anon fn with if expr (fix #14393) (#14413) 2022-05-16 09:48:21 +03:00
anon_fn_with_if_expr_input.vv fmt: fix fmt error of anon fn with if expr (fix #14393) (#14413) 2022-05-16 09:48:21 +03:00
array_decomposition_keep.vv parser: change array decompose syntax (#7965) 2021-01-09 22:48:23 +01:00
array_init_comment_ending_keep.vv vfmt: fix array_init line wrapping (#14154) 2022-04-25 08:11:44 +03:00
array_init_comments_expected.vv vfmt: fix bug where duplicated comma is placed before comment in array init (#12281) 2021-10-24 12:05:34 +03:00
array_init_comments_input.vv vfmt: fix bug where duplicated comma is placed before comment in array init (#12281) 2021-10-24 12:05:34 +03:00
array_init_eol_comments_keep.vv scanner: no longer allow `1.` float literals (#11301) 2021-08-25 14:39:37 +03:00
array_init_expected.vv vfmt: fix array_init line wrapping (#14154) 2022-04-25 08:11:44 +03:00
array_init_inline_comments_keep.vv vfmt: fix `match x { 10 /* ... */ {} }` and `a := [1/* x */, /* y */2, 3]` 2020-11-11 22:59:43 +02:00
array_init_input.vv vfmt: fix array_init line wrapping (#14154) 2022-04-25 08:11:44 +03:00
array_init_keep.vv vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
array_newlines_keep.vv tests: use u8 everywhere 2022-04-15 18:34:15 +03:00
array_slices_expected.vv fmt: lots of fixes 2020-04-25 17:49:16 +02:00
array_slices_input.vv fmt: lots of fixes 2020-04-25 17:49:16 +02:00
array_static_keep.vv fmt: align each contiguous field of struct. not the whole. (#7981) 2021-01-12 04:38:43 +01:00
asserts_expected.vv fmt: remove unnecessary paren in assert stmt (#12546) 2021-11-23 07:30:54 +02:00
asserts_input.vv fmt: remove unnecessary paren in assert stmt (#12546) 2021-11-23 07:30:54 +02:00
asserts_keep.vv vmft2: support for multiline comments, CompIf, AssertStmt, octal literals 2020-03-24 22:18:58 +01:00
attrs_expected.vv fmt: fix removal of attrs with comments afterwards (#9255) 2021-03-11 21:44:33 +01:00
attrs_input.vv fmt: fix removal of attrs with comments afterwards (#9255) 2021-03-11 21:44:33 +01:00
attrs_keep.vv fmt: fix backslash doubling in attribute string args (#9175) 2021-03-07 09:44:58 +02:00
bin2v_keep.vv fmt: test bin2v output formatting (#7926) 2021-01-07 21:36:59 +01:00
blocks_expected.vv fmt: don't add newlines for UnsafeExpr (#6048) 2020-08-04 00:29:10 +02:00
blocks_input.vv fmt: don't add newlines for UnsafeExpr (#6048) 2020-08-04 00:29:10 +02:00
c_struct_init_keep.vv vfmt: add _keep.vv tests for the recent fixes, to prevent regressions 2020-07-02 17:50:21 +03:00
cast_expected.vv v.fmt: keep selective type imports used for casting (#10597) 2021-06-28 13:21:26 +03:00
cast_input.vv fmt: don't prepend mod when cast with selective imported types (#9109) 2021-03-04 12:33:52 +02:00
chain_calls_with_comments_expected.vv fmt: fix chain calls with comments (#14470) 2022-05-25 12:54:57 +02:00
chain_calls_with_comments_input.vv fmt: fix chain calls with comments (#14470) 2022-05-25 12:54:57 +02:00
chan_init_keep.vv fmt: do not remove chan type of struct fields (#8948) 2021-02-24 20:26:12 +02:00
chan_ops_keep.vv fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
chan_or_keep.vv fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
char_literal_keep.vv fmt: keep char literal, `'` (#11060) 2021-08-06 06:21:28 +03:00
closure_keep.vv all: initial support for closures (x64 / linux-only) (#11114) 2021-08-10 21:27:15 +03:00
comments_array_keep.vv fmt: prevent rare code corruption with array pre comments (#9908) 2021-04-29 08:28:44 +03:00
comments_expected.vv parser, vfmt: multi line comments are not treated as follow-up comments anymore (#9892) 2021-04-29 09:48:08 +03:00
comments_input.vv parser, vfmt: multi line comments are not treated as follow-up comments anymore (#9892) 2021-04-29 09:48:08 +03:00
comments_keep.vv vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
comptime_field_selector_keep.vv parser: add warning for s.$field.name without brackets (#8411) 2021-01-30 12:56:10 +01:00
comptime_field_selector_parentheses_keep.vv all: implement basic comptime field selector (#7888) 2021-01-05 16:11:43 +02:00
comptime_keep.vv tests: use u8 everywhere 2022-04-15 18:34:15 +03:00
concat_expr_expected.vv fmt: better ternary concat wrapping (#8379) 2021-01-28 11:23:48 +01:00
concat_expr_input.vv fmt: better ternary concat wrapping (#8379) 2021-01-28 11:23:48 +01:00
conditional_compilation_keep.vv vfmt: fix eating ? in `$if x ? {}`, missing newline in `__global ...` 2020-05-01 12:29:23 +03:00
conditions_expected.vv fmt: lots of fixes 2020-04-25 17:49:16 +02:00
conditions_input.vv fmt: lots of fixes 2020-04-25 17:49:16 +02:00
consts_expected.vv v.checker: deprecate `$if linux_or_macos {` in favor of `$if linux || macos {` 2021-05-08 21:00:21 +03:00
consts_input.vv v.checker: deprecate `$if linux_or_macos {` in favor of `$if linux || macos {` 2021-05-08 21:00:21 +03:00
consts_keep.vv fmt: reset const field align after multi line exprs (#9916) 2021-04-29 02:17:37 +03:00
consts_with_comments_expected.vv fmt: improve single line const comment placement (#13595) 2022-02-25 14:46:12 +02:00
consts_with_comments_input.vv fmt: improve single line const comment placement (#13595) 2022-02-25 14:46:12 +02:00
consts_with_comments_keep.vv fmt: improve single line const comment placement (#13595) 2022-02-25 14:46:12 +02:00
consts_with_embeded_comments_expected.vv ast, parser, fmt: fix formatting of consts with embedded comments (#14008) 2022-04-11 17:27:41 +03:00
consts_with_embeded_comments_input.vv ast, parser, fmt: fix formatting of consts with embedded comments (#14008) 2022-04-11 17:27:41 +03:00
embed_file_keep.vv vfmt: fix eating .zlib in `$embed_file('v.png', .zlib)` (#12794) 2021-12-11 15:21:26 +02:00
empty_curlies_and_parens_keep.vv fmt: keep empty curlies and parenthesis as they are (#7329) 2020-12-22 23:43:48 +01:00
empty_lines_expected.vv fmt: respect user choice of empty lines between type declarations (#9135) 2021-03-06 21:05:55 +02:00
empty_lines_input.vv fmt: respect user choice of empty lines between type declarations (#9135) 2021-03-06 21:05:55 +02:00
empty_lines_keep.vv fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
empty_map_fmt_keep.vv fmt: preserve formatting with comments in a empty map (#13362) 2022-02-05 10:05:35 +02:00
enum_comments_keep.vv vfmt: add _keep.vv tests for the recent fixes, to prevent regressions 2020-07-02 17:50:21 +03:00
enums_expected.vv fmt: split tests 2020-03-08 15:57:16 +01:00
enums_input.vv fmt: split tests 2020-03-08 15:57:16 +01:00
expressions_expected.vv fmt: proper single line check for ConcatExpr (#9121) 2021-03-05 15:36:49 +03:00
expressions_input.vv fmt: proper single line check for ConcatExpr (#9121) 2021-03-05 15:36:49 +03:00
extra_par_expr_expected.vv fmt: remove extra parentheses (#14125) 2022-04-21 18:20:32 +03:00
extra_par_expr_input.vv fmt: remove extra parentheses (#14125) 2022-04-21 18:20:32 +03:00
file_with_just_imports_keep.vv fmt: fix file with just imports (fix #14267) (#14513) 2022-05-25 12:55:02 +02:00
fixed_size_array_type_keep.vv tests: use u8 everywhere 2022-04-15 18:34:15 +03:00
float_literals_expected.vv fmt: format '1.' to '1.0' (#11312) 2021-08-26 07:18:27 +03:00
float_literals_input.vv ci: fix fmt_test.v 2022-04-15 21:16:31 +03:00
fn_headers_with_comments_expected.vv fmt: keep trailing comments after fn header decl (#13596) 2022-02-25 16:36:48 +03:00
fn_headers_with_comments_input.vv fmt: keep trailing comments after fn header decl (#13596) 2022-02-25 16:36:48 +03:00
fn_headers_with_comments_keep.vv fmt: keep trailing comments after fn header decl (#13596) 2022-02-25 16:36:48 +03:00
fn_headers_with_inline_comments_expected.vv parser, fmt: fix the formatting of fn headers with inline comments (#14010) 2022-04-11 22:31:06 +03:00
fn_headers_with_inline_comments_input.vv parser, fmt: fix the formatting of fn headers with inline comments (#14010) 2022-04-11 22:31:06 +03:00
fn_headers_with_no_bodies_keep.vv tests: use u8 everywhere 2022-04-15 18:34:15 +03:00
fn_multi_return_keep.vv fmt: refactor `type_to_str` (#6607) 2020-10-12 18:41:42 +03:00
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 2021-08-27 09:22:53 +03:00
fn_return_generic_struct_keep.vv vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
fn_return_parentheses_expected.vv fmt: remove unnecessary parentheses after `return` (fix #11423) (#11435) 2021-09-08 14:19:53 +03:00
fn_return_parentheses_input.vv fmt: remove unnecessary parentheses after `return` (fix #11423) (#11435) 2021-09-08 14:19:53 +03:00
fn_trailing_arg_syntax_expected.vv vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
fn_trailing_arg_syntax_input.vv vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
fn_trailing_arg_syntax_keep.vv vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
fn_type_attributes_and_calling_convention_keep.vv gen: add callconv attribute for fn and type (#14027) 2022-04-14 11:29:52 +03:00
fn_with_anon_params_keep.vv tests: use u8 everywhere 2022-04-15 18:34:15 +03:00
fntype_alias_array_keep.vv vfmt: fix `type MyFn = fn (int) int mut arr := []MyFn{}` 2020-12-09 15:18:45 +02:00
fntype_alias_keep.vv all: rename `[ref_only]` -> `[heap]` (#8718) 2021-02-13 16:52:01 +02:00
fntype_mut_args_with_optional_keep.vv vfmt: add a regression test for `type SocketMessageFn = fn (mut c Client, msg &Message) ? 2020-08-04 16:13:04 +03:00
fntype_return_optional_keep.vv vfmt: add a regression test for `type SocketMessageFn = fn (mut c Client, msg &Message) ? 2020-08-04 16:13:04 +03:00
functions_expected.vv fmt: fix tests 2020-10-15 12:45:34 +02:00
functions_input.vv fmt: fix tests 2020-10-15 12:45:34 +02:00
gated_array_keep.vv all: support slices with negative indexes `#[start..end]` (gated arrays) (#12914) 2021-12-22 16:34:02 +03:00
generic_recursive_structs_keep.vv parser: simplify parse_generic_struct_inst_type() (#9801) 2021-04-19 14:47:39 +03:00
generic_structs_keep.vv fmt: fix error of generic struct_init using module (fix #12893) (#12935) 2021-12-22 19:11:09 +02:00
generic_structs_using_mod_keep.vv fmt: fix error of generic struct_init using module (fix #12893) (#12935) 2021-12-22 19:11:09 +02:00
generics_cascade_types_keep.vv scanner, fmt: fix multi-level generics (#11517) 2021-09-17 21:44:31 +03:00
generics_keep.vv fmt: fix bug that adds unnecessary module name to generic types (#12758) 2021-12-08 22:33:58 +02:00
global_keep.vv all: make __global behave consistent with const (#9711) 2021-04-19 17:07:47 +03:00
go_stmt_expected.vv fmt: keep single empty lines (#8189) 2021-01-19 14:49:40 +01:00
go_stmt_input.vv fmt: lots of fixes 2020-04-25 17:49:16 +02:00
go_stmt_keep.vv fmt: fix inserted empty line before go stmt with anonymus function (#8951) 2021-02-25 01:30:04 +01:00
goto_expected.vv fmt: split tests 2020-03-08 15:57:16 +01:00
goto_input.vv fmt: split tests 2020-03-08 15:57:16 +01:00
hashstmt_expected.vv fmt: insert newline after last HashStmt (#8482) 2021-02-01 14:50:41 +01:00
hashstmt_input.vv fmt: insert newline after last HashStmt (#8482) 2021-02-01 14:50:41 +01:00
hashstmt_keep.vv os,net: cleanup deprecated @VROOT usages 2021-09-19 16:24:24 +03:00
if_array_contains_expected.vv fmt: fix unnecessary line break in array init (fix #11448) (#11562) 2021-09-21 16:20:09 +03:00
if_array_contains_input.vv fmt: fix unnecessary line break in array init (fix #11448) (#11562) 2021-09-21 16:20:09 +03:00
if_brace_on_newline_expected.vv fmt: put the opening brace on a new line again for infix (#8336) 2021-01-26 11:19:32 +01:00
if_brace_on_newline_input.vv fmt: put the opening brace on a new line again for infix (#8336) 2021-01-26 11:19:32 +01:00
if_cond_with_inline_comments_expected.vv ast, parser: fix formatting of `if` with inline comments (fix #7796) (#14018) 2022-04-13 00:15:27 +03:00
if_cond_with_inline_comments_input.vv ast, parser: fix formatting of `if` with inline comments (fix #7796) (#14018) 2022-04-13 00:15:27 +03:00
if_expected.vv fmt: single line ternary return (#8605) 2021-02-08 00:28:46 +01:00
if_input.vv fmt: single line ternary return (#8605) 2021-02-08 00:28:46 +01:00
if_keep.vv parser,fmt: fix regression with non-void arrays in if conditions (#9161) 2021-03-06 20:39:38 +02:00
if_not_in_is_expected.vv vfmt: fmt '!(a in/is b)' to 'a !in/is b' (#11335) 2021-08-30 09:45:36 +03:00
if_not_in_is_input.vv vfmt: fmt '!(a in/is b)' to 'a !in/is b' (#11335) 2021-08-30 09:45:36 +03:00
if_ternary_expected.vv fmt: better function call wrapping inside ternary if branches (#8604) 2021-02-06 21:46:52 +01:00
if_ternary_input.vv fmt: better function call wrapping inside ternary if branches (#8604) 2021-02-06 21:46:52 +01:00
if_ternary_keep.vv fmt: keep single line if in struct init (#8734) 2021-02-14 19:22:24 +01:00
import_auto_added_expected.vv fmt: fix pos of added imports (#8931) 2021-02-24 19:33:17 +01:00
import_auto_added_input.vv fmt: fix pos of added imports (#8931) 2021-02-24 19:33:17 +01:00
import_comments_keep.vv fmt, ast: fix usage of import aliases (#10151) 2021-05-21 20:33:04 +03:00
import_duplicate_expected.vv fmt, ast: fix usage of import aliases (#10151) 2021-05-21 20:33:04 +03:00
import_duplicate_input.vv fmt, ast: fix usage of import aliases (#10151) 2021-05-21 20:33:04 +03:00
import_multiple_with_alias_expected.vv fmt: use `import module` syntax 2020-04-14 19:32:23 +02:00
import_multiple_with_alias_input.vv fmt: handle indents 2020-04-13 16:36:32 +02:00
import_rand_and_rand_seed_keep.vv fmt: fix using rand.seed() when import rand and rand.seed (#14511) 2022-05-25 12:55:02 +02:00
import_selective_expected.vv fmt: fix removal of selective imported types used in type decl (#12868) 2021-12-17 05:20:16 +02:00
import_selective_input.vv fmt: fix removal of selective imported types used in type decl (#12868) 2021-12-17 05:20:16 +02:00
import_selective_keep.vv vfmt: keep selective imported names used for generic calls 2022-05-19 12:16:19 +02:00
import_single_keep.vv fmt: keep comments after imports (#8483) 2021-02-01 14:45:08 +01:00
import_with_alias_keep.vv fmt, ast: fix usage of import aliases (#10151) 2021-05-21 20:33:04 +03:00
import_with_symbols_keep.vv fmt: fix import with symbols (fix #12065) (#12069) 2021-10-05 11:44:48 +03:00
infix_expr_expected.vv fmt: split infix wrapping into smaller functions and fix a trailing space bug (#9806) 2021-04-19 21:56:39 +03:00
infix_expr_input.vv fmt: split infix wrapping into smaller functions and fix a trailing space bug (#9806) 2021-04-19 21:56:39 +03:00
infix_expr_keep.vv fmt: proper infix operator detection in wrapping logic (#9824) 2021-04-20 15:20:11 +03:00
inline_sum_type_keep.vv token: rename Position to Pos, rename position() to pos() (#13279) 2022-01-26 12:36:28 +02:00
integer_literal_keep.vv fmt: keep _ separator in number literals (#7495) 2020-12-23 14:48:43 +02:00
interface_declaration_comments_keep.vv tests: use u8 everywhere 2022-04-15 18:34:15 +03:00
interface_variadic_keep.vv parser: fix parsing interface methods with varargs (#8229) 2021-01-20 23:15:02 +02:00
interface_with_mut_fields_keep.vv fmt: preserve method receiver mutability in interface decls (#11222) 2021-08-17 19:39:53 +03:00
json_decode_fmt_keep.vv parser: fix fmt error for json decode (#14520) 2022-05-25 12:55:03 +02:00
labelled_break_continue_keep.vv fmt: fix labelled break & continue (#6889) 2020-11-20 14:12:40 +01:00
language_prefixes_keep.vv vfmt: do not replace module aliases in fn param and return types (#7472) 2020-12-22 22:38:13 +02:00
long_sumtype_expected.vv fmt: format long sum-types with a line for each type (#11461) 2021-09-10 20:56:55 +03:00
long_sumtype_input.vv fmt: format long sum-types with a line for each type (#11461) 2021-09-10 20:56:55 +03:00
loops_expected.vv fmt: fix formatting backtick char literal 2020-04-30 09:33:43 +02:00
loops_input.vv fmt: fix formatting backtick char literal 2020-04-30 09:33:43 +02:00
manualfree_keep.v parser,fmt: implement `[manualfree] module abc` for opting out *all* fns in a given .v from autofree 2021-01-08 17:24:42 +02:00
maps_expected.vv fmt: fix map missing a comma after enum keys, leading to non parsable code (#13481) 2022-02-16 21:08:29 +02:00
maps_in_fn_args__keep.vv vfmt: add maps_in_fn_args__keep.vv test for 3a369f5 2020-06-10 17:15:53 +03:00
maps_input.vv fmt: fix map missing a comma after enum keys, leading to non parsable code (#13481) 2022-02-16 21:08:29 +02:00
maps_keep.vv vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
maps_of_fns_with_string_keys_keep.vv vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
match_expected.vv fmt: remove extra comma of branch instead of parse error (#12814) 2021-12-14 08:14:43 +02:00
match_input.vv fmt: remove extra comma of branch instead of parse error (#12814) 2021-12-14 08:14:43 +02:00
match_keep.vv 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
match_range_expression_branches_keep.vv tests: use u8 everywhere 2022-04-15 18:34:15 +03:00
match_with_commented_branches_keep.vv token: rename Position to Pos, rename position() to pos() (#13279) 2022-01-26 12:36:28 +02:00
missing_import_expected.vv fmt: use `import module` syntax 2020-04-14 19:32:23 +02:00
missing_import_input.vv fmt: test automatic import insertion 2020-04-12 17:57:05 +02:00
module_alias_keep.vv fmt, ast: fix usage of import aliases (#10151) 2021-05-21 20:33:04 +03:00
module_interface_keep.vv fmt: interface decl fixes (#5829) 2020-07-14 18:52:28 +02:00
module_struct_keep.vv fmt,parser: prevent unknown module error (#10004) 2021-05-05 14:09:30 +03:00
multi_generic_test_keep.vv all: implement multiple generics (#8231) 2021-01-22 13:49:56 +01:00
multiline_comment_keep.vv fmt: lots of fixes 2020-04-25 17:49:16 +02:00
nested_map_type_keep.vv fmt: unify struct field align code (#10887) 2021-07-23 12:12:09 +03:00
newlines_keep.vv fmt, parser: fix pos.last_line for assembly blocks (#10877) 2021-07-21 11:48:12 +03:00
no_main_expected.vv fmt: allow parsing files without `fn main()` (#5681) 2020-07-05 20:53:01 +02:00
no_main_input.vv fmt: allow parsing files without `fn main()` (#5681) 2020-07-05 20:53:01 +02:00
offset_keep.vv all: add offsetof (#8380) 2021-01-30 12:57:09 +01:00
operator_overload_keep.vv ci: fix the failing build-module-docs job 2020-12-22 17:25:57 +02:00
optional_keep.vv fmt: fix optional formatting 2020-04-22 20:12:58 +02:00
optional_propagate_keep.vv fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
or_keep.vv fmt: fix possible removal of PrefixExpr or blocks (#9351) 2021-03-17 20:43:28 +02:00
orm_keep.vv fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
par_expr_expected.vv fmt: remove parenthesis around single ident (#9696) 2021-04-12 16:01:03 +03:00
par_expr_input.vv fmt: remove parenthesis around single ident (#9696) 2021-04-12 16:01:03 +03:00
pointer_casts_keep.vv v.parser: eliminate PrefixExpr from `&Type(x).name` and `&Type(x)[idx]` too (fix vinix build) 2021-07-17 20:20:20 +03:00
proto_module_importing_vproto_keep.vv vfmt: fix deep nested map types, using f.table.type_to_str 2020-10-13 16:08:25 +03:00
ref_type_cast_keep.vv vfmt: add _keep.vv tests for the recent fixes, to prevent regressions 2020-07-02 17:50:21 +03:00
result_return_type_keep.vv all: basic implementation of result type (#14140) 2022-04-30 01:59:14 +03:00
select_keep.vv parser: don't require unary `>` prefix for `select` timeout (#10928) 2021-07-23 23:24:27 +03:00
shared_expected.vv fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
shared_input.vv fmt: fix fmt error of anon fn with if expr (fix #14393) (#14413) 2022-05-16 09:48:21 +03:00
star__amp_int__cast_keep.vv vfmt: fix `x := *&int(ptr)` 2020-07-21 15:58:17 +03:00
static_mut_keep.vv fmt: fix support for `mut static x := 42` 2021-02-28 19:40:21 +02:00
stmt_keep.vv fmt: do not write single line or blocks with multi line stmts (#8952) 2021-02-26 08:41:24 +02:00
string_interpolation_complex_keep.vv vfmt: fix string interpolation formatting with multiple ',",\' and \" . 2021-04-20 20:26:06 +03:00
string_interpolation_expected.vv fmt: fix multiple things and format most of the compiler (#6631) 2020-10-15 22:12:59 +02:00
string_interpolation_input.vv fmt: fix tests 2020-10-15 12:45:34 +02:00
string_interpolation_keep.vv fmt: fix a bug that break generics call in string inter (#11468) 2021-09-11 04:47:22 +03:00
string_quotes_expected.vv fmt: improve string quotes (#8075) 2021-01-13 06:05:27 +01:00
string_quotes_input.vv fmt: improve string quotes (#8075) 2021-01-13 06:05:27 +01:00
string_raw_and_cstr_keep.vv vfmt: fix eating `c` in `c'foo'` (#7009) 2020-11-29 10:39:50 +02:00
strings_name_variable_call_keep.vv fmt: fix 'strings' name variable call generate auto import (fix #9713) (#14485) 2022-05-25 12:54:59 +02:00
struct_decl_keep.vv fmt: keep __global in struct declarations (#8584) 2021-02-05 16:46:43 +01:00
struct_default_field_expressions_keep.vv fmt: align struct field comments (#7632) 2021-01-03 21:10:25 +01:00
struct_embed_keep.vv fmt: fix removal of comment before embed in struct (#11384) 2021-09-04 11:02:04 +03:00
struct_init_keep.vv parser: deprecate `{var |` struct update (#8618) 2021-02-08 17:03:05 +02:00
struct_init_with_comments_keep.vv tests: use u8 everywhere 2022-04-15 18:34:15 +03:00
struct_init_with_custom_len_keep.vv fmt: align struct field comments (#7632) 2021-01-03 21:10:25 +01:00
struct_init_with_ref_cast_keep.vv fmt: add struct init keep test, fix another &&Foo bug 2020-05-30 22:34:57 +03:00
struct_keep.vv fmt: correct indent for StructDecl multi line default exprs (#8148) 2021-01-17 05:01:55 +01:00
struct_no_extra_attr_keep.vv all: rename `[ref_only]` -> `[heap]` (#8718) 2021-02-13 16:52:01 +02:00
struct_update_comment_keep.vv vfmt: fix comments before ...f in Abc{...f} (#7870) 2021-01-04 21:01:35 +02:00
struct_update_keep.vv parser: struct updating syntax with `Abc{...oldabc newfield: val}` (#7865) 2021-01-04 20:19:03 +02:00
struct_with_fn_fields_keep.vv vfmt: fix `struct Abc { field fn() ? }` 2020-12-18 11:32:04 +02:00
structs_expected.vv vlib: remove ustring usage (#10618) 2021-06-30 22:30:28 +03:00
structs_input.vv vlib: remove ustring usage (#10618) 2021-06-30 22:30:28 +03:00
sum_attributes_keep.vv ast: support attributes for `ast.SumType` (#13010) 2022-01-08 17:35:10 +03:00
sum_smartcast_keep.vv all: refactor UnionSumType to SumType (#6944) 2020-11-25 13:09:40 +02:00
symbol_registration_keep.vv tests: use u8 everywhere 2022-04-15 18:34:15 +03:00
thread_in_a_module_keep.vv vfmt: keep `module mymodule ... x := []thread MyStruct{}` as it is 2021-07-12 10:46:36 +03:00
to_string_2_forms_keep.vv builtin: x.vstring() instead of string(x) (#6102) 2020-08-10 18:05:26 +02:00
too_long_infix_expressions_keep.vv vfmt: fix stackoverflow on long nested infix expressions 2022-05-05 07:41:43 +03:00
trailing_space_expected.vv fmt: remove trailing space in comments (#9620) 2021-04-07 15:25:11 +02:00
trailing_space_input.vv fmt: remove trailing space in comments (#9620) 2021-04-07 15:25:11 +02:00
type_ptr_keep.vv parser: support casting to a pointer to array (#7861) 2021-01-04 18:22:04 +02:00
typeof_keep.vv fmt: change `[1,2,3]!!` to `[1,2,3]!` (#8081) 2021-01-13 08:32:17 +01:00
types_expected.vv tests: use u8 everywhere 2022-04-15 18:34:15 +03:00
types_input.vv ci: fix generic_fn_infer_struct_test.v 2022-04-15 21:21:12 +03:00
union_keep.vv tests: use u8 everywhere 2022-04-15 18:34:15 +03:00
unsafe_keep.vv vfmt: keep UnsafeExpr linebreacks as set by developer (#7558) 2020-12-25 16:52:16 +02:00
vargs_reference_param_keep.vv ast: fix formatting fn variadic of reference param (#11130) 2021-08-10 21:14:37 +03:00
void_optional_keep.vv fmt: make single-stmt `or` blocks single-line (#7126) 2020-12-04 13:25:23 +02:00
vscript_keep.vv fmt: keep same line comments after arr.sort() in vsh files (#8026) 2021-01-13 20:10:17 +02:00