KT-32178 Keyword completion: don't add 'fun' after 'suspend' in type position
#KT-32178 Fixed
This commit is contained in:
committed by
Roman Golyshev
parent
1f878049eb
commit
ba640be81d
@@ -2,5 +2,5 @@ fun foo() {
|
||||
val test : <caret>
|
||||
}
|
||||
|
||||
// EXIST: suspend fun
|
||||
// EXIST: suspend
|
||||
// NOTHING_ELSE
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
val a : <caret>
|
||||
|
||||
|
||||
// EXIST: suspend fun
|
||||
// EXIST: suspend
|
||||
// NOTHING_ELSE
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
fun foo(a: <caret>) {}
|
||||
|
||||
// EXIST: suspend
|
||||
// NOTHING_ELSE
|
||||
@@ -5,7 +5,7 @@ class Su() {
|
||||
}
|
||||
|
||||
|
||||
// EXIST: suspend fun
|
||||
// EXIST: suspend
|
||||
|
||||
/* TODO: items below are not valid here */
|
||||
// EXIST: class
|
||||
|
||||
@@ -5,7 +5,7 @@ class Su() {
|
||||
}
|
||||
|
||||
|
||||
// EXIST: suspend fun
|
||||
// EXIST: suspend
|
||||
|
||||
/* TODO: items below are not valid here */
|
||||
// EXIST: class
|
||||
|
||||
Reference in New Issue
Block a user