https://issues.dlang.org/show_bug.cgi?id=6980
Bolpat <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from Bolpat <[email protected]> --- The general sense of when shadowing a symbol is an error or not is if the symbol has an unambiguous way to be referenced. This expectation is broken when template parameters are shadowed: ```d struct S(T) { alias T = int; // no error!? T x; pragma(msg, typeof(x)); // int } S!double unused; ``` --
