It is a bug?

SealabJaster sealabjaster at gmail.com
Mon Mar 29 19:27:18 UTC 2021


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


More information about the Digitalmars-d mailing list