[GHC] #12459: UnboxedTuple makes overloaded labels fail to parse
GHC
ghc-devs at haskell.org
Tue Aug 30 07:21:31 UTC 2016
#12459: UnboxedTuple makes overloaded labels fail to parse
-------------------------------------+-------------------------------------
Reporter: Iceland_jack | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
(Parser) |
Resolution: | Keywords: orf
Operating System: Unknown/Multiple | Architecture:
Type of failure: GHC rejects | Unknown/Multiple
valid program | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by adamgundry):
No, I hadn't considered the interaction with unboxed tuple syntax. It is a
bit awkward, but the lexical syntax is sufficiently crowded that I doubt
we will be able to do better, and we already have similar annoyances
involving `.hsc` files. I suppose we could add a sentence to the manual
pointing out the conflict and encouraging a style in which overloaded
labels are preceded by a space (even when in parentheses).
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12459#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list