[FIR] Add diagnostic CONFLICTING_OVERLOADS & REDECLARATION
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
package Jet86
|
||||
|
||||
class A {
|
||||
companion object {
|
||||
companion <!REDECLARATION!>object<!> {
|
||||
val x = 1
|
||||
}
|
||||
companion <!MANY_COMPANION_OBJECTS!>object<!> {
|
||||
companion <!MANY_COMPANION_OBJECTS, REDECLARATION!>object<!> {
|
||||
val x = 1
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user