Enum classes have private constructor visibility from front-end point of view.
Protected visibility hardcoded in jvm backend.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
namespace test
|
||||
|
||||
internal final enum class test.MyEnum : jet.Enum<test.MyEnum> {
|
||||
protected final /*constructor*/ fun <init>(): test.MyEnum
|
||||
private final /*constructor*/ fun <init>(): test.MyEnum
|
||||
public final override /*1*/ fun name(): jet.String
|
||||
public final override /*1*/ fun ordinal(): jet.Int
|
||||
internal final class object test.MyEnum.<class-object-for-MyEnum> {
|
||||
|
||||
Reference in New Issue
Block a user