[FIR] Correctly build scopes for resolve of different parts of constructors
#KT-40409 Fixed
This commit is contained in:
Vendored
+1
-1
@@ -3,6 +3,6 @@ open class B(x: Int) {
|
||||
fun foo() = 1
|
||||
}
|
||||
class A : B {
|
||||
constructor(x: Int, y: Int = x + foo() + this.foo() + super.foo()) :
|
||||
constructor(x: Int, y: Int = x <!AMBIGUITY!>+<!> <!UNRESOLVED_REFERENCE!>foo<!>() + this.<!UNRESOLVED_REFERENCE!>foo<!>() + super.<!UNRESOLVED_REFERENCE!>foo<!>()) :
|
||||
super(x + foo() + this.foo() + super.foo())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user