Commit graph

138 commits

Author SHA1 Message Date
Chadtech
8e0fd1b4cd Dont borrow sub_expr 2021-10-16 18:08:18 -04:00
Chadtech
5e2decf89a Binops with parentheses keep their parentheses 2021-10-16 18:01:13 -04:00
Chadtech
56c36c51d7 Commented in many tests which apparently did not work in the past 2021-10-16 13:44:14 -04:00
Chadtech
2ca9dad156 Do not add parens around exprs if they are not needed in formatting 2021-10-16 13:30:32 -04:00
Chelsea Troy
051b511d87 Remove parentheses from unapplied tags 2021-10-11 20:42:07 -05:00
Folkert
d4896d3ed2 remove inlinable_string dependency 2021-08-03 21:24:19 +02:00
Folkert
e805e63db6 typos 2021-07-30 16:54:22 +02:00
Folkert
899cbeabd7 fix extra ampersands 2021-07-29 17:32:08 +02:00
Anton-4
314503cf7f fixed typos, added typos checking to CI 2021-06-05 20:02:54 +02:00
Richard Feldman
a7518a675a Clean up some clippy warnings 2021-05-23 20:28:23 -04:00
Folkert
700e7d9686 parse expect 2021-04-22 23:00:44 +02:00
Richard Feldman
0a50b0b488 Change license to UPL-1.0
Closes https://github.com/rtfeldman/roc/issues/1199
2021-04-21 19:18:44 -04:00
Folkert
383f35db5a bump bumpalo 2021-04-18 14:36:47 +02:00
Folkert
28ba645121 parse underscores in expressions 2021-04-11 21:02:31 +02:00
Richard Feldman
792a18816a Update authors in Cargo.toml 2021-04-11 08:11:52 -04:00
Folkert
2a0c5c669b fiddling with the when parser 2021-03-24 22:55:01 +01:00
Folkert
ce98da9d04 remove Nested from Def 2021-03-21 21:14:32 +01:00
Folkert
2827af7e59 remove Nested from pattern 2021-03-21 21:03:37 +01:00
Folkert
197835b6ed remove nested in expr 2021-03-21 20:56:18 +01:00
Folkert
1871697b0f remove BinOp variant 2021-03-20 23:01:12 +01:00
Folkert
6122b0650b format binops 2021-03-20 22:29:02 +01:00
Folkert
d5ec66244f use new binops 2021-03-20 21:19:10 +01:00
Folkert
e0c211081a remove update field from normal Record constructor 2021-03-20 16:49:14 +01:00
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