Compare FP numbers properly when determining if field initializer needed

This commit is contained in:
Dmitry Petrov
2018-07-20 14:35:49 +03:00
parent 819ffe7117
commit 86e863951e
5 changed files with 32 additions and 2 deletions
@@ -15396,6 +15396,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/properties/const/constValInAnnotationDefault.kt");
}
@TestMetadata("fpNonConstValProperlyInitialized.kt")
public void testFpNonConstValProperlyInitialized() throws Exception {
runTest("compiler/testData/codegen/box/properties/const/fpNonConstValProperlyInitialized.kt");
}
@TestMetadata("interfaceCompanion.kt")
public void testInterfaceCompanion() throws Exception {
runTest("compiler/testData/codegen/box/properties/const/interfaceCompanion.kt");