[GHC] #8639: GHC API `runStmt` overrides qualified import of `it` variable
GHC
ghc-devs at haskell.org
Tue Dec 31 17:57:08 UTC 2013
#8639: GHC API `runStmt` overrides qualified import of `it` variable
-------------------------------------+------------------------------------
Reporter: agibiansky | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: GHC API | Version: 7.6.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+------------------------------------
Comment (by simonpj):
Good point. I'll fix this.
I think you missed out some code in the test:
{{{
setSessionDynFlags (flags{ hscTarget = HscInterpreted, ghcLink
= LinkInMemory})
* target <- guessTarget "Test/Hspec.hs" Nothing
* setTargets [target]
* load LoadAllTargets
imps <- mapM parseImportDecl ["import Prelude", "import
Test.Hspec"]
}}}
The lines marked * are important!
Simon
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8639#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list