haskell / happy

The Happy parser generator for Haskell
Other
286 stars 84 forks source link

happy release for 1.19.10 fails with GHC 8.8.1 #139

Closed vmchale closed 5 years ago

vmchale commented 5 years ago

Running

cabal unpack happy
cd happy-1.19.10/
cabal new-build -w ghc-8.8.1

yields

src/AttrGrammarParser.hs:342:14: error:
    • No instance for (MonadFail (Either String))
        arising from a use of ‘fail’
    • In the expression: fail ("Parse error\n")
      In an equation for ‘happyError’:
          happyError = fail ("Parse error\n")
    |
342 | happyError = fail ("Parse error\n")
    |              ^^^^^^^^^^^^^^^^^^^^^^