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:
@@ -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()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user