Commit Graph

62 Commits (1b3cd7abe041b4df6e8c46d15e9af9d09bed2c03)

Author SHA1 Message Date
Alexander Medvednikov f80876497e fmt: use the new `mut` syntax in args 2020-05-06 12:43:46 +02:00
Delyan Angelov d30eefc3be fmt: improve handling of map[k]v and []map[k]v types 2020-05-04 18:27:07 +03:00
Delyan Angelov 35f56bc4f0 vfmt: fix eating ? in `$if x ? {}`, missing newline in `__global ...` 2020-05-01 12:29:23 +03:00
Enzo Baldisserri 50491670af
fmt: fix formatting backtick char literal 2020-04-30 09:33:43 +02:00
Alexander Medvednikov 7955181c6c tests: [] fixes 2020-04-26 09:18:29 +02:00
Enzo Baldisserri c73d91a8fe
fmt: TypeDecl; format more files 2020-04-25 20:58:00 +02:00
Enzo Baldisserri fb54a2635c
fmt: lots of fixes 2020-04-25 17:49:16 +02:00
Kris Cherven faed178cb1
fmt: fix optional formatting 2020-04-22 20:12:58 +02:00
Alexander Medvednikov de9f302412 fmt: array newlines test 2020-04-18 23:58:59 +02:00
Alexander Medvednikov 2c778c8849 fmt: single line matches 2020-04-17 20:51:19 +02:00
Kris Cherven 332d52f459
fmt: stop mangling reference names 2020-04-16 07:28:41 +02:00
Alexander Medvednikov 233ae3f772 fmt: use `import module` syntax 2020-04-14 19:32:23 +02:00
Alexander Medvednikov 211275ab49 fmt: always use import() syntax 2020-04-14 18:24:19 +02:00
Alexander Medvednikov c36984cc94 fmt: handle indents 2020-04-13 16:36:32 +02:00
Alexander Medvednikov 6ada43df61 fmt: test automatic import insertion 2020-04-12 17:57:05 +02:00
Alexander Medvednikov 810a0725ec tests: fix fmt tests 2020-04-12 17:49:31 +02:00
Alexander Medvednikov 8fbae86bb3 vfmt: skip skipped modules; add module test 2020-04-10 22:32:52 +02:00
ka-weihe 71190c27a9
fmt: align consts 2020-04-09 01:10:08 +02:00
Alexander Medvednikov 80888b9518 tests: fix fmt test 2020-04-08 14:25:08 +02:00
Alexander Medvednikov fd75cce0f3 vfmt: minor fixes + tests 2020-04-07 04:05:59 +02:00
Alexander Medvednikov 852ec61b34 vfmt: fix single line if 2020-04-05 23:00:21 +02:00
Alexander Medvednikov ffe8452f02 vfmt: fix imports 2020-04-05 21:53:00 +02:00
Alexander Medvednikov 97db4c0e9a vfmt: comments and other fixes 2020-04-05 02:08:13 +02:00
Alexey 6455e57e82
fmt: process C function declarations correctly 2020-04-04 15:36:46 +02:00
Alexey 4cde6c0865
fmt: process TypeOf node 2020-04-03 11:59:53 +02:00
Alexander Medvednikov 30f306dc1a another vfmt2 fix 2020-04-01 18:25:05 +02:00
Alexander Medvednikov f657c4b514 another vfmt2 fix 2020-04-01 18:16:56 +02:00
Alexander Medvednikov 3ef6436bef fix fmt2 test 2020-04-01 17:52:50 +02:00
Delyan Angelov 2a7bc63919
vmft2: support for multiline comments, CompIf, AssertStmt, octal literals 2020-03-24 22:18:58 +01:00
Alexey 9c668072b9
fmt: fix ForInStmt 2020-03-20 20:19:43 +01:00
Delyan Angelov f73b38a0d8
vfmt2: fix literal integer number formatting 2020-03-17 02:49:15 +01:00
Alexey 83b6292105
fmt: split tests 2020-03-08 15:57:16 +01:00
Delyan Angelov 2bed0d1bb5
fmt: extract array_slices_input.vv from simple_input.vv 2020-03-08 15:42:38 +01:00
yuyi 783dee1f48
os: merge with filepath 2020-03-07 22:26:26 +01:00
Delyan Angelov 5e541e1f11
vfmt: alias type and sum type + sum type fix 2020-03-07 17:37:55 +01:00
Alexey e26907f079
fmt: fix errors in test files 2020-03-07 06:04:33 +01:00
Alexey 81ce524705
ast: add Expr to AsCast 2020-03-06 22:12:15 +01:00
Alexey 78c885d657
fmt: add support for goto 2020-03-02 17:41:32 +01:00
Alexey 8fafaf38a3
fmt: add function with variadic arg to test file 2020-03-02 17:10:06 +01:00
Alexey c1e095e587
fmt: process `MatchExpr` 2020-02-29 20:43:15 +01:00
Alexey 5a5f4ce99a
fmt: simplify `IndexExpr` processing 2020-02-29 17:45:08 +01:00
Alexey ee0a0afb25
v2: process `or` block for `CallExpr` 2020-02-29 15:03:32 +01:00
Alexey efff66ada7
fmt: add `pub` modifier for public enums 2020-02-29 14:38:23 +01:00
Alexey ca9fa6407f
v2: distinguish public and private constants 2020-02-26 22:43:37 +01:00
Alexey 70f085be18
v2: process unsafe statements 2020-02-26 20:45:03 +01:00
Alexey b1ea908b3b
fmt: process `defer` statement 2020-02-26 20:44:42 +01:00
Alexey 5918946feb
fmt: process attributes 2020-02-24 17:18:14 +01:00
Alexey 87ad5a96b9
v2: stringify multi-return types 2020-02-24 16:38:31 +01:00
Alexey 2bbb8526a3
fmt: process RangeExpr properly 2020-02-24 16:37:20 +01:00
Alexander Medvednikov 2eb4f663d6 fix fmt test 2020-02-22 17:14:38 +01:00