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
{{ message }}
Repository navigation
ReflectionClass::toString() should have better output for enums #15766
Tested against git master, see https://3v4l.org/hColU/rfc#vgit.master - when outputting a reflection class (or the subclass ReflectionEnum) for enums, the output be improved a bit (below each suggestion is a snippet from the current output)
the heading with the basic type information should say that it is an enum, rather than a final class, and remove the interface implementations, instead indicating the backing type if any
Class [ <user> final class Suit implements UnitEnum ] {
Class [ <user> final class MyBool implements UnitEnum, BackedEnum ] {
the "Constants" block should only include the regular class constants, and the cases be indicated separately, and for backed enums include their values
Activity
ReflectionClass: test enum output
ReflectionClass: show enums differently from classes
ReflectionClass: test enum output
ReflectionClass: show enums differently from classes