Commit graph

101 commits

Author SHA1 Message Date
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
Richard Feldman
5080a7e24b Parse unicode escape sequences 2020-08-31 23:13:50 -04:00
Richard Feldman
b995ccef75 Parse string interpolations 2020-08-31 23:13:50 -04:00
Richard Feldman
e661ca7f2e Fix string literal parsing 2020-08-31 23:13:50 -04:00
Richard Feldman
f35e43768a Get things compiling 2020-08-31 23:13:50 -04:00
Richard Feldman
9f9ce327d4 Lazily validate that input bytes are valid UTF-8 2020-07-27 01:10:04 -04:00
Richard Feldman
eb3ee8ffa3 Fix a parse test 2020-07-18 13:51:04 -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
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
c856314e13 Reproduce parser bug with newline after '=' in def
See #51
2020-05-03 08:50:32 -04:00
Richard Feldman
101dc80ae5 Move parse::operator into module::operator 2020-05-01 21:58:53 -04:00
Richard Feldman
3ecbe0325c Plain number literals (e.g. 5) are now Num * 2020-03-10 22:27:13 -04:00