Commit graph

64 commits

Author SHA1 Message Date
Folkert
8b3b055ab1 fix equals problem 2021-02-25 22:31:42 +01:00
Folkert
0ad975113c fix Bag import in tests 2021-02-08 23:40:50 +01:00
Folkert
148fffe969 parameterize Parser on an Error type 2021-02-07 22:08:28 +01:00
Folkert
7a02bcda8d cleanup 2021-02-03 23:33:13 +01:00
Folkert
0016347866 test for parser failure (but with less detail) 2021-02-03 22:39:50 +01:00
Folkert
d211ca7e61 WIP 2021-02-03 20:21:12 +01:00
Folkert
f6aa77e6a8 fix all gen and cli tests 2021-02-02 22:06:11 +01:00
Folkert
e643d1ea3c more backtracking 2021-02-02 18:47:58 +01:00
Folkert
d284d3bb72 all parse tests work! 2021-02-02 16:32:52 +01:00
Folkert
e83cb0d027 fix top level def 2021-02-02 16:24:21 +01:00
Folkert
95ebc8ded5 fix aliases and type annotations 2021-02-02 14:32:01 +01:00
Folkert
56f6770804 WIP 2021-02-02 01:56:50 +01:00
Folkert
4524012b2c fix problem with spaces in patterns 2021-02-01 14:39:18 +01:00
Folkert
ac3788ba85 fix tests 2021-01-31 18:51:12 +01:00
Folkert
ccd302cbe9 format 2021-01-01 00:54:18 +01:00
Folkert
728298d15a automatic clippy fixes 2021-01-01 00:05:45 +01:00
Sébastien Besnier
70b3b77ac0 fixing tests compiling issues 2020-12-28 21:36:22 +01:00
Richard Feldman
e45dcd0208 Fix regions in a test 2020-12-02 22:06:04 -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
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
c441471767 Add parse tests for platform headers 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
Sébastien Besnier
932d9b1d16 fix region parsing 2020-11-21 15:57:12 +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
1e7dcaebd8 finish parsing named underscores 2020-11-18 07:35:01 -05:00
rvcas
8df5d5c13c feat(parse): support capturing a str in Pattern::Underscore 2020-11-17 21:53:49 -05:00
Sébastien Besnier
b29792855f fix some merge conflict consequences 2020-11-13 19:28:55 +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
Pablo Hirafuji
0c20713f94 Add doc comment new line parsing 2020-11-06 13:57:41 -03:00
Brendan Hansknecht
11752117a5 Add other fuzz target 2020-10-31 18:56:08 -07:00
Brendan Hansknecht
d00189530a Add fuzzing to the parser.
As part of this, todos and panics where moved outside of this module
to elsewhere when they would cause fuzzing to fail.
2020-10-30 22:04:54 -07:00
Folkert
a43afc968d vec to slice in parse tests 2020-10-29 00:14:48 +01:00
Anton-4
12821bf321 replaced deprecated std::u16::MAX with u16::MAX 2020-10-21 14:35:36 +02:00
Richard Feldman
dfa61b4c18 Parse platform headers 2020-10-18 23:55:49 -04:00
Richard Feldman
532b5c4051 Reproduce #509 (unary negation parse bug) 2020-09-12 10:18:12 -04:00
Richard Feldman
7682e09b0a Fix some fmt stuff 2020-08-31 23:13:50 -04:00
Richard Feldman
74c0bdfd5a Fix empty string parsing bug 2020-08-31 23:13:50 -04:00
Richard Feldman
5b27e10095 Reproduce empty string parsing bug 2020-08-31 23:13:50 -04:00