[Git][ghc/ghc][wip/T25281] Wibble to Windows.Handle fix
Simon Peyton Jones (@simonpj)
gitlab at gitlab.haskell.org
Wed Oct 9 10:11:32 UTC 2024
Simon Peyton Jones pushed to branch wip/T25281 at Glasgow Haskell Compiler / GHC
Commits:
b64b0ef5 by Simon Peyton Jones at 2024-10-09T11:11:15+01:00
Wibble to Windows.Handle fix
- - - - -
1 changed file:
- libraries/ghc-internal/src/GHC/Internal/IO/Windows/Handle.hsc
Changes:
=====================================
libraries/ghc-internal/src/GHC/Internal/IO/Windows/Handle.hsc
=====================================
@@ -519,7 +519,7 @@ hwndWriteNonBlocking hwnd ptr offset bytes
completionCB
return $ fromIntegral $
case val of
- IOSuccess val -> val
+ IOSuccess res -> res
IOFailed mb_err -> error ("hwndWriteNonBlocking " ++ show mb_err)
-- ToDo: this unhandled errror case seems bad
where
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b64b0ef57b6f5c016a0be948390c2e09b03fa62d
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b64b0ef57b6f5c016a0be948390c2e09b03fa62d
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/20241009/020990f0/attachment.html>
More information about the ghc-commits
mailing list