[Git][ghc/ghc][wip/unboxed-codebuffer] Fix build

Josh Meredith (@JoshMeredith) gitlab at gitlab.haskell.org
Tue Feb 14 16:44:08 UTC 2023



Josh Meredith pushed to branch wip/unboxed-codebuffer at Glasgow Haskell Compiler / GHC


Commits:
ed5674b4 by Josh Meredith at 2023-02-14T16:43:39+00:00
Fix build

- - - - -


1 changed file:

- libraries/base/GHC/IO/Encoding/Iconv.hs


Changes:

=====================================
libraries/base/GHC/IO/Encoding/Iconv.hs
=====================================
@@ -136,7 +136,7 @@ newIConv from to rec fn =
     iconvt <- throwErrnoIfMinus1 "mkTextEncoding" $ hs_iconv_open to_str from_str
     let iclose = throwErrnoIfMinus1_ "Iconv.close" $ hs_iconv_close iconvt
         fn_iconvt ibuf obuf st = case unIO (fn iconvt ibuf obuf) st of
-        (# st', (prog, ibuf', obuf') #) -> (# st', prog, ibuf', obuf' #)
+          (# st', (prog, ibuf', obuf') #) -> (# st', prog, ibuf', obuf' #)
     return BufferCodec{
                 encode#  = fn_iconvt,
                 recover# = rec#,



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/ed5674b42dce35ed410b4cfef66b5df25f95cc07

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/ed5674b42dce35ed410b4cfef66b5df25f95cc07
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230214/2934b332/attachment.html>


More information about the ghc-commits mailing list