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

Fixed according to https://ghc.haskell.org/trac/ghc/wiki/Migration/8.0 #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Icelandjack
Copy link
Collaborator

No description provided.

@Icelandjack
Copy link
Collaborator Author

Otherwise fails with on 8.0.1

[1 of 2] Compiling Control.Applicative.QQ.Idiom ( Control/Applicative/QQ/Idiom.hs, dist/build/Control/Applicative/QQ/Idiom.o )
[2 of 2] Compiling Control.Applicative.QQ.ADo ( Control/Applicative/QQ/ADo.hs, dist/build/Control/Applicative/QQ/ADo.o )

Control/Applicative/QQ/ADo.hs:168:5: error:
    • The constructor ‘DataD’ should have 6 arguments, but has been given 5
    • In the pattern: DataD _ _ _ [_] _
      In a case alternative: DataD _ _ _ [_] _ -> return True
      In a stmt of a 'do' block:
        case dec of {
          DataD _ _ _ [_] _ -> return True
          NewtypeD {} -> return True
          DataD _ _ _ (_ : _) _ -> return False
          _ -> fail $ "ado singleCon: not a data declaration: " ++ show dec }
cabal: Error: some packages failed to install:
applicative-quoters-0.1.0.8 failed during the building phase. The exception
was:
ExitFailure 1

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

Successfully merging this pull request may close these issues.

1 participant