Files
kotlin-fork/compiler/testData/diagnostics/tests/generics/nullability/smartCastsOnThis.txt
T
Denis Zharkov aad977d204 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
2015-08-28 18:50:25 +03:00

8 lines
312 B
Plaintext
Vendored

package
internal fun </*0*/ T : kotlin.CharSequence?> T.bar1(): kotlin.Unit
internal fun kotlin.CharSequence?.bar2(): kotlin.Unit
internal fun </*0*/ T : kotlin.CharSequence> T.bar3(): kotlin.Unit
internal fun kotlin.CharSequence.bar4(): kotlin.Unit
internal fun </*0*/ T : kotlin.String?> T.foo(): kotlin.Unit