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
In the following example Just 2 is highlighted differently from Just 1:
test = do
n1 ← Just1n2∷Int ← Just 2
(n3 ∷Int) ← Just3n4∷Int
← Just 4
pure n2
It seems the type declaration in the do-binding breaks the highlighting of all identifiers in the following expression.
The highlighting does not break, when the optional bracket around
the type declaration is used, i.e. (n3 ∷ Int) ← Just 3.