c7f3a31517
Can be used for implementing interfaces / abstract classes / sealed classes or extending open classes
10 lines
235 B
Kotlin
Vendored
10 lines
235 B
Kotlin
Vendored
// "Implement sealed class" "true"
|
|
// SHOULD_BE_AVAILABLE_AFTER_EXECUTION
|
|
|
|
sealed class <caret>Base {
|
|
abstract fun foo(): Int
|
|
|
|
class BaseImpl : Base() {
|
|
override fun foo() = throw UnsupportedOperationException()
|
|
}
|
|
} |