11 lines
165 B
Kotlin
Vendored
11 lines
165 B
Kotlin
Vendored
interface I {
|
|
public fun getString(): String?
|
|
}
|
|
|
|
class C {
|
|
fun foo(i: I) {
|
|
if (i.getString() == null) {
|
|
println("null")
|
|
}
|
|
}
|
|
} |