February 13, 2018 [Issue 7721] Nested template loses context when mixin'd | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=7721 Simen Kjaeraas <simen.kjaras@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.kjaras@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!(); } -- |
February 07, 2020 [Issue 7721] Nested template loses context when mixin'd | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=7721 Simen Kjaeraas <simen.kjaras@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Simen Kjaeraas <simen.kjaras@gmail.com> --- Fixed in 2.087.1. -- |
Copyright © 1999-2021 by the D Language Foundation