JVM IR: Don't generate null checks on value parameters of private operator functions
The null check on the extension receiver of private operator functions is a special case and doesn't extend to value parameters.
This commit is contained in:
committed by
Alexander Udalov
parent
d4cb521433
commit
bd4e2a283c
+5
@@ -17519,6 +17519,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/paramAssertionMessage.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("privateOperatorParameterAssertions.kt")
|
||||
public void testPrivateOperatorParameterAssertions() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/privateOperatorParameterAssertions.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("staticCallErrorMessage.kt")
|
||||
public void testStaticCallErrorMessage() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/javaInterop/notNullAssertions/staticCallErrorMessage.kt");
|
||||
|
||||
Reference in New Issue
Block a user