K2: prefer derived class sources for callable copies (e.g. fake overrides)
This commit is contained in:
committed by
Space Team
parent
4b2a122f80
commit
3cb9396b20
-9
@@ -1,9 +0,0 @@
|
||||
interface B {
|
||||
fun getX() = 1
|
||||
}
|
||||
|
||||
interface D {
|
||||
<!ACCIDENTAL_OVERRIDE!>val x: Int<!>
|
||||
}
|
||||
|
||||
class C(d: D) : D by d, B
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
interface B {
|
||||
fun getX() = 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user