mainland / language-c-quote

Other
58 stars 30 forks source link

language-c-quote-0.11.3 does not compile with alex 3.1.5 #57

Closed peti closed 8 years ago

peti commented 8 years ago

Citing from http://hydra.cryp.to/build/1392350/log/raw:

Language/C/Parser/Lexer.x:508:38:
    Not in scope: ‘ord’
    Perhaps you meant one of these:
      ‘or’ (imported from Prelude), ‘odd’ (imported from Prelude),
      ‘ord#’ (imported from GHC.Exts)

Language/C/Parser/Lexer.x:508:46:
    Not in scope: ‘ord’
    Perhaps you meant one of these:
      ‘or’ (imported from Prelude), ‘odd’ (imported from Prelude),
      ‘ord#’ (imported from GHC.Exts)

Language/C/Parser/Lexer.x:512:38:
    Not in scope: ‘ord’
    Perhaps you meant one of these:
      ‘or’ (imported from Prelude), ‘odd’ (imported from Prelude),
      ‘ord#’ (imported from GHC.Exts)

Language/C/Parser/Lexer.x:512:46:
    Not in scope: ‘ord’
    Perhaps you meant one of these:
      ‘or’ (imported from Prelude), ‘odd’ (imported from Prelude),
      ‘ord#’ (imported from GHC.Exts)
peti commented 8 years ago

Ping?

mainland commented 8 years ago

I'm happy to accept a pull request that fixes the bug.

peti commented 8 years ago

Well, I'll remove the broken package from the Nix distribution until someone has time to fix it.

snoyberg commented 8 years ago

Same issue just detected with Stackage.

snoyberg commented 8 years ago

Pinging @bitonic, the Stackage maintainer for this package

athas commented 8 years ago

I made a pull request ( https://github.com/mainland/language-c-quote/pull/58 ) that fixes this issue. It is against the master branch, though. I can recreate it against dev and add something to the changelog if that would be easier for the maintainer.