Files
kotlin-fork/idea/testData/quickfix/implement/sealedWithConflict.kt.after
T
2019-11-13 08:37:25 +09:00

17 lines
366 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 BaseImpl1 : Base() {
override fun foo(): Int {
TODO("Not yet implemented")
}
}
}