Remove duplicate parameter null checks in JvmStatic delegate methods.
Remove unnecessary non-null parameter checks inside static delegate methods created for @JvmStatic companion object methods. Allows function generation strategy decide if such checks need to be injected. #KT-7188 Fixed
This commit is contained in:
committed by
Dmitry Petrov
parent
9e82ab38f0
commit
52ccd67ec1
@@ -282,6 +282,12 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("kt7188.kt")
|
||||
public void testKt7188() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeText/kt7188.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("kt7769.kt")
|
||||
public void testKt7769() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeText/kt7769.kt");
|
||||
|
||||
Reference in New Issue
Block a user