#5255: String literals cause runtime crashes when OverloadedStrings is in effect
---------------------------------+------------------------------------------
Reporter: YitzGale | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.0.3
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Comment(by simonmar):
Replying to [comment:2 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).
Actually the RULEs for ByteString literals won't apply to non-ASCII string
literals, because GHC uses a different desugaring for these. For a
detailed description of the current (sorry) state, see #5218.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5255#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs