1 2 3 4 5 6 7 8 9 10 11 12 13 14
// https://issues.dlang.org/show_bug.cgi?id=19809 mixin template Impl(M...) { int opCmp(Object o) { return 0; } } class C { override { int function(int) fp = ((int x) => x); mixin Impl!("x", "y", ((int x) => x)); } }