Files
kotlin-fork/idea/testData/quickfix/increaseVisibility/invalidSealedClassInheritance.kt
T

11 lines
280 B
Kotlin
Vendored

// "Make '<init>' public" "false"
// "Make '<init>' internal" "false"
// ACTION: Introduce import alias
// ERROR: This type is sealed, so it can be inherited by only its own nested classes or objects
sealed class SealedClass
fun test() {
class Test : <caret>SealedClass()
}