Hello! I have a bit of a problem moving old Kotlin...
# announcements
n
Hello! I have a bit of a problem moving old Kotlin code to 1.0.0-beta-1038. Here is enum (very simplistic version of what I have):
Copy code
public enum class Test {
    VAL1, VAL2;
    companion object {
        @JvmStatic
        val FIRST = values[0]
    }
}
that results in exception at runtime:
Copy code
Exception in thread "main" java.lang.NoSuchFieldError: values
	at Test.<clinit>(problematicCase.kt:5)
	at TestingClass.main(TestingClass.java:8)