Skip to content

Commit

Permalink
Add comment to LambdaArg.Args
Browse files Browse the repository at this point in the history
  • Loading branch information
apstndb committed Dec 2, 2024
1 parent abdf190 commit e5e6033
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ast/ast.go
Original file line number Diff line number Diff line change
Expand Up @@ -1202,7 +1202,7 @@ type LambdaArg struct {

Lparen token.Pos // optional

Args []*Ident
Args []*Ident // if Lparen.Invalid() then len(Args) = 1 else len(Args) > 0
Expr Expr
}

Expand Down

0 comments on commit e5e6033

Please sign in to comment.