Intrinsics for 'reversed': CharSequence.indices

#KT-21323 In Progress
This commit is contained in:
Dmitry Petrov
2017-12-11 16:11:03 +03:00
parent 7ba73c1635
commit 64ba811b7f
8 changed files with 67 additions and 1 deletions
@@ -1414,6 +1414,12 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
doTest(fileName);
}
@TestMetadata("forInReversedCharSequenceIndices.kt")
public void testForInReversedCharSequenceIndices() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeText/forLoop/forInReversed/forInReversedCharSequenceIndices.kt");
doTest(fileName);
}
@TestMetadata("forInReversedCollectionIndices.kt")
public void testForInReversedCollectionIndices() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeText/forLoop/forInReversed/forInReversedCollectionIndices.kt");