FIR: introduce diagnostic NESTED_CLASS_NOT_ALLOWED
This commit is contained in:
committed by
Mikhail Glukhikh
parent
c5cabce2d5
commit
724ca1d3ee
+3
-3
@@ -1,10 +1,10 @@
|
||||
class A {
|
||||
inner class I {
|
||||
companion object A
|
||||
companion <!NESTED_CLASS_NOT_ALLOWED!>object A<!>
|
||||
|
||||
companion <!MANY_COMPANION_OBJECTS!>object B<!>
|
||||
companion <!MANY_COMPANION_OBJECTS, NESTED_CLASS_NOT_ALLOWED!>object B<!>
|
||||
|
||||
companion <!MANY_COMPANION_OBJECTS!>object C<!>
|
||||
companion <!MANY_COMPANION_OBJECTS, NESTED_CLASS_NOT_ALLOWED!>object C<!>
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user