Make completion for overriding functions respect suspend modifier
Fixes #KT-22200
This commit is contained in:
committed by
Alexander Udalov
parent
8bc020f31b
commit
b567817d1f
@@ -0,0 +1,9 @@
|
||||
interface I {
|
||||
suspend fun foo()
|
||||
}
|
||||
|
||||
class A : I {
|
||||
o<caret>
|
||||
}
|
||||
|
||||
// ELEMENT_TEXT: "override suspend fun foo() {...}"
|
||||
@@ -0,0 +1,11 @@
|
||||
interface I {
|
||||
suspend fun foo()
|
||||
}
|
||||
|
||||
class A : I {
|
||||
override suspend fun foo() {
|
||||
<caret><selection>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
|
||||
}
|
||||
}
|
||||
|
||||
// ELEMENT_TEXT: "override suspend fun foo() {...}"
|
||||
Reference in New Issue
Block a user