Convert to anonymous function: do not suggest for suspend functions
#KT-37842 Fixed
This commit is contained in:
committed by
Yan Zhulanow
parent
ded996bdf7
commit
a4239afcb3
@@ -0,0 +1,9 @@
|
||||
// IS_APPLICABLE: false
|
||||
suspend fun sus(i: Int, block: suspend (Int) -> Unit) {
|
||||
block(i)
|
||||
}
|
||||
|
||||
suspend fun main() {
|
||||
sus(1) {<caret>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user