15 lines
162 B
Kotlin
Vendored
15 lines
162 B
Kotlin
Vendored
// FLOW: IN
|
|
|
|
interface I {
|
|
var prop: Int
|
|
}
|
|
|
|
class C : I {
|
|
override var prop: Int = 0
|
|
}
|
|
|
|
fun foo(i: I, c: C) {
|
|
i.prop = 10
|
|
val <caret>v = c.prop
|
|
}
|