Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
class A { public <T> T foo(Closure<T> c) {c.call()} } class B { @Delegate A a = new A() }
A#foo's signature:
// access flags 0x1 // signature <T:Ljava/lang/Object;>(Lgroovy/lang/Closure<TT;>;)TT; // declaration: T foo<T>(groovy.lang.Closure<T>) public foo(Lgroovy/lang/Closure;)Ljava/lang/Object;
B#foo's signature:
// access flags 0x1 // signature <T:Ljava/lang/Object;>(Lgroovy/lang/Closure;)Ljava/lang/Object; // declaration: foo<T>(groovy.lang.Closure) public foo(Lgroovy/lang/Closure;)Ljava/lang/Object;