JVM IR: Minor fix for nullable SAM wrappers
This commit is contained in:
committed by
Alexander Udalov
parent
4d43c13fb1
commit
f2e0c1a930
+1
-1
@@ -92,7 +92,7 @@ class SingleAbstractMethodLowering(val context: CommonBackendContext) : FileLowe
|
||||
val instance = irCall(implementation.constructors.single()).apply {
|
||||
putValueArgument(0, irGet(invokableVariable))
|
||||
}
|
||||
irIfNull(superType, irGet(invokableVariable), irNull(), instance)
|
||||
+irIfNull(superType, irGet(invokableVariable), irNull(), instance)
|
||||
}
|
||||
} else {
|
||||
irCall(implementation.constructors.single()).apply { putValueArgument(0, invokable) }
|
||||
|
||||
Reference in New Issue
Block a user