References to enum entries should be always generated as GET_ENUM

This commit is contained in:
Dmitry Petrov
2017-03-17 14:57:59 +03:00
parent 64013171e8
commit fc38479f48
6 changed files with 101 additions and 24 deletions
@@ -0,0 +1,13 @@
enum class X {
B {
val value2 = "OK"
override val value = { value2 }
};
abstract val value: () -> String
}
fun box(): String {
return X.B.value()
}