RFC: DIP draft for "Compiler-defined Attribute Consistency"

rikki cattermole rikki at cattermole.co.nz
Thu Jul 15 00:59:28 UTC 2021


On 15/07/2021 4:19 AM, Dennis wrote:
> On Wednesday, 14 July 2021 at 16:02:01 UTC, Andrea Fontana wrote:
>> It would be nice to have # for attr and @ for uda (or viceversa).
> 
> That conflicts with #line directives.

It doesn't.

#line checks for the identifier line as part of the lexer, and language 
defined attributes do not include line. So no conflicts :)


More information about the Digitalmars-d mailing list