#6037: Compile-time crash with sources with non-representable unicode characters
--------------------------------+-------------------------------------------
 Reporter:  akio                |          Owner:                  
     Type:  bug                 |         Status:  new             
 Priority:  normal              |      Component:  Compiler        
  Version:  7.4.1               |       Keywords:                  
       Os:  Linux               |   Architecture:  Unknown/Multiple
  Failure:  Compile-time crash  |       Testcase:                  
Blockedby:                      |       Blocking:                  
  Related:                      |  
--------------------------------+-------------------------------------------
 The following file causes GHC to crash, if compiled in the "C" locale.

 {{{
 $ LC_ALL=C ghc unicode.hs
 [1 of 1] Compiling Foo              ( unicode.hs, unicode.o )

 unicode.hs:2:1:
     Warning: Pattern match(es) are overlapped
              In an equation for `<stderr>: hPutChar: invalid argument
 (invalid character)
 }}}

 unicode.hs:
 {{{
 module Foo where
 δ x = 3
 δ x = 4
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6037>
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

Reply via email to