Compiles with 2.062, error in git head:
import std.stdio;
class C(T){
T foo(){ return 2; }
}
class D : C!int{
override int foo(){ writeln(super.foo()); return 3; } // error
}
void main(){ }
This was presumably introduced by the fix for issue 7511.
(It had already been pointed out there that virtual functions shouldn't have their attributes inferred.)