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
@@ -2,11 +2,14 @@ package test
import dependency.*
public enum class Enum : Tr {
ONE
TWO
THREE {
fun g() {
}
enum class Enum {
A B C D E F {
override fun f() = 4
}
companion object {
val c: Int = 1
}
open fun f() = 3
}