10 lines
166 B
Plaintext
10 lines
166 B
Plaintext
trait Some {
|
|
fun foo(some : Int?) : Int
|
|
}
|
|
|
|
class SomeOther : Some {
|
|
|
|
override fun foo(some: Int?): Int {
|
|
throw UnsupportedOperationException()
|
|
}
|
|
} |