a59021a25e
#KT-18786 fixed
20 lines
355 B
Kotlin
Vendored
20 lines
355 B
Kotlin
Vendored
// !forceNotNullTypes: false
|
|
// !specifyLocalVariableTypeByDefault: true
|
|
internal class Library {
|
|
|
|
val string: String
|
|
get() = ""
|
|
|
|
fun call() {}
|
|
}
|
|
|
|
internal class User {
|
|
fun main() {
|
|
val lib: Library = Library()
|
|
lib.call()
|
|
lib.string.isEmpty()
|
|
|
|
Library().call()
|
|
Library().string.isEmpty()
|
|
}
|
|
} |