LR: Class object of an enum class doesn't carry type parameters
This commit is contained in:
@@ -405,6 +405,12 @@ public class LazyClassDescriptor extends ClassDescriptorBase implements ClassDes
|
|||||||
public List<? extends JetParameter> getPrimaryConstructorParameters() {
|
public List<? extends JetParameter> getPrimaryConstructorParameters() {
|
||||||
return Collections.emptyList();
|
return Collections.emptyList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@NotNull
|
||||||
|
@Override
|
||||||
|
public List<JetTypeParameter> getTypeParameters() {
|
||||||
|
return Collections.emptyList();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
namespace <root>
|
||||||
|
|
||||||
|
internal final enum class List</*0*/ out T : jet.Any?> : jet.Any {
|
||||||
|
public final /*constructor*/ fun </*0*/ out T : jet.Any?><init>(/*0*/ size: jet.Int): List<T>
|
||||||
|
internal final val size: jet.Int
|
||||||
|
internal final class object List.<class-object-for-List> {
|
||||||
|
internal final /*constructor*/ fun <init>(): List.<class-object-for-List>
|
||||||
|
internal final val Nil: List.<class-object-for-List>.Nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
internal final val foo: List.<class-object-for-List>.Nil
|
||||||
|
internal final val foo1: jet.Int
|
||||||
Reference in New Issue
Block a user