Files
kotlin-fork/compiler/fir/analysis-tests/testData/extendedCheckers/RedundantCallOfConversionMethod/nullable2.kt
T

7 lines
143 B
Kotlin
Vendored

// IS_APPLICABLE: false
// WITH_RUNTIME
data class Foo(val name: String)
fun nullable2(foo: Foo?) {
val s: String = foo?.name.toString()
}