[GHC] #13132: Compilation fails with a panic: get_op runContT

GHC ghc-devs at haskell.org
Tue Feb 14 15:54:23 UTC 2017


#13132: Compilation fails with a panic: get_op runContT
-------------------------------------+-------------------------------------
        Reporter:  PoroCYon          |                Owner:  adamgundry
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:  ORF
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Compile-time      |            Test Case:
  crash or panic                     |  rename/should_compile/T13132,
                                     |  overloadedrecflds/should_fail/T13132_duplicaterecflds
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D2985,
       Wiki Page:                    |  Phab:D3126
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"2484d4dae65c81f218dcfe494b963b2630bb8fa6/ghc" 2484d4d/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="2484d4dae65c81f218dcfe494b963b2630bb8fa6"
 Refactor renaming of operators/sections to fix DuplicateRecordFields bugs

 A variety of panics were possible because the get_op function in
 RnTypes didn't handle the possibility that its argument might be an
 ambiguous record field. I've made its return type more informative to
 correctly handle occurrences of record fields.  Fixes Trac #13132.

 Test Plan: new test
 overloadedrecflds/should_fail/T13132_duplicaterecflds

 Reviewers: bgamari, simonpj, austin

 Reviewed By: bgamari

 Subscribers: thomie

 Differential Revision: https://phabricator.haskell.org/D3126
 }}}

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


More information about the ghc-tickets mailing list