Don't generate ConstantValue for non-const vals in Kotlin 1.3+

This commit is contained in:
Dmitry Petrov
2018-07-17 14:20:44 +03:00
parent 7640b7f63a
commit 82f22f92ca
9 changed files with 229 additions and 0 deletions
@@ -910,6 +910,16 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
public void testNoInlineInCmp() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/constProperty/noInlineInCmp.kt");
}
@TestMetadata("nonConstValHasNoDefaultValue_after.kt")
public void testNonConstValHasNoDefaultValue_after() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/constProperty/nonConstValHasNoDefaultValue_after.kt");
}
@TestMetadata("nonConstValHasNoDefaultValue_before.kt")
public void testNonConstValHasNoDefaultValue_before() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/constProperty/nonConstValHasNoDefaultValue_before.kt");
}
}
@TestMetadata("compiler/testData/codegen/bytecodeText/constantConditions")