#KT-26965 Add inspection + quickfix for replacing Collection<T>.count() with .size

This commit is contained in:
Dereck Bridie
2019-02-28 11:33:10 +01:00
committed by Dmitry Gridin
parent 240ff08069
commit 4156a76129
12 changed files with 138 additions and 0 deletions
@@ -0,0 +1,7 @@
// PROBLEM: none
// WITH_RUNTIME
fun foo() {
var array = arrayOf(1,2,3)
array.<caret>count { i -> i == 1 }
}