[GHC] #3531: Haddock needs tcRnGetInfo,
hence GhcWithInterpreter YES
GHC
trac at galois.com
Sat Oct 3 14:44:28 EDT 2009
#3531: Haddock needs tcRnGetInfo, hence GhcWithInterpreter YES
-----------------------------+----------------------------------------------
Reporter: donn | Owner: simonmar
Type: bug | Status: reopened
Priority: high | Milestone: 6.12.1
Component: Build System | Version: 6.11
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Os: NetBSD
Architecture: x86 |
-----------------------------+----------------------------------------------
Comment (by kili):
Replying to [comment:3 igloo]:
> Is there a reason for this function to be enabled only if GHCi is?
It would be possible to compile and export tcRnGetInfo (and some other
functions used by it) unconditionally. In addition, tcRnLookupName would
have to be exported unconditionally, and the definition of
InteractiveEval.lookupName would have to be copied to haddock.
I could make a patch, but imho this would be a very ugly workaround.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3531#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list