We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stylish-haskell fails on the following:
{-# LANGUAGE GADTs #-} data Foo a where Foo :: (Eq a) => { fooBar :: [a], fooBaz :: Int } -> Foo a main = putStrLn "foo"
with this error: Language.Haskell.Stylish.Parse.parseModule: could not parse fail.hs: ParseFailed (SrcLoc "<unknown>.hs" 4 22) "Parse error: {"
Language.Haskell.Stylish.Parse.parseModule: could not parse fail.hs: ParseFailed (SrcLoc "<unknown>.hs" 4 22) "Parse error: {"
It works if I remove the (Eq a) constraint. Ghc is able to compile this file properly, so I assume it's a stylish-haskell error.
(Eq a)
The text was updated successfully, but these errors were encountered:
Any update on this? @jaspervdj
Sorry, something went wrong.
No branches or pull requests
stylish-haskell fails on the following:
with this error:
Language.Haskell.Stylish.Parse.parseModule: could not parse fail.hs: ParseFailed (SrcLoc "<unknown>.hs" 4 22) "Parse error: {"
It works if I remove the
(Eq a)
constraint. Ghc is able to compile this file properly, so I assume it's a stylish-haskell error.The text was updated successfully, but these errors were encountered: