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
@@ -15390,6 +15390,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
public void testInterfaceCompanion() throws Exception {
runTest("compiler/testData/codegen/box/properties/const/interfaceCompanion.kt");
}
@TestMetadata("nonConstValsAreProperlyInitialized.kt")
public void testNonConstValsAreProperlyInitialized() throws Exception {
runTest("compiler/testData/codegen/box/properties/const/nonConstValsAreProperlyInitialized.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/properties/lateinit")