[GHC] #14691: Replace EvTerm with CoreExpr

GHC ghc-devs at haskell.org
Sun Jan 21 16:39:57 UTC 2018


#14691: Replace EvTerm with CoreExpr
-------------------------------------+-------------------------------------
        Reporter:  nomeata           |                Owner:  (none)
            Type:  task              |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler (Type    |              Version:  8.3
  checker)                           |
      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 nomeata):

 >  Do I need a smarter lookupId that checks if the given name is supposed
 to be defined in the current module, and then uses the local name, rather
 than trying to find the global name?

 It seems that `lookupId` (which is `tcLookupGlobal`) already does that.
 But maybe the local definitions are not in the environment properly at the
 time `TcInteract` does its work?

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


More information about the ghc-tickets mailing list