b06b3ab4c4
#KT-4002 Fixed
21 lines
441 B
Plaintext
21 lines
441 B
Plaintext
package something
|
|
|
|
trait Some<T> {
|
|
fun someFoo()
|
|
fun someOtherFoo() : Int
|
|
fun someGenericFoo() : T
|
|
}
|
|
|
|
class SomeOther<S> : Some<S> {
|
|
override fun someFoo() {
|
|
<selection><caret>throw UnsupportedOperationException()</selection>
|
|
}
|
|
|
|
override fun someGenericFoo(): S {
|
|
throw UnsupportedOperationException()
|
|
}
|
|
|
|
override fun someOtherFoo(): Int {
|
|
throw UnsupportedOperationException()
|
|
}
|
|
} |