[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(),
|
||||
|
||||
@@ -22,8 +22,8 @@ class A : I by S(
|
||||
Companion.CONST,
|
||||
Nested.CONST,
|
||||
Interface.CONST,
|
||||
a,
|
||||
b()
|
||||
<!UNRESOLVED_REFERENCE!>a<!>,
|
||||
<!UNRESOLVED_REFERENCE!>b<!>()
|
||||
) {
|
||||
|
||||
class Nested {
|
||||
|
||||
Reference in New Issue
Block a user