mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-04-04 08:31:30 +00:00
Loading SAM adapters with wildcard types.
This commit is contained in:
@@ -9,4 +9,10 @@ public class NonTrivialFunctionType {
|
||||
|
||||
public void foo(Comparator<String> comparator) {
|
||||
}
|
||||
|
||||
public void wildcardUnbound(Comparator<?> comparator) {
|
||||
}
|
||||
|
||||
public void wildcardBound(Comparator<? super CharSequence> comparator) {
|
||||
}
|
||||
}
|
||||
@@ -6,4 +6,7 @@ public open class NonTrivialFunctionType : java.lang.Object {
|
||||
public open /*synthesized*/ fun foo(/*0*/ p0 : ((jet.String?, jet.String?) -> jet.Int)?) : jet.Unit
|
||||
public open fun foo(/*0*/ p0 : java.io.FilenameFilter?) : jet.Unit
|
||||
public open fun foo(/*0*/ p0 : java.util.Comparator<jet.String>?) : jet.Unit
|
||||
public open /*synthesized*/ fun wildcardBound(/*0*/ p0 : ((jet.CharSequence?, jet.CharSequence?) -> jet.Int)?) : jet.Unit
|
||||
public open fun wildcardBound(/*0*/ p0 : java.util.Comparator<in jet.CharSequence?>?) : jet.Unit
|
||||
public open fun wildcardUnbound(/*0*/ p0 : java.util.Comparator<out jet.Any?>?) : jet.Unit
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user