mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 00:21:29 +00:00
10 lines
168 B
Plaintext
10 lines
168 B
Plaintext
trait Some {
|
|
fun foo(some : Int?) : Int
|
|
}
|
|
|
|
class SomeOther : Some {
|
|
|
|
override fun foo(some : Int?) : Int {
|
|
throw UnsupportedOperationException()
|
|
}
|
|
} |