JVM IR: Mark lateinit fields as NotNull
This is needed for compatibility with the JVM backend.
This commit is contained in:
committed by
Alexander Udalov
parent
52b29b53bc
commit
3291cf7a6e
+5
@@ -74,6 +74,11 @@ public class BytecodeListingTestGenerated extends AbstractBytecodeListingTest {
|
||||
runTest("compiler/testData/codegen/bytecodeListing/jvmStaticWithDefaultParameters.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("lateInitNotNull.kt")
|
||||
public void testLateInitNotNull() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeListing/lateInitNotNull.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("noCollectionStubMethodsInInterface.kt")
|
||||
public void testNoCollectionStubMethodsInInterface() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeListing/noCollectionStubMethodsInInterface.kt");
|
||||
|
||||
+5
@@ -74,6 +74,11 @@ public class IrBytecodeListingTestGenerated extends AbstractIrBytecodeListingTes
|
||||
runTest("compiler/testData/codegen/bytecodeListing/jvmStaticWithDefaultParameters.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("lateInitNotNull.kt")
|
||||
public void testLateInitNotNull() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeListing/lateInitNotNull.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("noCollectionStubMethodsInInterface.kt")
|
||||
public void testNoCollectionStubMethodsInInterface() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeListing/noCollectionStubMethodsInInterface.kt");
|
||||
|
||||
Reference in New Issue
Block a user