JVM: do not generate assertion message for captured fields

#KT-64615 Fixed
This commit is contained in:
Alexander Udalov
2024-01-09 12:13:03 +01:00
committed by Space Team
parent f01e633f8b
commit dd5fffebf2
12 changed files with 86 additions and 1 deletions
@@ -31442,6 +31442,12 @@ public class LLFirBlackBoxCodegenBasedTestGenerated extends AbstractLLFirBlackBo
runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/expressionAssertionMessages/backingField.kt");
}
@Test
@TestMetadata("capturedVariable.kt")
public void testCapturedVariable() throws Exception {
runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/expressionAssertionMessages/capturedVariable.kt");
}
@Test
@TestMetadata("field_after.kt")
public void testField_after() throws Exception {
@@ -31442,6 +31442,12 @@ public class LLFirReversedBlackBoxCodegenBasedTestGenerated extends AbstractLLFi
runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/expressionAssertionMessages/backingField.kt");
}
@Test
@TestMetadata("capturedVariable.kt")
public void testCapturedVariable() throws Exception {
runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/expressionAssertionMessages/capturedVariable.kt");
}
@Test
@TestMetadata("field_after.kt")
public void testField_after() throws Exception {