
#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):
Yes, but then you said "..I would have expected that tcLookup :: Name -> TcM TcTyThing (no Global in the name) would consult the local environment. ... somehow did not help"
yes, but I was not using it in all the places I should have – that bizzarness was simply a mistake by me, sorry for the confusion. About `$tcArithException :: TyCon` – this value lives in `GHC.Exception`, but obviously it is not present in the Haskell source. Which phase is responsible for synthesizing these values? It seems that they are synthesized and added after `TcInteract` resolves the `Typeable` constraints (or, if they are created earlier, they are not added to the type checker’s local environment). -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14691#comment:18 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler