Files
kotlin-fork/idea/testData/codeInsight/overrideImplement/generateMulti.kt.after
T
olegkunov 96d7203370 KT-1378 Code formatting: spaces around ':'
Changed test data to match actual behavior of the "override methods" feature.
2012-03-01 21:18:37 +04:00

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()
}
}