Files
kotlin-fork/idea/testData/quickfix/implement/sealedWithConflict.kt.after
T

18 lines
346 B
Plaintext
Vendored

// "Implement sealed class" "true"
// WITH_RUNTIME
// SHOULD_BE_AVAILABLE_AFTER_EXECUTION
sealed class Base {
abstract fun foo(): Int
class BaseImpl : Base() {
override fun foo() = throw UnsupportedOperationException()
}
}
class BaseImpl : Base() {
override fun foo(): Int {
TODO("Not yet implemented")
}
}