[GHC] #5336: Annotations aren't working
GHC
cvs-ghc at haskell.org
Fri Jul 22 16:52:21 CEST 2011
#5336: Annotations aren't working
---------------------------------+------------------------------------------
Reporter: simonmar | Owner: igloo
Type: bug | Status: new
Priority: highest | Milestone: 7.2.1
Component: Compiler | Version: 7.1
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Changes (by igloo):
* owner: batterseapower => igloo
Comment:
I've worked out what's going on.
`mkTyCon3` calls `fingerprintString`, which takes the md5 of the 3 strings
in utf8.
However, derived instances use `computeFingerprint`, which takes the md5
of the 3 strings in the GHC binary format (which is an encoding of the
length of the string, followed by essentially one of the utf32
representations).
I'll make them both use the same function.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5336#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list