#8068: ghc incorrectly accepts the Kannada TTHA character at the beginning of an
identifier.
------------------------------------+-------------------------------------
Reporter: malcolmw | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.6.3
Keywords: | Operating System: Unknown/Multiple
Architecture: Unknown/Multiple | Type of failure: None/Unknown
Difficulty: Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: |
------------------------------------+-------------------------------------
The code at
http://hub.darcs.net/lelf/acme-
lookofdisapproval/browse/Acme/LookOfDisapproval.lhs
is accepted by ghc, but technically, the leading letter of the funny
identifier (Kannada TTHA) is neither lowercase, uppercase, nor titlecase.
It can be accepted in any position of an identifier except the first,
where Haskell requires the character to be either upper/title-case (conid)
or lower (varid).
isLetter x && not (isUpper x) does not imply isLower(x).
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8068>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
ghc-tickets mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-tickets