Decompiler & stub builder fixed accordingly with new enum syntax.

Companion object now directly follows enum entries to avoid having them at the middle.
Some decompiler & stub builder tests fixed accordingly.
This commit is contained in:
Mikhail Glukhikh
2015-05-07 18:50:53 +03:00
parent cf741cb868
commit 67cce57aeb
5 changed files with 49 additions and 30 deletions
@@ -3,10 +3,22 @@
package test
public final enum class Enum private () : kotlin.Enum<test.Enum>, dependency.Tr {
ONE
internal final enum class Enum private () : kotlin.Enum<test.Enum> {
A
TWO
B
THREE
C
D
E
F
internal companion object {
internal final val c: kotlin.Int /* compiled code */
}
internal open fun f(): kotlin.Int { /* compiled code */ }
}