For each parameter not used: handle char sequences correctly

An enhancement for KT-27209
This commit is contained in:
Mikhail Glukhikh
2018-12-11 16:40:53 +03:00
parent 833f564f0e
commit b143a1c8f7
8 changed files with 26 additions and 6 deletions
@@ -1,5 +1,5 @@
// WITH_RUNTIME
// FIX: Replace with 'repeat(size)'
// FIX: Replace with 'repeat()'
fun test(sequence: Sequence<String>) {
sequence.for<caret>Each {}