BadImpl(T,alias thename)1 template BadImpl(T, alias thename) 2 { 3 void a_bad_idea(T t) 4 { 5 thename.a_bad_idea(t); 6 } 7 } 8 9 class foo 10 { 11 mixin BadImpl!(uint,Mix1) Mix1; 12 } 13 main()14 int main() 15 { 16 return 0; 17 } 18