https://issues.dlang.org/show_bug.cgi?id=14286
John Hall <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from John Hall <[email protected]> --- The issue seems to be related to templated variables in alias this. Not an issue without templates. struct V { } struct S { V x; alias x this; } void main() { S a; static if(is(typeof(a) : V)) pragma(msg, "yep"); //prints "yep" else pragma(msg, "nope"); } --
