You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additionally if so, decide if simple enum constants become case object not val.
They should definitely stay vals. case objects generate way too much bytecode. The point of simple enum constants is that you can have hundreds of them in a type. I don't want a bloated jar because of that.
java.lang.Enum
outside of anenum
Prevent extending java.lang.Enum except from an enum #7499java.lang.Enum
arbitrarily with3.0-migration
Problem extending java.lang.Enum #7174java.lang.Enum
before TASTy extending java.lang.Enum should be desugared before TASTy #7478toString
ergonomics Enum implementation overrides customtoString
#7227.values
on enum companion is not in order: 0.16.0-RC3 Enum.values
does not return enums in order #6663scala.runtime.EnumValues
: Drop EnumValues from Enums' modules' API #6620Serializable
) are incorrectly serialized #9179Bad type operand on stack
: Invoke compiled enum class file from dotr failed #7424, Compiling code with Enums in without doing a clean compile causes runtime VerifyError #6664java.lang.NoSuchFieldError
: NoSuchFieldError When Usingenum
Variants from the REPL #7410, NoSuchFieldError when changing type parameter on enum case (incremental compilation) #6677, enum case object not accessible in package object at runtime #7287, Cannot access enum from dependency at runtime #7991scala.Enum
Should we remove scala.Enum trait as a parent of enums? #9873scala.reflect.Enum
.apply
on enum companion should give precise type or not. (@smarter)case object
notval
..apply
for companion objects of class enum cases, and widen the class to the base enum when inferring types.enumLabel
$fromOrdinal
companion method public and rename tofromOrdinal
The text was updated successfully, but these errors were encountered: