mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
Fix pipe closure after expr
This commit is contained in:
parent
d42af0b763
commit
300412a4da
5 changed files with 53 additions and 0 deletions
|
@ -4123,6 +4123,7 @@ where
|
|||
"<=" => good!(OperatorOrDef::BinOp(BinOp::LessThanOrEq), 2),
|
||||
"&&" => good!(OperatorOrDef::BinOp(BinOp::And), 2),
|
||||
"||" => good!(OperatorOrDef::BinOp(BinOp::Or), 2),
|
||||
"|" => Err((NoProgress, to_error("|", state.pos()))),
|
||||
"//" => good!(OperatorOrDef::BinOp(BinOp::DoubleSlash), 2),
|
||||
"->" => {
|
||||
// makes no progress, so it does not interfere with `_ if isGood -> ...`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue