mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-01 10:52:18 +00:00
Parse assignment patterns with underscores
This commit is contained in:
parent
3e82d30e89
commit
fbd70c4031
4 changed files with 240 additions and 1 deletions
|
@ -1519,7 +1519,7 @@ fn parse_expr_end<'a>(
|
|||
) -> ParseResult<'a, Expr<'a>, EExpr<'a>> {
|
||||
let parser = skip_first!(
|
||||
crate::blankspace::check_indent(min_indent, EExpr::IndentEnd),
|
||||
move |a, s| parse_loc_term(min_indent, options, a, s)
|
||||
move |a, s| parse_loc_term_or_underscore(min_indent, options, a, s)
|
||||
);
|
||||
|
||||
match parser.parse(arena, state.clone()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue