[FIR] Implement CLASS_CANNOT_BE_EXTENDED_DIRECTLY

This commit is contained in:
Ivan Kochurkin
2021-06-22 14:31:37 +03:00
committed by teamcityserver
parent 92d7a61b4f
commit c3a6ba52f6
9 changed files with 32 additions and 9 deletions
@@ -1,9 +0,0 @@
class Test1 : Enum<Test1>("", 0)
class Outer {
class Test2 : Enum<Test2>("", 0)
}
fun outer() {
class Test3 : Enum<Test3>("", 0)
}
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
class Test1 : <!CLASS_CANNOT_BE_EXTENDED_DIRECTLY!>Enum<Test1><!>("", 0)
class Outer {