[FIR] Add diagnostic CONFLICTING_OVERLOADS & REDECLARATION

This commit is contained in:
Nick
2020-08-05 09:35:10 +03:00
parent 36984009e9
commit 4669e019d1
72 changed files with 681 additions and 247 deletions
@@ -1,5 +1,5 @@
class C {
companion object {}
companion <!REDECLARATION!>object<!> {}
val Companion = C
<!REDECLARATION!>val Companion = C<!>
}
@@ -1,8 +1,8 @@
class B {
companion object A {
companion <!REDECLARATION!>object A<!> {
}
val A = this
<!REDECLARATION!>val A = this<!>
}
class C {