[FIR] Correctly build scopes for resolve of different parts of constructors
#KT-40409 Fixed
This commit is contained in:
@@ -10,8 +10,8 @@ class A(
|
||||
cc: Int = Companion.CONST,
|
||||
cn: Int = Nested.CONST,
|
||||
ci: Int = Interface.CONST,
|
||||
t1: Int = a,
|
||||
t2: Int = b()
|
||||
t1: Int = <!UNRESOLVED_REFERENCE!>a<!>,
|
||||
t2: Int = <!UNRESOLVED_REFERENCE!>b<!>()
|
||||
) {
|
||||
|
||||
constructor(
|
||||
@@ -25,8 +25,8 @@ class A(
|
||||
cc: Int = Companion.CONST,
|
||||
cn: Int = Nested.CONST,
|
||||
ci: Int = Interface.CONST,
|
||||
t1: Int = a,
|
||||
t2: Int = b()
|
||||
t1: Int = <!UNRESOLVED_REFERENCE!>a<!>,
|
||||
t2: Int = <!UNRESOLVED_REFERENCE!>b<!>()
|
||||
) : this(
|
||||
foo(),
|
||||
Nested(),
|
||||
|
||||
Reference in New Issue
Block a user