Enum classes have private constructor visibility from front-end point of view.

Protected visibility hardcoded in jvm backend.
This commit is contained in:
Pavel V. Talanov
2012-08-29 15:18:06 +04:00
parent 544be17c3d
commit d831f164cc
7 changed files with 17 additions and 13 deletions
@@ -1,7 +1,7 @@
namespace test
internal final enum class test.Test : jet.Enum<test.Test> {
protected final /*constructor*/ fun <init>(/*0*/ a: jet.Int): test.Test
private final /*constructor*/ fun <init>(/*0*/ a: jet.Int): test.Test
public final override /*1*/ fun name(): jet.String
public final override /*1*/ fun ordinal(): jet.Int
internal final class object test.Test.<class-object-for-Test> {