mixin template Foo(A...) { mixin Foo!(Bar, A); } mixin Foo!(); test.d(5): Error: undefined identifier Bar test.d(5): Error: undefined identifier Bar test.d(5): Error: undefined identifier Bar ... The error will be printed repeatedly until the maximum recursion depth is reached.
Output of 2.059: PS E:\DigitalMars\dmd2\samples> dmd -c bug.d bug.d(4): Error: undefined identifier Bar bug.d(7): Error: mixin bug.Foo!() error instantiating PS E:\DigitalMars\dmd2\samples>
This should be closed as RESOLVED.