Override/Implement: Do not insert super-call into extension body

Such super-calls are not are supported yet

 #KT-4311 Fixed
This commit is contained in:
Alexey Sedunov
2018-06-08 15:02:33 +03:00
parent c49eede054
commit 5f87e84966
4 changed files with 31 additions and 2 deletions
@@ -0,0 +1,9 @@
open class A {
open fun Int.foo(): Int {
return 0
}
}
class B: A() {
<caret>
}
@@ -0,0 +1,11 @@
open class A {
open fun Int.foo(): Int {
return 0
}
}
class B: A() {
override fun Int.foo(): Int {
<selection><caret>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
}