[GHC] #7650: can't use combining characters in identifiers

GHC cvs-ghc at haskell.org
Fri Feb 1 19:14:43 CET 2013


#7650: can't use combining characters in identifiers
-------------------------+--------------------------------------------------
Reporter:  guest         |          Owner:          
    Type:  bug           |         Status:  new     
Priority:  normal        |      Component:  Compiler
 Version:  7.6.1         |       Keywords:          
      Os:  Linux         |   Architecture:  x86     
 Failure:  None/Unknown  |      Blockedby:          
Blocking:                |        Related:          
-------------------------+--------------------------------------------------
 ghc doesn't let me use combining characters in unicode identifiers. Here's
 a test case with U+308 (COMBINING DIAERESIS) but it affects all accents:
 {{{
 % cat comb.hs
 main = print spın̈alTap
     where spın̈alTap = 11
 }}}
 {{{
  % ghc comb.hs
 [1 of 1] Compiling Main             ( comb.hs, comb.o )

 comb.hs:1:18: lexical error at character '\776'
 }}}

 (This is actually with ghc 7.6.2 but the `Version` drop-down only goes up
 to 7.6.1.)

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



More information about the ghc-tickets mailing list