[GHC] #14953: Panic when exporting duplicate record fields from separate modules

GHC ghc-devs at haskell.org
Sat Mar 24 22:22:39 UTC 2018


#14953: Panic when exporting duplicate record fields from separate modules
-------------------------------------+-------------------------------------
        Reporter:  lyxia             |                Owner:  (none)
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.5
      Resolution:                    |             Keywords:  ORF
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Compile-time      |            Test Case:
  crash or panic                     |  overloadedrecflds/should_fail/T14953
      Blocked By:                    |             Blocking:
 Related Tickets:  #13352            |  Differential Rev(s):  Phab:D4527
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by adamgundry):

 * testcase:   => overloadedrecflds/should_fail/T14953
 * status:  new => patch
 * differential:   => Phab:D4527
 * related:   => #13352
 * milestone:   => 8.6.1


Comment:

 Fixing the panic was comparatively straightforward, though there is a
 bigger issue here that re-exports of duplicate record fields are
 prohibited in surprising cases (see #13352).

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


More information about the ghc-tickets mailing list