mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
JVM IR: Minor fix for nullable SAM wrappers
This commit is contained in:
committed by
Alexander Udalov
parent
4d43c13fb1
commit
f2e0c1a930
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// FILE: JFoo.java
|
||||
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
@@ -17,8 +16,16 @@ fun test() {
|
||||
JFoo.foo2({}, runnable())
|
||||
}
|
||||
|
||||
// @TestKt.class:
|
||||
// 2 NEW
|
||||
|
||||
// JVM_TEMPLATES
|
||||
// @TestKt.class:
|
||||
// 0 IFNONNULL
|
||||
// 1 IFNULL
|
||||
// 1 ACONST_NULL
|
||||
|
||||
// JVM_IR_TEMPLATES
|
||||
// @TestKt.class
|
||||
// 1 IFNONNULL
|
||||
// 0 IFNULL
|
||||
// 2 ACONST_NULL
|
||||
|
||||
Reference in New Issue
Block a user