Added tests with type parameter of class in SAM adapter.
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
package test;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
public class TypeParameterOfOuterClass<T> {
|
||||
public class Inner {
|
||||
public void foo(Comparator<T> comparator) {
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
package test
|
||||
|
||||
public open class TypeParameterOfOuterClass</*0*/ T> : java.lang.Object {
|
||||
public constructor TypeParameterOfOuterClass</*0*/ T>()
|
||||
|
||||
public open inner class Inner : java.lang.Object {
|
||||
public constructor Inner()
|
||||
public open /*synthesized*/ fun foo(/*0*/ p0 : ((T?, T?) -> jet.Int)?) : jet.Unit
|
||||
public open fun foo(/*0*/ p0 : java.util.Comparator<T>?) : jet.Unit
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user