On Tuesday, 5 September 2017 at 14:43:19 UTC, John Colvin wrote:
On Tuesday, 5 September 2017 at 12:41:45 UTC, Computermatronic
wrote:
On Tuesday, 5 September 2017 at 12:20:14 UTC, crimaniak wrote:
[...]
I find it very strange that this works, as a non-mixin
template should not be able to capture the context of where it
was instantiated. If you take the alias template parameters
out it behaves how it should (that is an error message saying
this is not accessible).
https://issues.dlang.org/show_bug.cgi?id=17809
What kind of harm can this be? Can this be considered a feature?