Files
kotlin-fork/idea/testData/inspectionsLocal/collections/redundantAsSequence/hasComment.kt
T
Toshiaki Kameyama afd544cbab Introduce "Redundant 'asSequence' call" inspections
#KT-35893 Fixed
2020-06-02 22:17:54 +03:00

4 lines
95 B
Kotlin
Vendored

// WITH_RUNTIME
fun test(list: List<String>) {
list/*comment*/.<caret>asSequence().last()
}