96d7203370
Changed test data to match actual behavior of the "override methods" feature.
20 lines
412 B
Plaintext
20 lines
412 B
Plaintext
package something
|
|
|
|
trait Some<T> {
|
|
fun someFoo()
|
|
fun someOtherFoo() : Int
|
|
fun someGenericFoo() : T
|
|
}
|
|
|
|
class SomeOther<S> : Some<S> {
|
|
|
|
override fun someFoo() {
|
|
throw UnsupportedOperationException()
|
|
}
|
|
override fun someGenericFoo() : S {
|
|
throw UnsupportedOperationException()
|
|
}
|
|
override fun someOtherFoo() : Int {
|
|
throw UnsupportedOperationException()
|
|
}
|
|
} |