Drop package facades: update compiler tests.
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
fun never(): Array<java.lang.CharSequence> = throw Exception()
|
||||
|
||||
// method: _DefaultPackage::never
|
||||
// method: ArrayOfCharSequenceKt::never
|
||||
// jvm signature: ()[Ljava/lang/CharSequence;
|
||||
// generic signature: null
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
fun never(): Array<Int> = throw Exception()
|
||||
|
||||
// method: _DefaultPackage::never
|
||||
// method: ArrayOfIntKt::never
|
||||
// jvm signature: ()[Ljava/lang/Integer;
|
||||
// generic signature: null
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
fun cc(): Comparable<java.lang.CharSequence>? = null
|
||||
|
||||
// method: _DefaultPackage::cc
|
||||
// method: ComparableKt::cc
|
||||
// jvm signature: ()Ljava/lang/Comparable;
|
||||
// generic signature: ()Ljava/lang/Comparable<Ljava/lang/CharSequence;>;
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
fun key(): Int = throw Exception()
|
||||
|
||||
// method: _DefaultPackage::key
|
||||
// method: IntKt::key
|
||||
// jvm signature: ()I
|
||||
// generic signature: null
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
fun never(): IntArray = throw Exception()
|
||||
|
||||
// method: _DefaultPackage::never
|
||||
// method: IntArrayKt::never
|
||||
// jvm signature: ()[I
|
||||
// generic signature: null
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
fun sometimes(): Int? = null
|
||||
|
||||
// method: _DefaultPackage::sometimes
|
||||
// method: IntQKt::sometimes
|
||||
// jvm signature: ()Ljava/lang/Integer;
|
||||
// generic signature: null
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
|
||||
fun foo(p: List<CharSequence>) = 1
|
||||
|
||||
// method: _DefaultPackage::foo
|
||||
// method: ListOfCharSequenceKt::foo
|
||||
// jvm signature: (Ljava/util/List;)I
|
||||
// generic signature: (Ljava/util/List<+Ljava/lang/CharSequence;>;)I
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
fun listOfStar(): List<*> = throw Exception()
|
||||
|
||||
|
||||
// method: _DefaultPackage::listOfStar
|
||||
// method: ListOfStarKt::listOfStar
|
||||
// jvm signature: ()Ljava/util/List;
|
||||
// generic signature: ()Ljava/util/List<*>;
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
fun getEntry(): Map.Entry<Int, String>? = null
|
||||
|
||||
// method: _DefaultPackage::getEntry
|
||||
// method: MapEntryKt::getEntry
|
||||
// jvm signature: ()Ljava/util/Map$Entry;
|
||||
// generic signature: ()Ljava/util/Map$Entry<Ljava/lang/Integer;Ljava/lang/String;>;
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
fun getEntry(): MutableMap.MutableEntry<Int, String>? = null
|
||||
|
||||
// method: _DefaultPackage::getEntry
|
||||
// method: MutableMapEntryKt::getEntry
|
||||
// jvm signature: ()Ljava/util/Map$Entry;
|
||||
// generic signature: ()Ljava/util/Map$Entry<Ljava/lang/Integer;Ljava/lang/String;>;
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
fun foo() = 1
|
||||
|
||||
// method: _DefaultPackage::foo
|
||||
// method: NonGenericKt::foo
|
||||
// jvm signature: ()I
|
||||
// generic signature: null
|
||||
@@ -2,6 +2,6 @@ class C<T : C<T>>
|
||||
|
||||
fun bar(c: C<*>): C<*> = null!!
|
||||
|
||||
// method: _DefaultPackage::bar
|
||||
// method: StarProjectionOutsideClassKt::bar
|
||||
// jvm signature: (LC;)LC;
|
||||
// generic signature: (LC<*>;)LC<*>;
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
fun foo(vararg tail: java.lang.CharSequence) = 1
|
||||
|
||||
// method: _DefaultPackage::foo
|
||||
// method: VarargCharSequenceKt::foo
|
||||
// jvm signature: ([Ljava/lang/CharSequence;)I
|
||||
// generic signature: null
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
fun <P> foo(vararg tail: P) = 1
|
||||
|
||||
// method: _DefaultPackage::foo
|
||||
// method: VarargGenericKt::foo
|
||||
// jvm signature: ([Ljava/lang/Object;)I
|
||||
// generic signature: <P:Ljava/lang/Object;>([TP;)I
|
||||
+1
-1
@@ -4,6 +4,6 @@ class X
|
||||
|
||||
fun f(m: M<X, X>): M<X, X> = throw Exception()
|
||||
|
||||
// method: _DefaultPackage::f
|
||||
// method: FunctionTwoTypeParametersKt::f
|
||||
// jvm signature: (LM;)LM;
|
||||
// generic signature: (LM<-LX;+LX;>;)LM<LX;LX;>;
|
||||
@@ -2,6 +2,6 @@ class In<in T>
|
||||
|
||||
fun f(p: In<String>) {}
|
||||
|
||||
// method: _DefaultPackage::f
|
||||
// method: InInInPositionKt::f
|
||||
// jvm signature: (LIn;)V
|
||||
// generic signature: (LIn<-Ljava/lang/String;>;)V
|
||||
+1
-1
@@ -2,6 +2,6 @@ class In<in T>
|
||||
|
||||
fun f(): In<String> = throw Exception()
|
||||
|
||||
// method: _DefaultPackage::f
|
||||
// method: InInOutPositionKt::f
|
||||
// jvm signature: ()LIn;
|
||||
// generic signature: ()LIn<Ljava/lang/String;>;
|
||||
+1
-1
@@ -3,6 +3,6 @@ class X
|
||||
|
||||
fun f(p: In<In<X>>) {}
|
||||
|
||||
// method: _DefaultPackage::f
|
||||
// method: InOfInInInPositionKt::f
|
||||
// jvm signature: (LIn;)V
|
||||
// generic signature: (LIn<-LIn<-LX;>;>;)V
|
||||
+1
-1
@@ -3,6 +3,6 @@ class X
|
||||
|
||||
fun f(): In<In<X>> = throw Exception()
|
||||
|
||||
// method: _DefaultPackage::f
|
||||
// method: InOfInInOutPositionKt::f
|
||||
// jvm signature: ()LIn;
|
||||
// generic signature: ()LIn<LIn<-LX;>;>;
|
||||
+1
-1
@@ -4,6 +4,6 @@ class X
|
||||
|
||||
fun f(p: In<Out<X>>) {}
|
||||
|
||||
// method: _DefaultPackage::f
|
||||
// method: InOfOutInInPositionKt::f
|
||||
// jvm signature: (LIn;)V
|
||||
// generic signature: (LIn<-LOut<+LX;>;>;)V
|
||||
+1
-1
@@ -4,6 +4,6 @@ class X
|
||||
|
||||
fun f(): In<Out<X>> = throw Exception()
|
||||
|
||||
// method: _DefaultPackage::f
|
||||
// method: InOfOutInOutPositionKt::f
|
||||
// jvm signature: ()LIn;
|
||||
// generic signature: ()LIn<LOut<+LX;>;>;
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
fun f(p: List<String>) {}
|
||||
|
||||
// method: _DefaultPackage::f
|
||||
// method: OutInInPositionKt::f
|
||||
// jvm signature: (Ljava/util/List;)V
|
||||
// generic signature: (Ljava/util/List<+Ljava/lang/String;>;)V
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
fun f(): List<String> = throw Exception()
|
||||
|
||||
// method: _DefaultPackage::f
|
||||
// method: OutInOutPositionKt::f
|
||||
// jvm signature: ()Ljava/util/List;
|
||||
// generic signature: ()Ljava/util/List<Ljava/lang/String;>;
|
||||
+1
-1
@@ -4,6 +4,6 @@ class X
|
||||
|
||||
fun f(p: Out<In<X>>) {}
|
||||
|
||||
// method: _DefaultPackage::f
|
||||
// method: OutOfInInInPositionKt::f
|
||||
// jvm signature: (LOut;)V
|
||||
// generic signature: (LOut<+LIn<-LX;>;>;)V
|
||||
+1
-1
@@ -4,6 +4,6 @@ class X
|
||||
|
||||
fun f(): Out<In<X>> = throw Exception()
|
||||
|
||||
// method: _DefaultPackage::f
|
||||
// method: OutOfInInOutPositionKt::f
|
||||
// jvm signature: ()LOut;
|
||||
// generic signature: ()LOut<LIn<-LX;>;>;
|
||||
+1
-1
@@ -3,6 +3,6 @@ class X
|
||||
|
||||
fun f(p: Out<Out<X>>) {}
|
||||
|
||||
// method: _DefaultPackage::f
|
||||
// method: OutOfOutInInPositionKt::f
|
||||
// jvm signature: (LOut;)V
|
||||
// generic signature: (LOut<+LOut<+LX;>;>;)V
|
||||
+1
-1
@@ -13,6 +13,6 @@ class X
|
||||
// thus removing the wildcard would be restricting the use of the return value of the method, and we don't want do this.
|
||||
fun f(): Out<Out<X>> = throw Exception()
|
||||
|
||||
// method: _DefaultPackage::f
|
||||
// method: OutOfOutInOutPositionKt::f
|
||||
// jvm signature: ()LOut;
|
||||
// generic signature: ()LOut<LOut<+LX;>;>;
|
||||
+1
-1
@@ -3,6 +3,6 @@ class X
|
||||
|
||||
val p: M<X> = throw Exception()
|
||||
|
||||
// method: _DefaultPackage::getP
|
||||
// method: PropertyGetterInKt::getP
|
||||
// jvm signature: ()LM;
|
||||
// generic signature: ()LM<LX;>;
|
||||
+1
-1
@@ -3,6 +3,6 @@ class X
|
||||
|
||||
val p: M<X> = throw Exception()
|
||||
|
||||
// method: _DefaultPackage::getP
|
||||
// method: PropertyGetterOutKt::getP
|
||||
// jvm signature: ()LM;
|
||||
// generic signature: ()LM<LX;>;
|
||||
+1
-1
@@ -3,6 +3,6 @@ class X
|
||||
|
||||
val p: M<X, X> = throw Exception()
|
||||
|
||||
// method: _DefaultPackage::getP
|
||||
// method: PropertyGetterTwoParamsKt::getP
|
||||
// jvm signature: ()LM;
|
||||
// generic signature: ()LM<LX;LX;>;
|
||||
+1
-1
@@ -3,6 +3,6 @@ class X
|
||||
|
||||
var p: M<X> = throw Exception()
|
||||
|
||||
// method: _DefaultPackage::setP
|
||||
// method: PropertySetterInKt::setP
|
||||
// jvm signature: (LM;)V
|
||||
// generic signature: (LM<-LX;>;)V
|
||||
+1
-1
@@ -3,6 +3,6 @@ class X
|
||||
|
||||
var p: M<X> = throw Exception()
|
||||
|
||||
// method: _DefaultPackage::setP
|
||||
// method: PropertySetterOutKt::setP
|
||||
// jvm signature: (LM;)V
|
||||
// generic signature: (LM<+LX;>;)V
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
fun string(): java.lang.String = throw Exception()
|
||||
|
||||
// method: _DefaultPackage::string
|
||||
// method: JlStringKt::string
|
||||
// jvm signature: ()Ljava/lang/String;
|
||||
// generic signature: null
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
class C<T>
|
||||
fun f(p: Nothing, p1: C<Nothing>, p2: C<C<Nothing>>, p3: C<C<Nothing>>?): Nothing = throw Exception()
|
||||
|
||||
// method: _DefaultPackage::f
|
||||
// method: NothingKt::f
|
||||
// jvm signature: (Ljava/lang/Void;LC;LC;LC;)Ljava/lang/Void;
|
||||
// generic signature: null
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
class C<T>
|
||||
fun f(p: Nothing?, p1: C<Nothing?>, p2: C<C<Nothing?>>, p3: C<C<Nothing?>>?): Nothing? = throw Exception()
|
||||
|
||||
// method: _DefaultPackage::f
|
||||
// method: NullableNothingKt::f
|
||||
// jvm signature: (Ljava/lang/Void;LC;LC;LC;)Ljava/lang/Void;
|
||||
// generic signature: null
|
||||
|
||||
Reference in New Issue
Block a user