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

Build failure with Stackage Nightly #72

Closed
snoyberg opened this issue Oct 11, 2016 · 4 comments
Closed

Build failure with Stackage Nightly #72

snoyberg opened this issue Oct 11, 2016 · 4 comments

Comments

@snoyberg
Copy link

Language/C/Parser/Lexer.x:604:17: error:
    • Couldn't match type ‘PState’ with ‘()’
        arising from a functional dependency between:
          constraint ‘MonadState () P’ arising from a use of ‘get’
          instance ‘MonadState PState P’
            at Language/C/Parser/Monad.hs:167:10-28
    • In a stmt of a 'do' block: st <- get
      In the expression:
        do { beg <- getInput;
             sc <- getLexState;
             st <- get;
             case alexScanUser st beg sc of {
               AlexEOF -> return $ L (alexLoc beg beg) Teof
               AlexError end
                 -> lexerError end (text rest)
                 where
                     rest :: String
                     ....
               AlexSkip end _ -> setInput end >> lexToken
               AlexToken end len t -> setInput end >> t beg end } }
      In an equation for ‘nextToken’:
          nextToken
            = do { beg <- getInput;
                   sc <- getLexState;
                   st <- get;
                   .... }
snoyberg added a commit to commercialhaskell/stackage that referenced this issue Oct 11, 2016
@snoyberg
Copy link
Author

This may be caused by the bump to alex 3.2.0, see yi-editor/yi#922

@juhp
Copy link

juhp commented Dec 3, 2016

I tried to reenable in Stackage since alex-3.2.1 might fix this but:

HUnit-1.5.0.0 (Adam Bergmark adam@bergmark.nl @bergmark) is out of bounds for:

@mainland
Copy link
Owner

mainland commented Dec 5, 2016

The HUnit bound has been bumped, and language-c-quote appears to work with alex 3.2.1.

juhp added a commit to commercialhaskell/stackage that referenced this issue Dec 6, 2016
@juhp
Copy link

juhp commented Dec 6, 2016

Thank you

@mainland mainland closed this as completed May 3, 2017
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

No branches or pull requests

3 participants