Files
kotlin-fork/compiler/testData/diagnostics/tests/j+k/flexibleNothing.txt
T
Denis Zharkov cff88a3f8b Fix false positive unreachable code in case of Nothing!-typed calls
Note, that this change potentially has some other effects in corner cases
(like the changed test data that is rather sensible because `bar`
in the example is not effectively projected out and can be called
with nulls)

Probably, we need to consider rewriting all other isSomeType methods
in KotlinBuiltins, but now it seems to be a rather dangerous change

 #KT-16424 Fixed
2018-03-13 14:40:05 +03:00

12 lines
537 B
Plaintext
Vendored

package
public fun run(): kotlin.Unit
public open class TestClass {
public constructor TestClass()
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 operator fun </*0*/ T : kotlin.Any!> set(/*0*/ @org.jetbrains.annotations.Nullable key: kotlin.String?, /*1*/ @org.jetbrains.annotations.Nullable t: T?): T!
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}