Properly check whether nullability of receiver argument fits to parameter's nullability
It's should behave like we check isSubtype(receiverType, parameterType) + use nullability info from smart cast #KT-1090 Fixed
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package
|
||||
|
||||
internal final class A</*0*/ T : kotlin.CharSequence?, /*1*/ E1 : T, /*2*/ E2 : T?> {
|
||||
public constructor A</*0*/ T : kotlin.CharSequence?, /*1*/ E1 : T, /*2*/ E2 : T?>()
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
internal final fun foo(/*0*/ x: E1, /*1*/ y: E2): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
internal final fun T.bar(): kotlin.Unit
|
||||
}
|
||||
Reference in New Issue
Block a user