Add inspection to detect use of callable reference as a lambda body
So #KT-17053 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
53e11cbeb5
commit
0eceef1519
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
// PROBLEM: none
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun foo() {
|
||||
listOf(1,2,3).map {<caret> println(it) }
|
||||
}
|
||||
Reference in New Issue
Block a user