[FIR] resolve delegate field return type in correct scope
We should resolve it in the same way as delegate constructor call to avoid access to nested class scopes ^KT-63522 Fixed ^KT-63042
This commit is contained in:
committed by
Space Team
parent
ab6b3a6047
commit
0b253dc815
+2
-2
@@ -9,7 +9,7 @@ FILE: nestedNameClash.kt
|
||||
|
||||
}
|
||||
)
|
||||
R|<local>/data|.R|second/Base.foo|()
|
||||
R|<local>/data|.R|second/MyClass.foo|()
|
||||
}
|
||||
public abstract interface Base : R|kotlin/Any| {
|
||||
public open fun foo(): R|kotlin/Unit| {
|
||||
@@ -21,7 +21,7 @@ FILE: nestedNameClash.kt
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
private final field $$delegate_0: R|second/MyClass.Base| = R|<local>/prop|
|
||||
private final field $$delegate_0: R|second/Base| = R|<local>/prop|
|
||||
|
||||
public final val prop: R|second/Base| = R|<local>/prop|
|
||||
public get(): R|second/Base|
|
||||
|
||||
Reference in New Issue
Block a user