It is a bug?

Jack Applegame japplegame at gmail.com
Tue Mar 30 04:30:48 UTC 2021


On Monday, 29 March 2021 at 19:27:18 UTC, SealabJaster wrote:
> On Monday, 29 March 2021 at 17:57:53 UTC, Jack Applegame wrote:
>> ...
>
> This is due to implicit nesting: 
> https://dlang.org/spec/template.html#implicit-nesting
>
> I've been bitten by this a lot. Honestly it's a bit broken IMO, 
> because it allows for issues such as 21496, which is honestly a 
> bit embarrassing: https://issues.dlang.org/show_bug.cgi?id=21496
>
> Also I think it's the cause of issue 21377: 
> https://issues.dlang.org/show_bug.cgi?id=21377

Thanks.



More information about the Digitalmars-d mailing list