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

Additional tests.
This commit is contained in:
Dmitry Petrov
2015-10-02 12:44:24 +03:00
parent 06d9ff6a71
commit 1f69ae254d
4 changed files with 157 additions and 6 deletions
@@ -963,6 +963,12 @@ public class BlackBoxWithStdlibCodegenTestGenerated extends AbstractBlackBoxCode
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/casts/unitAsInt.kt");
doTestWithStdlib(fileName);
}
@TestMetadata("weirdMutableCasts.kt")
public void testWeirdMutableCasts() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/casts/weirdMutableCasts.kt");
doTestWithStdlib(fileName);
}
}
@TestMetadata("compiler/testData/codegen/boxWithStdlib/classes")