commercialhaskell / hi-file-parser

Other
4 stars 4 forks source link

Build failure with mtl-2.3 #4

Closed sjakobi closed 2 years ago

sjakobi commented 2 years ago
src/HiFileParser.hs:565:5: error:
    • Variable not in scope:
        when
          :: Bool
             -> StateT IfaceGetState G.Get () -> StateT IfaceGetState G.Get a0
    • Perhaps you want to add ‘when’ to one of these import lists:
        ‘Control.Monad’ (src/HiFileParser.hs:21:1-72)
        ‘RIO’ (src/HiFileParser.hs:39:1-70)
    |
565 |     when (version >= "9001") $ void getPtr
    |     ^^^^
sjakobi commented 2 years ago

As a Hackage trustee I have revised v0.1.2.0: https://hackage.haskell.org/package/hi-file-parser-0.1.2.0/revisions/