language-haskell icon indicating copy to clipboard operation
language-haskell copied to clipboard

Incorrect highlighting with context arrow

Open sheaf opened this issue 5 years ago • 0 comments

The logic to highlight context arrows runs into trouble with the following:

data WithDict ( c :: Constraint ) ( x :: Type ) = WithDict ( c => x )

contextarrow_bug

I think the issue is that the code that highlights to the left of a context arrow doesn't know to stop when encountering a parenthesis/bracket/etc. Probably related to #165 and #167.

sheaf avatar Dec 18 '20 06:12 sheaf