Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single-letter uppercase constants #10

Closed
Gama11 opened this issue Feb 7, 2017 · 0 comments
Closed

Single-letter uppercase constants #10

Gama11 opened this issue Feb 7, 2017 · 0 comments
Labels

Comments

@Gama11
Copy link
Member

Gama11 commented Feb 7, 2017

Uppercase identifiers are highlighted as variables, rather than types, but there's an exception for single-letter uppercase identifiers (mostly because that's a common in type paramters, e.g. T). This leads to issues like this:

We can probably get rid of this hack because the grammar should know about the places where type parameters can occur by now, and still highlight T etc correctly as a result.

@Gama11 Gama11 added the bug label Feb 7, 2017
@Gama11 Gama11 closed this as completed in d3ed479 Feb 7, 2017
Gama11 added a commit that referenced this issue Feb 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant