KT-9377 Support is-checks for read-only collections

Marker interfaces for mutable Kotlin collections and related classes.
This commit is contained in:
Dmitry Petrov
2015-09-30 15:06:13 +03:00
parent e91c556d06
commit 35881198c3
11 changed files with 266 additions and 2 deletions
@@ -954,6 +954,12 @@ public class BlackBoxWithStdlibCodegenTestGenerated extends AbstractBlackBoxCode
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/classes/kt8011.kt");
doTestWithStdlib(fileName);
}
@TestMetadata("mutabilityMarkerInterfaces.kt")
public void testMutabilityMarkerInterfaces() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/classes/mutabilityMarkerInterfaces.kt");
doTestWithStdlib(fileName);
}
}
@TestMetadata("compiler/testData/codegen/boxWithStdlib/controlStructures")