[GHC] #9032: Panic with self-import

GHC ghc-devs at haskell.org
Thu Dec 4 10:59:44 UTC 2014


#9032: Panic with self-import
-------------------------------------+-------------------------------------
              Reporter:  jstolarek   |            Owner:
                  Type:  bug         |           Status:  new
              Priority:  highest     |        Milestone:  7.10.1
             Component:  Template    |          Version:  7.8.2
  Haskell                            |         Keywords:
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:              |       Difficulty:  Unknown
  Unknown/Multiple                   |       Blocked By:
       Type of failure:  Compile-    |  Related Tickets:  #1012
  time crash                         |
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 Replying to [comment:5 monoidal]:
 > It's already an error (`Module imports form a cycle: module 'X' imports
 itself`), but in this case the self-import somehow gives a panic.

 Good point.  So it's already an error; albeit one that is only reported
 with `--make`.  We should get a decent error in one-shot mode too.

 Simon

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


More information about the ghc-tickets mailing list