Commit graph

36 commits

Author SHA1 Message Date
Richard Feldman
a4b0bdc679 Fix parsing bug in accessor functions
(They weren't advancing the state by 1, because the state
advancement was relying on part_buf - which was empty
in the case of accessor functions due to having only parsed
the dot so far.)
2020-07-23 21:37:03 -04:00
Folkert
b45b39af5e optional fields improvements 2020-07-21 15:25:21 +02:00
Folkert
29c3eebace parse default optional expressions in pattern matches 2020-07-20 00:52:16 +02:00
Richard Feldman
eb3ee8ffa3 Fix a parse test 2020-07-18 13:51:04 -04:00
Richard Feldman
85f51ef39d Introduce optional record fields 2020-07-18 12:31:17 -04:00
Richard Feldman
152e06186b Reserved keywords can't be patterns 2020-07-17 19:49:27 -04:00
Richard Feldman
ef010d4dec Fix parsing bug for malformed when-branches 2020-07-17 19:49:27 -04:00
Richard Feldman
6855c85002 Reproduce parsing bug with bad when-branches 2020-07-17 19:33:27 -04:00
Folkert
d7b2dc7a3b fix test failures caused by def reordering 2020-07-11 02:01:23 +02:00
Folkert
672b67d527 initial version of annotation formatting 2020-07-09 17:41:21 +02:00
Folkert
9d67b11c0d pretty error messages for integers 2020-07-07 22:10:23 +02:00
Chad Stearns
830394eadf Comply with clippy 2020-06-21 17:24:14 -04:00
Richard Feldman
d5116d01b4 Ignore carriage returns 2020-06-16 23:04:00 -04:00
Richard Feldman
99dcda8603 Use inlinable_string 0.1 2020-05-31 20:14:19 -04:00
Richard Feldman
1d6d9ec994 Fix doc parsing bug 2020-05-23 22:43:09 -04:00
Richard Feldman
715b13263c Reproduce doc parsing bug 2020-05-23 22:43:02 -04:00
Richard Feldman
7471cd5301 Add a test for parsing docs 2020-05-23 22:03:27 -04:00
Richard Feldman
3dac73d8d0 Parse doc comments 2020-05-23 22:03:21 -04:00
Richard Feldman
4d8cbc4811 Drop obsolete contains_newline method 2020-05-23 21:41:11 -04:00
Richard Feldman
ce9e7a91f6 Clean up some Cargo.toml files 2020-05-03 21:37:59 -04:00
Richard Feldman
ff953021d5 Fix parser bug with newline after '=' in def
Fixes #51
2020-05-03 08:50:55 -04:00
Richard Feldman
c856314e13 Reproduce parser bug with newline after '=' in def
See #51
2020-05-03 08:50:32 -04:00
Richard Feldman
2eea57a51a Add some more detail to a todo 2020-05-02 22:19:29 -04:00
Richard Feldman
101dc80ae5 Move parse::operator into module::operator 2020-05-01 21:58:53 -04:00
Richard Feldman
1c1fee7e31 Trim trailing space off pretty_assertions dep 2020-04-16 19:24:24 -04:00
Folkert
aea48f703a working parser error 2020-04-16 01:30:28 +02:00
Folkert
e21cdfc689 bring parse errors into the reporting tests 2020-04-15 19:49:05 +02:00
Richard Feldman
d994d11760 Parse app module headers. 2020-04-15 07:06:11 -04:00
Chad Stearns
30dadd882c Binop precedence problem report test 2020-04-01 22:17:39 -04:00
Folkert
11c8e2bfaa improve Precedence error message 2020-03-31 23:11:35 +02:00
Folkert
f02193b962 fix new clippy warnings 2020-03-12 22:56:58 +01:00
Richard Feldman
3ecbe0325c Plain number literals (e.g. 5) are now Num * 2020-03-10 22:27:13 -04:00
Richard Feldman
0f79a3311d Upgrade bumpalo to 3.2 2020-03-07 11:20:35 -05:00
Richard Feldman
908e485fca Move constrain and its deps into their own crates 2020-03-06 01:43:39 -05:00
Richard Feldman
8ef2ae3de7 clippy clip clip 2020-03-05 23:03:29 -05:00
Richard Feldman
313b7a79e8 Use workspaces and move everything into compiler/ 2020-03-05 17:45:52 -05:00