10 lines
181 B
Plaintext
10 lines
181 B
Plaintext
trait G<T> {
|
|
fun foo(t : T) : T
|
|
}
|
|
|
|
class GC() : G<Int> {
|
|
override fun foo(t: Int): Int {
|
|
<selection><caret>throw UnsupportedOperationException()</selection>
|
|
}
|
|
}
|