FIR: Render "?" on nullable function types.
This commit is contained in:
committed by
TeamCityServer
parent
a9cc046ec9
commit
9cf5ac1fbd
@@ -3,6 +3,10 @@
|
||||
package test
|
||||
|
||||
fun test1(): suspend () -> Unit = null!!
|
||||
fun test1N(): (suspend () -> Unit)? = null
|
||||
fun test2(): suspend Int.() -> Int = null!!
|
||||
fun test2N(): (suspend Int.() -> Int)? = null
|
||||
fun test3(): List<suspend () -> Unit> = null!!
|
||||
fun test3N(): List<(suspend () -> Unit)?> = null!!
|
||||
fun test4(): suspend () -> (suspend () -> Unit) = null!!
|
||||
fun test4N(): (suspend () -> (suspend () -> Unit)?)? = null
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
package test
|
||||
|
||||
public fun test1(): suspend () -> kotlin.Unit
|
||||
public fun test1N(): (suspend () -> kotlin.Unit)?
|
||||
public fun test2(): suspend kotlin.Int.() -> kotlin.Int
|
||||
public fun test2N(): (suspend kotlin.Int.() -> kotlin.Int)?
|
||||
public fun test3(): kotlin.collections.List<suspend () -> kotlin.Unit>
|
||||
public fun test3N(): kotlin.collections.List<(suspend () -> kotlin.Unit)?>
|
||||
public fun test4(): suspend () -> suspend () -> kotlin.Unit
|
||||
public fun test4N(): (suspend () -> (suspend () -> kotlin.Unit)?)?
|
||||
|
||||
Reference in New Issue
Block a user