On Saturday, 13 February 2016 at 10:22:36 UTC, Marc Schütz wrote:
On Friday, 12 February 2016 at 21:56:09 UTC, Steven
Schveighoffer wrote:
That's odd. I think anonymous probably has the answer (they
are context pointers), but I'm also surprised they are null,
they shouldn't be.
In this example, `void foo()` doesn't access any outer
variables, so there's no need for a context to be created.
Yes, but the compiler will create a context regardless of this.
See also this issue:
https://issues.dlang.org/show_bug.cgi?id=15343