Add "Control flow with empty body" inspection
#KT-30970 Fixed
This commit is contained in:
committed by
Dmitry Gridin
parent
d2fcb8cc6a
commit
65f06454be
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
// PROBLEM: none
|
||||
// FIX: none
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun test() {
|
||||
42.<caret>also(fun(it: Int) {
|
||||
println(it)
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user