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
A row type (foo :: Bar) included in a type signature of a function in a where clause seems to be breaking highlighting for the rest of the where block (in vscode). The same issue is not appearing at the top level, I think.
module TestHighlight where
x = 3
where
good :: { x :: Int } -> Int
good _ = y + z
something = good
z = 4
where
bad :: Record (x :: Int) -> Int
bad _ = y + z
something = ugly
The issue goes away if I go back to vscode extension back in 2021 (which I assume I was somehow on already - our code has a bunch of large where blocks and it is impossible to miss), possibly introduced around here a28890a