File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -1894,9 +1894,9 @@ $(H3 $(LNAME2 function_literals, Function Literals))
1894
1894
1895
1895
$(GRAMMAR
1896
1896
$(GNAME FunctionLiteral):
1897
- $(D function) $(D ref )$(OPT) $(GLINK2 type, Type)$(OPT) $(GLINK ParameterWithAttributes)$(OPT) $(GLINK FunctionLiteralBody2)
1898
- $(D delegate) $(D ref )$(OPT) $(GLINK2 type, Type)$(OPT) $(GLINK ParameterWithMemberAttributes)$(OPT) $(GLINK FunctionLiteralBody2)
1899
- $(D ref )$(OPT) $(GLINK ParameterWithMemberAttributes) $(GLINK FunctionLiteralBody2)
1897
+ $(D function) $(GLINK RefOrAutoRef )$(OPT) $(GLINK2 type, Type)$(OPT) $(GLINK ParameterWithAttributes)$(OPT) $(GLINK FunctionLiteralBody2)
1898
+ $(D delegate) $(GLINK RefOrAutoRef )$(OPT) $(GLINK2 type, Type)$(OPT) $(GLINK ParameterWithMemberAttributes)$(OPT) $(GLINK FunctionLiteralBody2)
1899
+ $(GLINK RefOrAutoRef )$(OPT) $(GLINK ParameterWithMemberAttributes) $(GLINK FunctionLiteralBody2)
1900
1900
$(GLINK2 statement, BlockStatement)
1901
1901
$(IDENTIFIER) $(D =>) $(GLINK AssignExpression)
1902
1902
@@ -1909,6 +1909,10 @@ $(GNAME ParameterWithMemberAttributes):
1909
1909
$(GNAME FunctionLiteralBody2):
1910
1910
$(D =>) $(GLINK AssignExpression)
1911
1911
$(GLINK2 function, SpecifiedFunctionBody)
1912
+
1913
+ $(GNAME RefOrAutoRef):
1914
+ $(D ref)
1915
+ $(D auto ref)
1912
1916
)
1913
1917
1914
1918
$(P $(I FunctionLiteral)s (also known as $(LNAME2 lambdas, $(I Lambdas))) enable embedding anonymous functions
You can’t perform that action at this time.
0 commit comments