Files
kotlin/idea/testData/codeInsight/overrideImplement/genericMethod.kt.after
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

11 lines
154 B
Plaintext

trait G<T> {
fun foo(t : T) : T
}
class GC() : G<Int> {
override fun foo(t : Int) : Int {
throw UnsupportedOperationException()
}
}