1635018fe7
#KT-11807 Fixed
16 lines
453 B
Plaintext
Vendored
16 lines
453 B
Plaintext
Vendored
// "Implement sealed class" "true"
|
|
// 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 {
|
|
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|
|
}
|
|
} |