Don't initialize const properties in constructor

#KT-9532 Fixed
This commit is contained in:
Michael Bogdanov
2015-10-17 12:32:41 +03:00
committed by Michael Bogdanov
parent 7d7d37719b
commit 3452fc8d02
10 changed files with 123 additions and 0 deletions
@@ -469,6 +469,12 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
doTest(fileName);
}
@TestMetadata("kt9532.kt")
public void testKt9532() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeText/constants/kt9532.kt");
doTest(fileName);
}
@TestMetadata("nullableByteAndShort.kt")
public void testNullableByteAndShort() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeText/constants/nullableByteAndShort.kt");