Skip to content

Commit 46448eb

Browse files
authored
Merge pull request #2996 from linkrope/master
Remove inappropriate NewExpressionWithArgs
2 parents 0a0cb12 + 5599213 commit 46448eb

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

spec/expression.dd

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -901,9 +901,6 @@ $(H3 $(LNAME2 new_expressions, New Expressions))
901901
$(GRAMMAR
902902
$(GNAME NewExpression):
903903
$(D new) $(I AllocatorArguments)$(OPT) $(GLINK2 type, Type)
904-
$(GLINK NewExpressionWithArgs)
905-
906-
$(GNAME NewExpressionWithArgs):
907904
$(D new) $(I AllocatorArguments)$(OPT) $(GLINK2 type, Type) $(D [) $(GLINK AssignExpression) $(D ])
908905
$(D new) $(I AllocatorArguments)$(OPT) $(GLINK2 type, Type) $(D $(LPAREN)) $(GLINK ArgumentList)$(OPT) $(D $(RPAREN))
909906
$(GLINK2 class, NewAnonClassExpression)
@@ -1372,7 +1369,7 @@ $(GNAME PrimaryExpression):
13721369
$(GLINK AssertExpression)
13731370
$(GLINK MixinExpression)
13741371
$(GLINK ImportExpression)
1375-
$(GLINK NewExpressionWithArgs)
1372+
$(GLINK NewExpression)
13761373
$(GLINK2 declaration, FundamentalType) $(D .) $(IDENTIFIER)
13771374
$(GLINK2 declaration, FundamentalType) $(D $(LPAREN)) $(GLINK ArgumentList)$(OPT) $(D $(RPAREN))
13781375
$(GLINK2 type, TypeCtor) $(D $(LPAREN)) $(GLINK Type) $(D $(RPAREN)) $(D .) $(IDENTIFIER)

0 commit comments

Comments
 (0)