You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure how exactly to fix this, but having an inline block comment that happens to be in a type parameter seems to break the syntax highlighting.
I'm converting some code, whereby I'm removing a type parameter. I've simply commented out the specific type parameter, but the comment is not highlighted correctly.
Normal one line block comments are fine:
def foo(x: Int) = { /* this works */ 5 }
But the following breaks:
def foo[S,/*F[_]:Foldable,*/ A](x: Int) = 5
I've narrowed it down to the [ which changes the pattern, causing the highlight to not work.