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
Switch statement fully qualified enum type name #63
whenValue on switch statements once again not working for all edge cases. When trying to match enum values this time. It also falls through the literal or id check and fails to parse the full value correctly if the enum type is not a single word. For example:
whenClass.Enum.VALUE {}
This does not fit into whenLiteral correctly, and doesn't fit the syntax used for SObjects which is typeRef id so it picks "Class" as a name.
After fixing this, you can have an enum value detected as either a literal id or type so handling will get more complicated downstream.
Activity