Ticket #158 (new defect)

Opened 5 years ago

Last modified 3 years ago

Quasiquotation breaks Haddock/GHCi

Reported by: arcatan Owned by:
Priority: major Milestone:
Version: 2.8.0 Keywords:


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:
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:

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.


Quasi.hs (417 bytes) - added by arcatan 5 years ago.
A trivial quasiquoter
Main.hs (164 bytes) - added by arcatan 5 years ago.

Change History

Changed 5 years ago by arcatan

A trivial quasiquoter

Changed 5 years ago by arcatan

Changed 3 years ago by anonymous

  • milestone 2.7.0 deleted

Milestone 2.7.0 deleted

Note: See TracTickets for help on using tickets.