Unnecessary parentheses in function call with lambda: don't report for function named 'suspend'
#KT-22878 Fixed
This commit is contained in:
committed by
Yan Zhulanow
parent
777995a3a0
commit
581f83421a
@@ -0,0 +1,6 @@
|
||||
// IS_APPLICABLE: false
|
||||
fun suspend(body: () -> Int) {}
|
||||
|
||||
fun main() {
|
||||
val wInvokeCall = suspend()<caret> { 42 }
|
||||
}
|
||||
Reference in New Issue
Block a user