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

#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

#7650: can't use combining characters in identifiers -------------------------+-------------------------------------------------- Reporter: guest | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.6.2 Keywords: | Os: Linux Architecture: x86 | Failure: None/Unknown Difficulty: Unknown | Testcase: Blockedby: | Blocking: Related: | -------------------------+-------------------------------------------------- Changes (by igloo): * difficulty: => Unknown * version: 7.6.1 => 7.6.2 -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7650#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7650: can't use combining characters in identifiers -------------------------+-------------------------------------------------- Reporter: guest | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.8.1 Component: Compiler | Version: 7.6.2 Keywords: | Os: Linux Architecture: x86 | Failure: None/Unknown Difficulty: Unknown | Testcase: Blockedby: | Blocking: Related: | -------------------------+-------------------------------------------------- Changes (by igloo): * milestone: => 7.8.1 Comment: Thanks for the report. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7650#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7650: can't use combining characters in identifiers -------------------------+-------------------------------------------------- Reporter: guest | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.8.1 Component: Compiler | Version: 7.6.2 Keywords: | Os: Linux Architecture: x86 | Failure: None/Unknown Difficulty: Unknown | Testcase: Blockedby: | Blocking: Related: | -------------------------+-------------------------------------------------- Comment(by batterseapower): Possibly fixable by rewriting the lexer to use alex 3... -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7650#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC