Skip to content

unicode: nko characters can't be used in string literals

This bug affects the lexer in ghc(i):

*> "ߟ"
<interactive>:1:1:
    lexical error in string/character literal at character '\2015'

Similar errors result from characters U+7C0 .. U+7C9 (nko digits) and probably many others.

Trac metadata
Trac field Value
Version 6.8.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler (Parser)
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture Unknown
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information