Skip to content

Commit 1ae1b66

Browse files
tim-dlangdlang-bot
authored andcommitted
Change grammar to allow builtin types as UDAs in parens
DMD supports this since dlang/dmd#14881
1 parent 3d4d461 commit 1ae1b66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/attribute.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1012,7 +1012,7 @@ $(H2 $(LNAME2 uda, User-Defined Attributes))
10121012

10131013
$(GRAMMAR
10141014
$(GNAME UserDefinedAttribute):
1015-
$(D @ $(LPAREN)) $(GLINK2 expression, ArgumentList) $(D $(RPAREN))
1015+
$(D @ $(LPAREN)) $(GLINK2 expression, TemplateArgumentList) $(D $(RPAREN))
10161016
$(D @) $(GLINK2 template, TemplateSingleArgument)
10171017
$(D @) $(GLINK_LEX Identifier) $(D $(LPAREN)) $(GLINK2 expression, ArgumentList)$(OPT) $(D $(RPAREN))
10181018
$(D @) $(GLINK2 template, TemplateInstance)

0 commit comments

Comments
 (0)