FE: add & fix test with intersection property shadowed by base field
This commit is contained in:
committed by
teamcity
parent
949a39b80f
commit
7904f23660
Vendored
+23
@@ -0,0 +1,23 @@
|
||||
// WITH_STDLIB
|
||||
// FIR_DUMP
|
||||
// FILE: Base.java
|
||||
|
||||
public class Base {
|
||||
public String x = "";
|
||||
}
|
||||
|
||||
// FILE: test.kt
|
||||
|
||||
interface Proxy {
|
||||
val x: String
|
||||
}
|
||||
|
||||
open class Intermediate : Base() {
|
||||
val x get() = " "
|
||||
}
|
||||
|
||||
class Derived : Proxy, Intermediate() {
|
||||
fun test() {
|
||||
x
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user