Mon Oct 18 06:57:46 PDT 2010  [email protected]
  * Define SpecConstrAnnotation in GHC.Exts, and import it from there
  
  Reason: avoid having to link the entire ghc package in modules
  that use compile-time annotations:
  
       import GHC.Exts( SpecConstrAnnotation )
       {-# ANN type T ForceSpecConstr #-}
  
  It's a kind of bug that the package exporting SpecConstrAnnotation
  is linked even though it is only needed at compile time, but putting
  the data type declaration in GHC.Exts is a simple way to sidestep
  the problem
  
  See See Note [SpecConstrAnnotation] in SpecConstr

    M ./compiler/specialise/SpecConstr.lhs -37 +56

View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc-7.0/ghc;a=darcs_commitdiff;h=20101018135746-1287e-b62c5d866b613e6cd156fff46ec4ad7f08680758.gz

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to