Skip to content

Conversation

Jollywatt
Copy link
Contributor

@Jollywatt Jollywatt commented Jul 1, 2025

Fixes sublime-syntax so that this test passes:

# #129
foo(x::A{B}) where {B} = 1
#         ^ punctuation.section.parameter.end.julia
#                    ^ punctuation.section.parameter.end.julia

Before the fix:

error: scope does not match
723 | foo(x::A{B}) where {B} = 1
725 | #                    ^ punctuation.section.parameter.end.julia
    |                      ^ this location did not match
actual:
    |                      ^ source.julia meta.function.inline.julia meta.where-clause.julia meta.parametric-type.julia 

which resulted in the } in where clause being highlighted a different colour to the { (icky!).

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.

1 participant