mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
Fix some defs parsing logic
This commit is contained in:
parent
fb646a5fa7
commit
49d2faad4e
2 changed files with 28 additions and 8 deletions
|
@ -136,6 +136,7 @@ pub type ParseResult<'a, Output> = Result<(Output, State<'a>), (Fail, State<'a>)
|
|||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
pub enum FailReason {
|
||||
Unexpected(char, Region),
|
||||
DefOutdentedTooFar(u16, u16, Region),
|
||||
ConditionFailed,
|
||||
LineTooLong(u32 /* which line was too long */),
|
||||
TooManyLines,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue