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

17 lines
438 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 implemented") //To change body of created functions use File | Settings | File Templates.
}
}
}