K2 resolve: prefer derived class property to base class field
#KT-50082 Fixed
This commit is contained in:
committed by
teamcity
parent
642bbd38ba
commit
59bafedd8a
+14
@@ -0,0 +1,14 @@
|
||||
FILE: KotlinBase.kt
|
||||
public open class KotlinBase : R|kotlin/Any| {
|
||||
public constructor(): R|KotlinBase| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public final val abcd: R|kotlin/String| = String(abcd)
|
||||
public get(): R|kotlin/String|
|
||||
|
||||
}
|
||||
FILE: test.kt
|
||||
public final fun test(d: R|JavaDerived|): R|kotlin/Unit| {
|
||||
R|<local>/d|.R|/JavaDerived.abcd|
|
||||
}
|
||||
Reference in New Issue
Block a user