JVM IR: Don't generate line numbers and null checks in SAM wrapper constructors
This commit is contained in:
committed by
Alexander Udalov
parent
68e2d0d245
commit
8574cb4466
@@ -4386,6 +4386,11 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/bytecodeText/sam"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("samWrapperConstructorNonSynthetic.kt")
|
||||
public void testSamWrapperConstructorNonSynthetic() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/sam/samWrapperConstructorNonSynthetic.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("samWrapperForNullInitialization.kt")
|
||||
public void testSamWrapperForNullInitialization() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/sam/samWrapperForNullInitialization.kt");
|
||||
|
||||
Reference in New Issue
Block a user