NI: Prefer nullable lower bound to flexible one when substitution of type variable is performed and remember flexibility of type parameters based on flexibility of its upper bounds
^KT-32435 Fixed
This commit is contained in:
+25
@@ -0,0 +1,25 @@
|
||||
package
|
||||
|
||||
public fun test1(/*0*/ a: () -> kotlin.Unit): kotlin.Unit
|
||||
public fun test2(/*0*/ a: () -> kotlin.Unit): kotlin.Unit
|
||||
public fun test3(/*0*/ a: () -> kotlin.Unit): kotlin.Unit
|
||||
public fun test4(/*0*/ a: () -> kotlin.Unit, /*1*/ b: () -> kotlin.Unit): kotlin.Unit
|
||||
public fun test5(/*0*/ a: kotlin.Any): kotlin.Unit
|
||||
public fun test5x(/*0*/ a: kotlin.Any): kotlin.Unit
|
||||
public fun test6(/*0*/ a: kotlin.Any): kotlin.Unit
|
||||
public fun test7(/*0*/ a: (kotlin.Int) -> kotlin.Int): kotlin.Unit
|
||||
public fun test8(/*0*/ a: () -> kotlin.Unit): kotlin.Unit
|
||||
public fun test9(): kotlin.Unit
|
||||
|
||||
public open class J {
|
||||
public constructor J()
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open fun run1(/*0*/ r: java.lang.Runnable!): kotlin.Unit
|
||||
public open fun run2(/*0*/ r1: java.lang.Runnable!, /*1*/ r2: java.lang.Runnable!): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
|
||||
// Static members
|
||||
public open fun </*0*/ T : kotlin.Any!> id(/*0*/ x: T!): T!
|
||||
public open fun runStatic(/*0*/ r: java.lang.Runnable!): kotlin.Unit
|
||||
}
|
||||
Reference in New Issue
Block a user