[haddock] #68: Internal error when splicing Template Haskell code

haddock haddock at projects.haskell.org
Sat Jan 10 14:53:45 EST 2009


#68: Internal error when splicing Template Haskell code
-------------------+--------------------------------------------------------
Reporter:  spl     |        Owner:        
    Type:  defect  |       Status:  closed
Priority:  major   |    Milestone:  2.4.2 
 Version:  2.4.1   |   Resolution:  fixed 
Keywords:          |  
-------------------+--------------------------------------------------------
Changes (by waern):

  * status:  new => closed
  * resolution:  => fixed
  * milestone:  2.5.0 => 2.4.2

Comment:

 This has been fixed by this patch:

 {{{
 * Fix Trac #68: Turn on compilation via C for Template Haskell packages

 We can't use HscNothing if we need to run code coming from modules inside
 the processed package during typechecking, which is the case for some
 packages
 using Template Haskell. This could be improved, to e.g. use HscInterpreted
 and
 HscNothing where possible, instead of using HscC for all modules in the
 package.
 }}}

 We should try to come up with a better solution in the future, where not
 all modules are compiled via C just because Template Haskell is used.

-- 
Ticket URL: <http://trac.haskell.org/haddock/ticket/68#comment:2>
haddock <http://www.haskell.org/haddock>
Haddock, The Haskell Documentation Tool


More information about the Haddock mailing list