[GHC] #9035: ghci sometimes displays Word32 as Word64
GHC
ghc-devs at haskell.org
Sat May 17 20:50:30 UTC 2014
#9035: ghci sometimes displays Word32 as Word64
------------------------------------------------+--------------------------
Reporter: MikeIzbicki | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: GHCi | Version: 7.8.2
Resolution: invalid | Keywords:
Operating System: Linux | Architecture: x86_64
Type of failure: Incorrect result at runtime | (amd64)
Test Case: | Difficulty:
Blocking: | Unknown
| Blocked By:
| Related Tickets:
------------------------------------------------+--------------------------
Changes (by igloo):
* status: new => closed
* resolution: => invalid
Comment:
This use of `unsafeCoerce` is not safe: See
[http://www.haskell.org/ghc/docs/latest/html/libraries/base-4.7.0.0
/Unsafe-Coerce.html this] which links to
[http://www.haskell.org/ghc/docs/latest/html/libraries/ghc-prim-0.3.1.0
/GHC-Prim.html#v:unsafeCoerce-35- here] for more details.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9035#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list