#1344: Overflow bug in hex character literals
--------------------------+-------------------------------------------------
Reporter: simonmar | Owner:
Type: bug | Status: new
Priority: low | Milestone: _|_
Component: Compiler | Version: 6.6.1
Severity: minor | Keywords:
Difficulty: Easy (1 hr) | Os: Unknown
Testcase: | Architecture: Unknown
--------------------------+-------------------------------------------------
{{{
Prelude> "Hel\x6c000000000000000 World"
<interactive>:1:7: lexical error in string/character literal at character
'c'
Prelude> "Hel\x6c0000000000000000 World"
"Hel\NUL World"
}}}
Two bugs really: the first error message gives a strange location, and the
second example is probably the result of an overflow somewhere.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1344>
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