On Saturday, 19 December 2020 at 07:41:09 UTC, SealabJaster wrote:
...

The nesting behavior is indeed intentional: https://dlang.org/spec/template.html#implicit-nesting

But I still assume the assignment to a function is also a bug, so I'll file that if it hasn't been already (unless for some very strange reason it's not a bug?).

Still though, this is very annoying behavior when you consider an example such as: https://godbolt.org/z/9nWWxa

Alas :(

Reply via email to