e41c027c9a
Add "if return..." folding to "return if"
19 lines
354 B
Kotlin
Vendored
19 lines
354 B
Kotlin
Vendored
// !forceNotNullTypes: false
|
|
// !specifyLocalVariableTypeByDefault: true
|
|
internal class Library {
|
|
fun call() {}
|
|
|
|
val string: String
|
|
get() = ""
|
|
}
|
|
|
|
internal class User {
|
|
fun main() {
|
|
val lib: Library = Library()
|
|
lib.call()
|
|
lib.string.isEmpty()
|
|
|
|
Library().call()
|
|
Library().string.isEmpty()
|
|
}
|
|
} |