[GHC] #11167: Fixity of field-deconstructors incorrect

GHC ghc-devs at haskell.org
Mon Dec 7 09:19:03 UTC 2015


#11167: Fixity of field-deconstructors incorrect
-------------------------------------+-------------------------------------
        Reporter:  hvr               |                Owner:  kanetw
            Type:  bug               |               Status:  new
        Priority:  highest           |            Milestone:  8.0.1
       Component:  Compiler          |              Version:  7.11
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by adamgundry):

 Argh, this is awkward. Thanks for tracking this down. Given the proximity
 of the RC, I'm inclined not to add a new declaration form for the time
 being. Rather, my vote would be to use the common fixity if there is one,
 or fail with an error if there isn't. After all, it isn't possible to
 declare iduplicate selectors with different fixities in a single module,
 and for imported ones the user can always disambiguate using the module
 system.

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


More information about the ghc-tickets mailing list