Files
kotlin-fork/plugins
Yan Zhulanow a44fd964cf Kapt: Don't convert field initializers for enum fields inside companion objects (KT-37732)
For classes with companion objects, Kotlin compiler generates a 'Companion' static accessor field.
Java prioritizes fields over inner types (apparently, Scala does this as well, KT-29864), so the generated initializer doesn't compile.
As a workaround, initializer generatation is disabled for enum fields inside companion objects. Certainly, it's not a proper fix, however it does fix the regression.
2020-09-29 23:58:29 +09:00
..
2020-09-29 15:32:32 +03:00
2019-01-14 21:29:02 +03:00
2020-09-29 15:32:32 +03:00
2020-06-30 19:53:18 +03:00