Syntax for Static Import of User Define Attributes
    Steven Schveighoffer 
    schveiguy at gmail.com
       
    Fri Jul 28 12:20:05 UTC 2023
    
    
  
On 7/28/23 8:10 AM, Vijay Nayar wrote:
> However, this makes me wonder. Is there any reason why the `@` shouldn't 
> recognize the dots in a fully-qualified-name on its own, without the 
> need for parentheses?
It might be possible to expand the grammar. It seems very specific to 
UDAs, as it doesn't just throw out `Expression` or whatnot. It probably 
has to do with the spot that it's in (declaration). I'll defer to the 
compiler experts to decide what makes the most sense.
-Steve
    
    
More information about the Digitalmars-d-learn
mailing list