Files
kotlin/idea/testData/codeInsight/postfix/forOnString.kt
Denis Zharkov bd88919411 Refine predicate for 'iter' postfix template
Use IterableTypesDetection to determine if the given expression may be iterated

 #KT-14134 Fixed
 #KT-14129 Fixed
2017-03-15 10:47:12 +03:00

4 lines
55 B
Kotlin
Vendored

fun foo(list: List<String>) {
list[0].for<caret>
}