-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.1.0-rc-2, 1.8.9, 2.0.7
-
Component/s: None
-
Labels:None
Executing the code below
class A {} class B extends A {} interface Contract { A method() } abstract class AbstractContract implements Contract {} class ContractImpl extends AbstractContract { B method(String foo='default') { new B() } } new ContractImpl().method()
fails because ContractImpl#super$1$method():A tries to call Contract#method.