Convert to anonymous function: do not suggest for suspend functions

#KT-37842 Fixed
This commit is contained in:
Toshiaki Kameyama
2020-03-30 12:18:53 +09:00
committed by Yan Zhulanow
parent ded996bdf7
commit a4239afcb3
3 changed files with 27 additions and 3 deletions
@@ -0,0 +1,9 @@
// IS_APPLICABLE: false
suspend fun sus(i: Int, block: suspend (Int) -> Unit) {
block(i)
}
suspend fun main() {
sus(1) {<caret>
}
}