KT-13664: write values of long compile-time constants as constants. Fix #KT-13664

This commit is contained in:
Alexey Andreev
2016-09-06 18:28:15 +03:00
parent 1e5fb91d7d
commit 9dd6c9a65c
4 changed files with 81 additions and 27 deletions
@@ -119,6 +119,12 @@ public class CastTestGenerated extends AbstractCastTest {
doTest(fileName);
}
@TestMetadata("implicitCastToLong.kt")
public void testImplicitCastToLong() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/expression/cast/cases/implicitCastToLong.kt");
doTest(fileName);
}
@TestMetadata("noRuntimeTypeCheck.kt")
public void testNoRuntimeTypeCheck() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/expression/cast/cases/noRuntimeTypeCheck.kt");