mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 00:21:32 +00:00
10 lines
148 B
Plaintext
10 lines
148 B
Plaintext
trait G<T> {
|
|
fun foo(t : T) : T
|
|
}
|
|
|
|
class GC<T>() : G<T> {
|
|
|
|
override fun foo(t: T): T {
|
|
throw UnsupportedOperationException()
|
|
}
|
|
} |