Commit graph

165 commits

Author SHA1 Message Date
Folkert
60265b5d2a add dedicated RecordUpdate tag to parse ast 2021-03-20 16:06:07 +01:00
Folkert
0e7106280c bump allocate precedence conflict 2021-03-20 15:59:06 +01:00
Folkert
d22acb521e use record for PrecedenceConflict 2021-03-20 15:07:15 +01:00
Folkert
0be4704f94 checkpoint working parse tests 2021-03-13 15:49:07 +01:00
Folkert
214112d751 Revert "store is_negative for all number literals in the parse ast"
This reverts commit 182fd5201d.
2021-03-12 16:43:52 +01:00
Folkert
182fd5201d store is_negative for all number literals in the parse ast 2021-03-12 16:11:46 +01:00
Folkert
cba55734cb clean up helpers 2021-03-12 03:41:01 +01:00
Folkert
4e4854ceaa remove unneeded argument 2021-03-12 02:48:07 +01:00
Folkert
3e554cb21f cleanup 2021-03-11 21:21:00 +01:00
Folkert
8ee99fa6be fix up tests 2021-03-10 12:03:33 +01:00
Folkert
dbb4758cb9 Merge remote-tracking branch 'origin/trunk' into backpassing 2021-03-06 19:01:39 +01:00
Folkert
3304f54ca8 format backpassing 2021-03-06 16:34:13 +01:00
Folkert
e2d08b8f78 make backpassing an expr 2021-03-06 16:05:18 +01:00
Anton-4
480666e4e3 removed unused dependencies using cargo-udeps #1036 2021-03-06 12:07:09 +01:00
Folkert
42654debbf basic backpassing 2021-03-05 22:33:34 +01:00
Folkert
a87dfac7da improved malformed patterns 2021-03-01 16:12:37 +01:00
Folkert
e395d18e16 bunch of stuff 2021-02-28 23:36:27 +01:00
Folkert
4eea0aff7a refactor parse AST to allow multiple if branches 2021-02-25 14:34:58 +01:00
Folkert
0ad975113c fix Bag import in tests 2021-02-08 23:40:50 +01:00
Folkert
ca04411523 fix tests/more uniq removal 2021-02-07 22:50:33 +01:00
Folkert
d211ca7e61 WIP 2021-02-03 20:21:12 +01:00
Folkert
7b4378219e defer empty record issues 2021-02-02 22:27:14 +01:00
Folkert
5ce8e3a9d6 make tests compile 2021-02-02 22:09:29 +01:00
rvcas
27cfd4d7ad more test fixes 2021-01-04 15:18:49 -05:00
Folkert
754521c4c3 all the clippy fixes 2021-01-01 00:40:41 +01:00
Sébastien Besnier
69c38e5bf7 add some commented tests -- it doesn't involve trialing commas too much... 2020-12-28 19:12:37 +01:00
Sébastien Besnier
965d151168 add tag union tests for trailing commas formatting 2020-12-28 18:57:45 +01:00
Sébastien Besnier
7692bd5671 add test... and fix missing final comments! 2020-12-28 18:41:48 +01:00
Sébastien Besnier
3d0a5aa89a format multline litera list with trailing comma 2020-12-28 18:37:41 +01:00
Sébastien Besnier
83aa5c1642 add final_comments to List's AST 2020-12-28 18:17:56 +01:00
Sébastien Besnier
04d0711251 multiline tests update for trailing comma
This reverts commit 4dbde30c4f6584871d3e8c54fd89b3ee27a82b72.
2020-12-28 17:54:44 +01:00
Sébastien Besnier
2f3d74e8bd fix empty record with only comments in it 2020-12-28 17:54:35 +01:00
Anton-4
b085469602 Replaced large_enum_variant explanation with link to issue #800 2020-12-14 16:09:16 +01:00
rvcas
4987721154 feat(Num): rename Num.Int to Num.I64 2020-12-07 19:17:20 -05:00
Richard Feldman
d0c651726d Support package-qualified imports 2020-11-26 21:11:43 -05:00
Sébastien Besnier
1f4e0985e6 cargo fmt 2020-11-26 08:45:09 +01:00
Sébastien Besnier
b0a8e96d34 remove unreachable! in favor of debug_assert!(false); 2020-11-26 08:39:01 +01:00
Richard Feldman
6d6077db27 Drop some dbg! calls 2020-11-25 23:07:19 -05:00
Sébastien Besnier
f46841d63b cargo fmt 2020-11-25 16:23:33 +01:00
Sébastien Besnier
94af5caa69 add some (directly passing!) tests 2020-11-25 16:12:10 +01:00
Sébastien Besnier
1ebac5e332 format correctly comment in empty record annotation 2020-11-25 16:06:51 +01:00
Sébastien Besnier
aa3ce94f86 fix formating newlines 2020-11-25 15:44:58 +01:00
Sébastien Besnier
7361f62902 format properly multiline type annotations 2020-11-25 15:15:32 +01:00
Sébastien Besnier
4ed8d3eb79 add failing test 2020-11-25 10:33:36 +01:00
Richard Feldman
a78434fd48 Finish introducing new header keywords 2020-11-23 00:08:49 -05:00
Sébastien Besnier
d87b5bfd9f add failing tests 2020-11-21 20:36:26 +01:00
Sébastien Besnier
b1548ff4e8 refactor tag union and record type annotations formatting 2020-11-21 20:36:26 +01:00
Sébastien Besnier
52bace2c25 store the final comments in the AST for record & tag union annotations 2020-11-21 20:36:26 +01:00
Sébastien Besnier
c692319fb9 correctly format multiline record type annotation 2020-11-21 20:36:26 +01:00
Sébastien Besnier
f9666d6efe better code comments 2020-11-21 20:36:26 +01:00