91d64d992f
Enum-type inherits java.io.Serializable on JVM, so it needs to be refinement ot avoid TYPE_MISMATCH errors. Note that for the refinement of Enum-type itself it's necessary to force refinement of enum-entries, otherwise their supertypes (and Enum-type specifically) won't be touched Tests are added on IJ side ^KT-53514