https://issues.dlang.org/show_bug.cgi?id=22184
--- Comment #2 from Tomoya Tanjo <[email protected]> --- I reduced the above code as follows: run.dlang.io: https://run.dlang.io/is/VZtiPO ```dlang class A { static if (isHashable!B) {} } class B { static if (isHashable!C) {} } class C { static if (isHashable!B && isHashable!int) {} } enum isHashable(T) = __traits(compiles, () { T.init; } ); void main(){} ``` - It compiles successfully if `isHashable` checks `T t;` rather than `T.init;` --
