mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 00:21:28 +00:00
JVM: Always invoke get()/charAt() in optimized for-loop over
CharSequence.withIndex(), even if element variable is unused in destructuring declaration. #KT-34779 Fixed
This commit is contained in:
committed by
Dmitry Petrov
parent
411dc5d60e
commit
f444702cf3
@@ -19,4 +19,4 @@ fun box(): String {
|
||||
// 0 component1
|
||||
// 0 component2
|
||||
// 1 length
|
||||
// 0 charAt
|
||||
// 1 charAt
|
||||
|
||||
Reference in New Issue
Block a user