Added tests with type parameter of class in SAM adapter.

This commit is contained in:
Evgeny Gerashchenko
2013-04-17 19:14:54 +04:00
parent e554228a73
commit f4994969c0
6 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
package test;
import java.util.*;
public class TypeParameterOfClass<T> {
public void foo(Comparator<T> comparator) {
}
}

View File

@@ -0,0 +1,7 @@
package test
public open class TypeParameterOfClass</*0*/ T> : java.lang.Object {
public constructor TypeParameterOfClass</*0*/ T>()
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
}