Open amadeusdotpng opened 6 months ago
thanks! appears to be fixed in the rewrite, check out this repo for a preview
Second this, also hangs after a typeclass constraint for a data declaration (seems to be after the =>
token is seen?), but only if it's not the first thing parsed in the file.
Minimal example:
a = 0
g :: (Eq a) =>
Second this, also hangs after a typeclass constraint for a data declaration (seems to be after the
=>
token is seen?), but only if it's not the first thing parsed in the file. Minimal example:a = 0 g :: (Eq a) =>
I'm having the exact same problem, but it only appears to occur if the unfinished constraint is the very last thing in the file.
bar = 3
foo :: (Num a) =>
That hangs, but if, before I type the constraint, I put something else to parse after it (I tested with the character f
on the next line), it's fine:
bar = 3
foo :: (Num a) => a -> a -- I could type this just fine
f -- if I put this here first
Running
with
a.hs
asWorks just fine if
a.hs
is any of the followingUsing Mac M1 Pro, MacOS Monterey 12.5.1