'Nothing' as function return type and property type can't be abbreviated.
This commit is contained in:
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
typealias N = Nothing
|
||||
|
||||
fun <!ABBREVIATED_NOTHING_RETURN_TYPE!>testFun<!>(): N = null!!
|
||||
val <!ABBREVIATED_NOTHING_PROPERTY_TYPE!>testVal<!>: N = null!!
|
||||
val <!ABBREVIATED_NOTHING_PROPERTY_TYPE!>testValWithGetter<!>: N get() = null!!
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
package
|
||||
|
||||
public typealias N = kotlin.Nothing
|
||||
public val testVal: N [= kotlin.Nothing]
|
||||
public val testValWithGetter: N [= kotlin.Nothing]
|
||||
public fun testFun(): N [= kotlin.Nothing]
|
||||
Reference in New Issue
Block a user