#5527: mkTopLevEnv: not interpreted
------------------------+---------------------------------------------------
Reporter: cdsmith | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: GHC API | Version: 7.3
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Linux | Blocking:
Architecture: x86 | Failure: None/Unknown
------------------------+---------------------------------------------------
Comment(by simonmar):
Plan:
* In this particular use case, it is better use use "*A.hs" instead of
"A.hs" for the target, as this tells GHC that you want the module to be
interpreted so that you can have its entire top-level scope available for
interactive evaluation.
* We should make `GHC.setContext` emit a proper exception in this case,
instead of the cryptic `mkTopLevEnv` error.
* There are strange things afoot with `-fobject-code` too: #5534
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5527#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs