Change diagnostic message and rename to NESTED_CLASS_DEPRECATED

This commit is contained in:
Dmitry Petrov
2017-09-08 13:01:52 +03:00
parent 66ece54b25
commit 4428798c61
9 changed files with 16 additions and 16 deletions
@@ -20,6 +20,6 @@ fun foo() {
enum class E {
E1 {
// Not allowed in Java, but no reason to disallow in Kotlin
<!NESTED_CLASS_NOT_ALLOWED_SINCE_1_3!>class D<!>
<!NESTED_CLASS_DEPRECATED!>class D<!>
}
}