[GHC] #11077: ghc panic: ieName failed pattern match (-fwarn-missing-exported-sigs)

GHC ghc-devs at haskell.org
Wed Dec 2 20:38:30 UTC 2015


#11077: ghc panic: ieName failed pattern match (-fwarn-missing-exported-sigs)
-------------------------------------+-------------------------------------
        Reporter:  woehr             |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.2
      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 Austin Seipp <austin@…>):

 In [changeset:"a12e47bed74e305b37e68014c52feba3dd075514/ghc"
 a12e47be/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="a12e47bed74e305b37e68014c52feba3dd075514"
 Avoid panic due to partial ieName

 HsImpExp.ieName is partial and fails when given e.g. `module X`

 solution: use ieNames instead which returns a list of names instead of a
 single name.

 Reviewed By: bgamari, austin

 Differential Revision: https://phabricator.haskell.org/D1551

 GHC Trac Issues: #11077
 }}}

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


More information about the ghc-tickets mailing list