Commit Graph

127 Commits

Author SHA1 Message Date
Richard Feldman
e45dcd0208 Fix regions in a test 2020-12-02 22:06:04 -05:00
Richard Feldman
80d959a103 Restore original state if skip parsers fail 2020-12-02 22:04:46 -05:00
Richard Feldman
e2804398b4 Fix keyword parsing bug 2020-12-02 21:56:31 -05:00
Richard Feldman
98fa4a752d Reproduce keyword parsing bug 2020-12-02 21:56:31 -05:00
Richard Feldman
7e91e916d7 Reproduce parse bug 2020-12-02 19:05:24 -05:00
Richard Feldman
1b41916fb0 appease clippy 2020-11-26 21:11:49 -05:00
Richard Feldman
d0c651726d Support package-qualified imports 2020-11-26 21:11:43 -05:00
Richard Feldman
b70f265242 Reproduce inability to parse pkg-qualified imports 2020-11-26 21:07:45 -05:00
Sébastien Besnier
124800f8b9 fix bug parser with comment after ':' in signature 2020-11-25 10:31:49 +01:00
Richard Feldman
91c98ede21
Merge branch 'trunk' into import-packages 2020-11-23 21:51:51 -05:00
Sébastien Besnier
88373240a9 fix multiline type signature bug 2020-11-23 15:30:48 +01:00
Sébastien Besnier
d632e588ef add failing test 2020-11-23 14:24:10 +01:00
Richard Feldman
ed67fc8d09 It's gonna be okay, clippy. 2020-11-23 00:33:56 -05:00
Richard Feldman
c441471767 Add parse tests for platform headers 2020-11-23 00:08:50 -05:00
Richard Feldman
a8ae25697d Expose platform_header 2020-11-23 00:08:50 -05:00
Richard Feldman
1868051105 Allow for shorter app headers 2020-11-23 00:08:50 -05:00
Richard Feldman
ecfdadb5e3 Revert "Require packages and imports once again"
This reverts commit 119329dffc86edbb2bc0475dfcded905f0f19c04.
2020-11-23 00:08:50 -05:00
Richard Feldman
09d107e469 Require packages and imports once again 2020-11-23 00:08:49 -05:00
Richard Feldman
a7eb568267 Fix load tests 2020-11-23 00:08:49 -05:00
Richard Feldman
ce4469de80 Make packages and imports optional 2020-11-23 00:08:49 -05:00
Richard Feldman
3e01df2bcf Update parse tests to incorporate module headers 2020-11-23 00:08:49 -05:00
Richard Feldman
f5a480f799 Fix a test compilation error 2020-11-23 00:08:49 -05:00
Richard Feldman
a78434fd48 Finish introducing new header keywords 2020-11-23 00:08:49 -05:00
Richard Feldman
c2d8205bfb Reproduce fun rustmft bug 2020-11-23 00:08:49 -05:00
Sébastien Besnier
5562b986ce cargo fmt 2020-11-21 20:50:29 +01:00
Sébastien Besnier
0d9e3aa07b make clippy happy 2020-11-21 20:36:26 +01:00
Sébastien Besnier
bfe219f307 fix some wrong comments 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
Sébastien Besnier
932d9b1d16 fix region parsing 2020-11-21 15:57:12 +01:00
Folkert
4db48d9f13 more clippy things 2020-11-19 22:20:00 +01:00
rvcas
72c85009c6 do not set an underscore on parse and only prefix in formatter 2020-11-18 08:25:40 -05:00
rvcas
f471d5bbe1 we do want to compare underscore values 2020-11-18 07:40:06 -05:00
rvcas
1e7dcaebd8 finish parsing named underscores 2020-11-18 07:35:01 -05:00
rvcas
0088080636 check point for review 2020-11-17 23:46:40 -05:00
rvcas
8df5d5c13c feat(parse): support capturing a str in Pattern::Underscore 2020-11-17 21:53:49 -05:00
Sébastien Besnier
2000948765 format the final comments in records 2020-11-14 18:39:46 +01:00
Sébastien Besnier
b29792855f fix some merge conflict consequences 2020-11-13 19:28:55 +01:00
Sébastien Besnier
58acc59b01 correctly parse trailing commas in record 2020-11-13 19:02:26 +01:00
Sébastien Besnier
6ad1bb233a add TrailingComma to Record & little formatter refactor 2020-11-13 19:01:46 +01:00
Folkert
78063f87d7 fix tag pattern argument bug 2020-11-09 23:22:08 +01:00
Folkert
65c1e0e5b1 appease clippy 2020-11-09 02:02:20 +01:00
Sébastien Besnier
099c56fcf6 make compiler happy after rebasing 2020-11-08 13:55:01 +01:00
Sébastien Besnier
66392eeeaf other parsing adjustment! 2020-11-08 13:48:19 +01:00
Sébastien Besnier
bf68477c8a cargo fmt 2020-11-08 13:48:19 +01:00
Sébastien Besnier
45fb93d4ac comment out parsing test 2020-11-08 13:48:19 +01:00
Sébastien Besnier
a6a4750501 fix parsing issue 2020-11-08 13:48:19 +01:00
Richard Feldman
6c01d02de0 Make ann_pattern and ann_type references 2020-11-08 13:48:19 +01:00
Richard Feldman
4633619e18 Use newline_char over ascii_char('\n') 2020-11-08 13:48:19 +01:00