https://issues.dlang.org/show_bug.cgi?id=17059
Martin Nowak <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from Martin Nowak <[email protected]> --- cat > bug.d << CODE mixin template impl() { alias T = typeof(this); enum doImplement = is(T : I) ; static if (doImplement) {} } interface I {} class A : I {mixin impl;} CODE dmd -c -o- bug ---- bug.d(6): Error: circular reference to variable 'bug.A.impl!().doImplement' bug.d(11): Error: mixin bug.A.impl!() error instantiating ---- > If i trust a bisect made by hand, the fix for issue 16980 is the culprit, so > this pull: https://github.com/dlang/dmd/pull/6383 Digger confirms that it was introduced with https://github.com/dlang/dmd/pull/6383. --
