mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
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.
This commit is contained in:
parent
ad31975b97
commit
d00189530a
16 changed files with 314 additions and 32 deletions
|
@ -277,6 +277,8 @@ pub enum Def<'a> {
|
|||
/// This is used only to avoid cloning when reordering expressions (e.g. in desugar()).
|
||||
/// It lets us take a (&Def) and create a plain (Def) from it.
|
||||
Nested(&'a Def<'a>),
|
||||
|
||||
NotYetImplemented(&'static str),
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue