CompileTimeConstantUtils: use getConstant instead of evaluate

Hacky way to avoid passing builtins into this code
This commit is contained in:
Pavel V. Talanov
2015-07-20 19:57:43 +03:00
parent 855e3d2bf4
commit 4e0d2bc23c
3 changed files with 16 additions and 3 deletions
@@ -7717,6 +7717,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest(fileName);
}
@TestMetadata("exhaustiveBoolean.kt")
public void testExhaustiveBoolean() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/box/when/exhaustiveBoolean.kt");
doTest(fileName);
}
@TestMetadata("is.kt")
public void testIs() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/box/when/is.kt");