Ensure ForLoopsLowering only handles the CharSequence.iterator()
extension function from the standard library (kotlin.text.iterator()).
This commit is contained in:
committed by
max-kammerer
parent
1bd861c5eb
commit
dc10d25661
Generated
+5
@@ -15070,6 +15070,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/ranges/forInCharSequenceLengthIncreasedInLoopBody.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("forInCharSequenceWithCustomIterator.kt")
|
||||
public void testForInCharSequenceWithCustomIterator() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ranges/forInCharSequenceWithCustomIterator.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("forInCharSequenceWithMultipleGetFunctions.kt")
|
||||
public void testForInCharSequenceWithMultipleGetFunctions() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ranges/forInCharSequenceWithMultipleGetFunctions.kt");
|
||||
|
||||
+5
@@ -16225,6 +16225,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/ranges/forInCharSequenceLengthIncreasedInLoopBody.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("forInCharSequenceWithCustomIterator.kt")
|
||||
public void testForInCharSequenceWithCustomIterator() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ranges/forInCharSequenceWithCustomIterator.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("forInCharSequenceWithMultipleGetFunctions.kt")
|
||||
public void testForInCharSequenceWithMultipleGetFunctions() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ranges/forInCharSequenceWithMultipleGetFunctions.kt");
|
||||
|
||||
Reference in New Issue
Block a user