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
I often end up using the word type in my code for various things. But, it almost always ends up getting highlighted incorrectly for the context in which it's being used.
afaik, the only place where type is a valid keyword is inside of a lib definition, or in macros (and even then, it's @type), so I think the highlighting for the word should be restricted to that context.
The text was updated successfully, but these errors were encountered:
type is a stronger version of alias, so it can be used almost everywhere. The highlighter should rather check whether it's directly followed by a constant or not.
I often end up using the word
type
in my code for various things. But, it almost always ends up getting highlighted incorrectly for the context in which it's being used.afaik, the only place where
type
is a valid keyword is inside of alib
definition, or in macros (and even then, it's@type
), so I think the highlighting for the word should be restricted to that context.The text was updated successfully, but these errors were encountered: