Change diagnostic message and rename to NESTED_CLASS_DEPRECATED
This commit is contained in:
+2
-2
@@ -3,13 +3,13 @@ package a
|
||||
|
||||
enum class C {
|
||||
E1, E2, E3 {
|
||||
<!NESTED_CLASS_NOT_ALLOWED_SINCE_1_3!>object O_O<!>
|
||||
<!NESTED_CLASS_DEPRECATED!>object O_O<!>
|
||||
|
||||
fun b() {
|
||||
O_O
|
||||
}
|
||||
|
||||
<!NESTED_CLASS_NOT_ALLOWED_SINCE_1_3!>class G<!>
|
||||
<!NESTED_CLASS_DEPRECATED!>class G<!>
|
||||
},
|
||||
|
||||
E4 {
|
||||
|
||||
Reference in New Issue
Block a user