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
The specification shouldn't be case-sensitive, but I also don't really like that F2 and f2 refers to the same thing. What about showing a warning when different notations are used for an entity?
For Ada the compiler shows the following for a similar case:
rflx-tlv.ads:36:17: (style) bad casing of "MSG_ERROR" declared at line 10
A warning is easily ignored. I think we should got further and adopt something different than case insensitivity. Once you used an identifier with a specific casing, using it with a different casing is an error (don't know how this is called - "case preservation"?).
That sounds even better. I think the verification should still be case-insensitive to avoid subsequent errors and therefore I have created a separate issue for enforcing "case preservation": #563.
The following spec fails only due to
f2
being lower case:The text was updated successfully, but these errors were encountered: