1 module imports.a21a; 2 3 import std.stdio; 4 import a21; 5 GoodMixin()6 template GoodMixin() 7 { 8 int goodFunc() 9 { 10 printf("goodFunc\n"); 11 return 1; 12 } 13 } 14 15 16 class SomeClass 17 { 18 mixin GoodMixin; 19 mixin BadMixin; 20 } 21 22