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

Highlights some substrings of identifiers as if they were abilities inside case expressions #6

Open
freemagma opened this issue Jun 30, 2021 · 1 comment

Comments

@freemagma
Copy link

I was working on the ability handler exercises on unisonweb in emacs when I came across this issue. Notice how the substring Stream in resumeStream and the substring Computation in resumeComputation are highlighted as blue, the same color as the abilities Stream and Ask. Most interestingly, it only happens inside the pattern matching part of the case expressions.

2021-06-30T19:40:07,598292655-04:00

@dariooddenino
Copy link
Owner

Hmm I haven't touched this in a while, but I'm pretty sure it's because the code is naively looking for capital letters inside curly braces. Shouldn't be too hard to fix.

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