Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Duplicate
-
2.0.6, 2.2.1
-
None
Description
Groovyc fails to compile the following code:
abstract class Base<A> { abstract void foo(A[] a) } class X {} class Inheritor extends Base<X>{ @Override void foo(X[] a) {} //Groovyc: Can't have an abstract method in a non-abstract class. //The class 'B' must be declared abstract //or the method 'void foo([Ljava.lang.Object;)' must be implemented. }