Change type of enum entry property

Now such properties have types corresponding to enum class not it's own enum entry classes
This commit is contained in:
Pavel V. Talanov
2012-11-19 15:37:01 +04:00
parent c42380dc0b
commit c39a4dc57a
7 changed files with 22 additions and 10 deletions
@@ -6,8 +6,8 @@ internal final enum class test.Test : jet.Enum<test.Test> {
public final override /*1*/ /*fake_override*/ fun ordinal(): jet.Int
internal final class object test.Test.<class-object-for-Test> {
private final /*constructor*/ fun <init>(): test.Test.<class-object-for-Test>
public final val A: test.Test.<class-object-for-Test>.A
public final val B: test.Test.<class-object-for-Test>.B
public final val A: test.Test
public final val B: test.Test
private final enum entry test.Test.<class-object-for-Test>.A : test.Test {
private final /*constructor*/ fun <init>(): test.Test.<class-object-for-Test>.A
public final override /*1*/ /*fake_override*/ fun name(): jet.String