Nick Fitzgerald
a099b2b590
Extend fuzzing to semantic analysis and codegen
...
* Fix a panic when we are substituting macro args, but we already had an error
involving the macro.
* Fix a stack overflow when an internal extractor's definition is recursive.
2021-11-11 15:56:55 -08:00
Nick Fitzgerald
9be1942b11
Use .copied() instead of .cloned()
2021-11-11 15:56:55 -08:00
Nick Fitzgerald
6604a26e27
Add a top-level parse function
...
And make `parse_defs` take `self` by ownership. This avoids a couple `Vec`
clones.
2021-11-11 15:56:55 -08:00
Nick Fitzgerald
e3aeb850b2
Fix a panic when parsing var patterns
2021-11-11 15:56:55 -08:00
Nick Fitzgerald
6a523938de
Fix overflows when tokenizing integer literals
2021-11-11 15:56:55 -08:00
Nick Fitzgerald
825258939b
Define a fuzz target for the parser
2021-11-11 15:56:55 -08:00