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

Fix function types used as type parameters #50

Closed
wants to merge 6 commits into from

Conversation

tobil4sk
Copy link
Contributor

This was broken previously:

var x:T<S -> R>;

As a side effect of the change, builtin types used as type parameters also highlight properly now:

var i:Null<Int>;

Previously the Int here was highlighted as @type, not @type.builtin.

I've also changed it so that when highlighting a type e.g. Null<S -> R>, it only highlights the type name (i.e. Null). Previously it would highlight the entire type Null<S -> R>, which meant that -> was also highlighted with @type.builtin.

@vantreeseba
Copy link
Owner

Included in #55

@tobil4sk tobil4sk deleted the fix/type-param-function branch September 12, 2024 22:55
@tobil4sk
Copy link
Contributor Author

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants