Ticket #66 (closed defect: fixed)

Opened 6 years ago

Last modified 2 years ago

Haddock doesn't like quasi-quotation

Reported by: waern Owned by:
Priority: major Milestone:
Version: 2.4.1 Keywords:
Cc:

Description

Using it results in:

haddock: internal Haddock or GHC error: Maybe.fromJust: Nothing

Thanks to Robert Greayer for reporting this.

Change History

Changed 6 years ago by waern

  • version changed from 2.2.1 to 2.4.1

Changed 6 years ago by Christian.Maeder@…

Since our template haskell code is given within

#ifndef __HADDOCK__
...
#endif

I've tried to run haddock with --optghc=-D__HADDOCK__ resp. run "cabal configure" with --haddock-option=--optghc=-D__HADDOCK__

However, this failed with

  The type signature for `<...>' lacks an accompanying binding

On solution for this would be to implement feature http://hackage.haskell.org/trac/ghc/ticket/393!

Changed 6 years ago by waern

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to 2.4.2

As a result of improved Template Haskell support, quasi-quotation now works better as well. GHC 6.10.2 is required.

Changed 2 years ago by anonymous

  • milestone 2.4.2 deleted

Milestone 2.4.2 deleted

Note: See TracTickets for help on using tickets.