Files
kotlin-fork/compiler/testData/diagnostics/tests/smartCasts/fieldInGetter.fir.kt
T

6 lines
105 B
Kotlin
Vendored

val x: Int? = 0
get() {
if (field != null) return field.hashCode()
return null
}