Files
kotlin/idea/testData/codeInsight/overrideImplement/emptyClassBodyFunctionMethod.kt.after
Vladimir Rudev 2dd47d6339 KT-1985 Add test case and fix minor bug
Reference compacting must be done before adding body to class.
2012-11-08 23:23:49 +04:00

10 lines
172 B
Plaintext

// From KT-1254
trait T {
fun Foo() : (String) -> Unit
}
class C : T {
override fun Foo(): (String) -> Unit {
throw UnsupportedOperationException()
}
}