[FIR] Correctly build scopes for resolve of different parts of constructors
#KT-40409 Fixed
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
// ISSUE #KT-40409
|
||||
|
||||
interface A {
|
||||
var b: B
|
||||
}
|
||||
|
||||
interface B
|
||||
|
||||
fun A.test_1() {
|
||||
object : B by this.b {}
|
||||
}
|
||||
|
||||
fun A.test_2() {
|
||||
object : B by b {}
|
||||
}
|
||||
|
||||
class D(val x: String, val y: String = this.<!UNRESOLVED_REFERENCE!>x<!>) {}
|
||||
Reference in New Issue
Block a user