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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user