Merge pull request #140 from crazyproger/KT-1985

KT-1985 Creating class body in time of override/implement, if necessary
This commit is contained in:
Nikolay Krasko
2012-11-09 08:52:44 -08:00
5 changed files with 33 additions and 2 deletions
@@ -0,0 +1,6 @@
// From KT-1254
trait T {
fun Foo() : (String) -> Unit
}
class C : <caret>T
@@ -0,0 +1,10 @@
// From KT-1254
trait T {
fun Foo() : (String) -> Unit
}
class C : T {
override fun Foo(): (String) -> Unit {
throw UnsupportedOperationException()
}
}