https://issues.dlang.org/show_bug.cgi?id=7721
Simen Kjaeraas <simen.kja...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Loss of template context |Nested template loses |when passed as template |context when mixin'd |template parameter | --- Comment #1 from Simen Kjaeraas <simen.kja...@gmail.com> --- Simplified example showing template template parameters are unnecessary to trigger this bug: template Bar(T) { template Baz() { T n; } } unittest { // Works. Bar!int.Baz!().n = 3; // Fails: foo.d(3): Error: undefined identifier T mixin Bar!int.Baz!(); } --