https://issues.dlang.org/show_bug.cgi?id=18305 --- Comment #1 from FeepingCreature <default_357-line at yahoo.de> --- Shorter example: union S { int a, b; } void main() { // compiles if (S.init is S.init) { } // doesn't compile mixin({ if (S.init is S.init) return ""; else return ""; }()); } --