Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
felipensp committed Nov 12, 2024
1 parent f49e491 commit 6da6440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/v/parser/expr.v
Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,7 @@ fn (mut p Parser) lambda_expr() ?ast.LambdaExpr {
}
}
pos_expr := p.tok.pos()
e := p.expr(0)
e := p.expr_no_value(0)
pos_end := p.tok.pos()
return ast.LambdaExpr{
pos: pos.extend(e.pos())
Expand Down

0 comments on commit 6da6440

Please sign in to comment.