[GHC] #5255: String literals cause runtime crashes when OverloadedStrings is in effect

GHC cvs-ghc at haskell.org
Mon Jun 13 13:42:35 CEST 2011


#5255: String literals cause runtime crashes when OverloadedStrings is in effect
---------------------------------+------------------------------------------
    Reporter:  YitzGale          |       Owner:              
        Type:  bug               |      Status:  new         
    Priority:  normal            |   Component:  Compiler    
     Version:  7.0.3             |    Keywords:              
    Testcase:                    |   Blockedby:              
          Os:  Unknown/Multiple  |    Blocking:              
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by duncan):

 Closely related is that for ByteString it'd be nice to enforce that the
 chars are ASCII only. Currently it is possible to use unicode literals
 with ByteString and the result you get is not defined (I think it will
 actually vary depending on -O0 vs -O1 due to RULES that bypass B.pack).

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5255#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the Glasgow-haskell-bugs mailing list