Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions spec/expression.dd
Original file line number Diff line number Diff line change
Expand Up @@ -1661,7 +1661,7 @@ $(GNAME FunctionLiteral):
$(D function) $(D ref)$(OPT) $(GLINK2 type, Type)$(OPT) $(GLINK ParameterWithAttributes) $(OPT) $(GLINK FunctionLiteralBody2)
$(D delegate) $(D ref)$(OPT) $(GLINK2 type, Type)$(OPT) $(GLINK ParameterWithMemberAttributes) $(OPT) $(GLINK FunctionLiteralBody2)
$(D ref)$(OPT) $(GLINK ParameterWithMemberAttributes) $(GLINK FunctionLiteralBody2)
$(GLINK FunctionLiteralBody)
$(GLINK2 function, FunctionLiteralBody)
$(IDENTIFIER) $(D =>) $(GLINK AssignExpression)

$(GNAME ParameterWithAttributes):
Expand All @@ -1672,11 +1672,7 @@ $(GNAME ParameterWithMemberAttributes):

$(GNAME FunctionLiteralBody2):
$(D =>) $(GLINK AssignExpression)
$(GLINK FunctionLiteralBody)

$(GNAME FunctionLiteralBody):
$(GLINK2 statement, BlockStatement)
$(GLINK2 function, FunctionContracts)$(OPT) $(GLINK2 function, BodyStatement)
$(GLINK2 function, FunctionLiteralBody)
)

$(P $(I FunctionLiteral)s (also known as $(LNAME2 lambdas, $(I Lambdas))) enable embedding anonymous functions
Expand Down