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
+5
@@ -19305,6 +19305,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
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