[FIR] Implement PACKAGE_OR_CLASSIFIER_REDECLARATION

Fix REDECLARATION positioning
This commit is contained in:
Ivan Kochurkin
2021-07-23 23:49:43 +03:00
committed by Space
parent 1c678be0d3
commit fd92b851a2
60 changed files with 166 additions and 262 deletions
@@ -1,5 +0,0 @@
class C {
companion <!REDECLARATION!>object<!> {}
<!REDECLARATION!>val Companion = C<!>
}
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
class C {
companion <!REDECLARATION!>object<!> {}
@@ -1,8 +1,8 @@
class B {
companion <!REDECLARATION!>object A<!> {
companion object <!REDECLARATION!>A<!> {
}
<!REDECLARATION!>val A = this<!>
val <!REDECLARATION!>A<!> = this
}
class C {