https://issues.dlang.org/show_bug.cgi?id=14286
John Hall <john.michael.h...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |john.michael.h...@gmail.com --- Comment #1 from John Hall <john.michael.h...@gmail.com> --- 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"); } --