[GHC] #12459: UnboxedTuple makes overloaded labels fail to parse

GHC ghc-devs at haskell.org
Thu Aug 4 13:12:18 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 Iceland_jack):

 This forces users to add a space in the ^rare^ case of mixing
 `UnboxedTuples` and overloaded labels.

 {{{#!hs
 main = do
   print $ #url mentioned
   print $ #login ( #user mentioned [])
   print $ ( #id . #user ) mentioned
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12459#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list