[SR-9019] Inaccurate error message on invalid enum raw type #51522
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
good first issue
Good for newcomers
Environment
Xcode 10.0 (10A255)
Additional Detail from JIRA
md5: 2278f776c68663e1b14f4cfd769271b5
Issue Description:
The error message should rather be specific about which literal types are allowed as raw values, i.e.
Raw type 'T' is not expressible by an integer, string or floating-point literal
The text was updated successfully, but these errors were encountered: