Fix false positive "Collection count can be converted to size" with Iterable
#KT-34677 Fixed
This commit is contained in:
committed by
Vladimir Dolzhenko
parent
d906c814cf
commit
e2a7170b2f
+8
@@ -0,0 +1,8 @@
|
||||
// PROBLEM: none
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun foo(iterable: Iterable<String>) {
|
||||
iterable.run {
|
||||
<caret>count()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user