[Issue 13361] Empty UDA accepted
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Thu Aug 28 10:09:28 PDT 2014
    
    
  
https://issues.dlang.org/show_bug.cgi?id=13361
--- Comment #2 from Orvid King <blah38621 at gmail.com> ---
A zero length tuple at least means something, but an explicitly empty UDA 
should be a syntax error. I believe that the only times it's possible for @() 
to actually be in the code is accidental, and so the compiler should be helpful 
in this case. @args should continue to be valid, and only @() should produce an 
error.
--
    
    
More information about the Digitalmars-d-bugs
mailing list