[GHC] #1344: Overflow bug in hex character literals

GHC trac at galois.com
Wed May 9 04:04:41 EDT 2007


#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
-------------- next part --------------
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs at haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


More information about the Glasgow-haskell-bugs mailing list