FIR: Render "?" on nullable function types.
This commit is contained in:
committed by
TeamCityServer
parent
a9cc046ec9
commit
9cf5ac1fbd
+1
-1
@@ -1,5 +1,5 @@
|
||||
FILE: smartcastOnLambda.kt
|
||||
public final fun test(func: R|() -> kotlin/Unit|): R|kotlin/Unit| {
|
||||
public final fun test(func: R|(() -> kotlin/Unit)?|): R|kotlin/Unit| {
|
||||
when () {
|
||||
!=(R|<local>/func|, Null(null)) -> {
|
||||
R|<local>/func|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()
|
||||
|
||||
Reference in New Issue
Block a user