[GHC] #10419: Refactor LoadIface to distinguish getting a ModIface versus loading into EPT

GHC ghc-devs at haskell.org
Mon May 18 07:49:27 UTC 2015


#10419: Refactor LoadIface to distinguish getting a ModIface versus loading into
EPT
-------------------------------------+-------------------------------------
        Reporter:  ezyang            |                   Owner:  ezyang
            Type:  task              |                  Status:  closed
        Priority:  normal            |               Milestone:
       Component:  Compiler (Type    |                 Version:  7.11
  checker)                           |                Keywords:
      Resolution:  invalid           |            Architecture:
Operating System:  Unknown/Multiple  |  Unknown/Multiple
 Type of failure:  None/Unknown      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by simonpj):

 > Though, I think it may still be useful to add a new function to
 `LoadIface` expressly for orphan loading, to consolidate this logic.

 Maybe so.  Which logic did you have in mind, and where is it duplicated?
 Can you suggest a patch?

 Simon

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


More information about the ghc-tickets mailing list