mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
more backtracking
This commit is contained in:
parent
d284d3bb72
commit
e643d1ea3c
7 changed files with 101 additions and 72 deletions
|
@ -3396,9 +3396,7 @@ fn parse<'a>(arena: &'a Bump, header: ModuleHeader<'a>) -> Result<Msg<'a>, Loadi
|
|||
),
|
||||
_ => panic!(
|
||||
"Parser Error\nmodule: {:?}\nattempting: {:?}\n(line, col): {:?}\n",
|
||||
header.module_id,
|
||||
fail.attempting,
|
||||
(state.line, state.column)
|
||||
header.module_id, fail.attempting, &state
|
||||
),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue