Not writing fake parameters of enum constructors to generic signature.
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
package test
|
||||
|
||||
enum class EnumWithGenericConstructorParameter(list: List<String>?) {
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
namespace test
|
||||
|
||||
internal final enum class test.EnumWithGenericConstructorParameter : jet.Enum<test.EnumWithGenericConstructorParameter> {
|
||||
private final /*primary constructor*/ fun <init>(/*0*/ list: jet.List<jet.String>?): test.EnumWithGenericConstructorParameter
|
||||
public final override /*1*/ /*fake_override*/ fun name(): jet.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): jet.Int
|
||||
internal final class object test.EnumWithGenericConstructorParameter.<class-object-for-EnumWithGenericConstructorParameter> {
|
||||
private final /*constructor*/ fun <init>(): test.EnumWithGenericConstructorParameter.<class-object-for-EnumWithGenericConstructorParameter>
|
||||
public final fun valueOf(/*0*/ value: jet.String): test.EnumWithGenericConstructorParameter
|
||||
public final fun values(): jet.Array<test.EnumWithGenericConstructorParameter>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package test
|
||||
|
||||
enum class EnumWithPrimitiveConstructorParameter(b: Boolean) {
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
namespace test
|
||||
|
||||
internal final enum class test.EnumWithPrimitiveConstructorParameter : jet.Enum<test.EnumWithPrimitiveConstructorParameter> {
|
||||
private final /*primary constructor*/ fun <init>(/*0*/ b: jet.Boolean): test.EnumWithPrimitiveConstructorParameter
|
||||
public final override /*1*/ /*fake_override*/ fun name(): jet.String
|
||||
public final override /*1*/ /*fake_override*/ fun ordinal(): jet.Int
|
||||
internal final class object test.EnumWithPrimitiveConstructorParameter.<class-object-for-EnumWithPrimitiveConstructorParameter> {
|
||||
private final /*constructor*/ fun <init>(): test.EnumWithPrimitiveConstructorParameter.<class-object-for-EnumWithPrimitiveConstructorParameter>
|
||||
public final fun valueOf(/*0*/ value: jet.String): test.EnumWithPrimitiveConstructorParameter
|
||||
public final fun values(): jet.Array<test.EnumWithPrimitiveConstructorParameter>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user