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

Color type names for "Unknown type _" #35

Open
rndnoise opened this issue Mar 5, 2018 · 1 comment
Open

Color type names for "Unknown type _" #35

rndnoise opened this issue Mar 5, 2018 · 1 comment

Comments

@rndnoise
Copy link

rndnoise commented Mar 5, 2018

I had a somewhat confusing error shown by psa:

Unknown type Error

I thought this was some "the impossible happened" kind of message, but it was because I referred to "Error" in my code without importing it. To troubleshoot I compiled without using psa and saw that psc did highlight the word "Error". Could psa be changed to do the same?

@natefaubion
Copy link
Owner

The compiler would have to preserve the highlight regions when using the JSON output so other tools could consume it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants