mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 15:03:46 +00:00
fix for suffixed without arguments
This commit is contained in:
parent
56d91ce74c
commit
73b60113ff
1 changed files with 3 additions and 1 deletions
|
@ -742,7 +742,9 @@ pub fn parse_single_def<'a>(
|
|||
|
||||
// Handle the specific case when the first line of an assignment is actually a suffixed statement
|
||||
match loc_def_expr.value {
|
||||
Expr::SpaceBefore(
|
||||
Expr::Suffixed(_)
|
||||
| Expr::SpaceBefore(Expr::Suffixed(_), _)
|
||||
| Expr::SpaceBefore(
|
||||
Expr::Apply(
|
||||
Loc {
|
||||
value: Expr::Suffixed(_),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue