[GHC] #15149: Identical distinct type family fields miscompiled

GHC ghc-devs at haskell.org
Fri Jun 8 16:47:55 UTC 2018


#15149: Identical distinct type family fields miscompiled
-------------------------------------+-------------------------------------
        Reporter:  NeilMitchell      |                Owner:  adamgundry
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.4.2
      Resolution:                    |             Keywords:  ORF
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #14747            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 > I'm concerned that it might impact TH users though, as they will have
 only an OccName where previously they had a Name

 Well comment:4 suggests leaving it as `TH.Name`; as subsequent bullets
 point out, we need correspondingly need `RdrName` not `OccName` in
 `HsSyn.`

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


More information about the ghc-tickets mailing list