Ticket #158 (new defect)
Quasiquotation breaks Haddock/GHCi
|Reported by:||arcatan||Owned by:|
When trying to generate Haddock documentation for any file that uses quasiquotation, I get an error message similar to this:
% haddock -o doc -h Main.hs During interactive linking, GHCi couldn't find the following symbol: Quasi_qq_closure This may be due to you not asking GHCi to load extra object files, archives or DLLs needed by your current session. Restart GHCi, specifying the missing library using the -L/path/to/object/dir and -lmissinglibname flags, or simply by naming the relevant files on the GHCi command line. Alternatively, this link failure might indicate a bug in GHCi. If you suspect the latter, please send a bug report to: firstname.lastname@example.org
GHCi loads the modules fine when invoked manually. I'm using Haddock 2.8.1 and GHC 6.12.3 on OS X 10.6.4. I've attached a trivial quasiquoter (Quasi.hs) and Main.hs which uses it and causes problems for Haddock.