Specialize diagnostic message for nested classes not allowed

This commit is contained in:
Dmitry Petrov
2017-09-07 14:06:55 +03:00
parent dd9ffd10b6
commit 488a825349
17 changed files with 237 additions and 36 deletions
@@ -2,7 +2,7 @@
class A {
inner class B {
companion <!NESTED_OBJECT_NOT_ALLOWED!>object<!> { }
companion <!NESTED_CLASS_NOT_ALLOWED(Companion object)!>object<!> { }
}
}