Skip to content
New issue

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

brittany 0.12 doesn't recognised strictness annotations in GADTs #261

Open
infinity0 opened this issue Oct 30, 2019 · 1 comment
Open

brittany 0.12 doesn't recognised strictness annotations in GADTs #261

infinity0 opened this issue Oct 30, 2019 · 1 comment

Comments

@infinity0
Copy link
Contributor

$ cat Test.hs
{-# LANGUAGE GADTs #-}
data X where
  X :: !Int -> X

main :: IO ()
main = pure ()
$ brittany Test.hs
ERROR: brittany pretty printer returned syntactically invalid result.
70
$ brittany --version
brittany version 0.12.0.0
Copyright (C) 2016-2018 Lennart Spitzner
There is NO WARRANTY, to the extent permitted by law.
@tfausak tfausak added the bug label Oct 30, 2019
@lspitzner
Copy link
Owner

This very likely is the same underlying issue as #242, so

(We really want our own GADT layouting to avoid this ..)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants