Map Nothing to java.lang.Void
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
fun nothing(): Nothing = throw Exception()
|
||||
|
||||
// method: _DefaultPackage::nothing
|
||||
// jvm signature: ()V
|
||||
// generic signature: null
|
||||
@@ -1,5 +0,0 @@
|
||||
fun nothingq(): Nothing? = null
|
||||
|
||||
// method: _DefaultPackage::nothingq
|
||||
// jvm signature: ()Ljava/lang/Object;
|
||||
// generic signature: null
|
||||
@@ -0,0 +1,6 @@
|
||||
class C<T>
|
||||
fun f(p: Nothing, p1: C<Nothing>): Nothing = throw Exception()
|
||||
|
||||
// method: _DefaultPackage::f
|
||||
// jvm signature: (Ljava/lang/Void;LC;)Ljava/lang/Void;
|
||||
// generic signature: (Ljava/lang/Void;LC<Ljava/lang/Void;>;)Ljava/lang/Void;
|
||||
@@ -0,0 +1,6 @@
|
||||
class C<T>
|
||||
fun f(p: Nothing?, p1: C<Nothing?>): Nothing? = throw Exception()
|
||||
|
||||
// method: _DefaultPackage::f
|
||||
// jvm signature: (Ljava/lang/Void;LC;)Ljava/lang/Void;
|
||||
// generic signature: (Ljava/lang/Void;LC<Ljava/lang/Void;>;)Ljava/lang/Void;
|
||||
Reference in New Issue
Block a user