mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
Fix a couple minor parsing bugs
This commit is contained in:
parent
d4301e86a3
commit
5cd38c969f
12 changed files with 90 additions and 1 deletions
|
@ -3910,6 +3910,10 @@ where
|
|||
}
|
||||
"<-" => good!(OperatorOrDef::Backpassing, 2),
|
||||
"!" => Err((NoProgress, to_error("!", state.pos()))),
|
||||
"&" => {
|
||||
// makes no progress, so it does not interfere with record updaters / `&foo`
|
||||
Err((NoProgress, to_error("&", state.pos())))
|
||||
}
|
||||
_ => bad_made_progress!(chomped),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue