shellcheck icon indicating copy to clipboard operation
shellcheck copied to clipboard

Build failures with mtl-2.3

Open sjakobi opened this issue 3 years ago • 0 comments

src/ShellCheck/Fixer.hs:230:9: error:
    Variable not in scope:
      when
        :: Bool
           -> t0 -> StateT (PSTree Int) Data.Functor.Identity.Identity a0
    |
230 |         when (l1 /= 1 || l2 /= 1) $
    |         ^^^^

src/ShellCheck/Fixer.hs:248:5: error:
    • Variable not in scope:
        foldM
          :: (String -> Replacement -> Fixer String)
             -> String -> [Replacement] -> Fixer String
    • Perhaps you meant one of these:
        ‘foldl’ (imported from Data.List),
        ‘foldr’ (imported from Data.List)
    |
248 |     foldM (flip applyReplacement2) str $
    |     ^^^^^
cabal: Failed to build ShellCheck-0.8.0

As a Hackage trustee I have revised the affected versions on Hackage. See e.g. https://hackage.haskell.org/package/ShellCheck-0.8.0/revisions/.

sjakobi avatar May 19 '22 23:05 sjakobi