[Issue 13361] Empty UDA accepted
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Aug 29 20:55:10 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13361
--- Comment #3 from Kenji Hara <k.hara.pg at gmail.com> ---
OK, I confirmed that current grammar does not allow empty argument list.
http://dlang.org/attribute.html#UserDefinedAttribute
UserDefinedAttribute:
@ ( ArgumentList ) // <--
@ Identifier
@ Identifier ( ArgumentList_opt )
ArgumentList is not optional, it should have one or more arguments.
--
More information about the Digitalmars-d-bugs
mailing list