chak 2002/11/20 04:34:43 PST
Modified files:
ghc/compiler/typecheck TcRnDriver.lhs
testsuite/tests/ghc-regress/th all.T
Added files:
testsuite/tests/ghc-regress/th TH_spliceDecl1.hs
TH_spliceDecl2.hs
TH_spliceDecl3.hs
Log:
TH:
- We are forcing importing THSyntax.Q at every top splice now; this suffices
to get simple splices that do not involve reifyDecl or declaration
quasi-quotes to work. NB: This worked already when the construction of the
Dec term and the splice were in separated modules, but not when they are in
the same (see the regression test "TH_spliceDecl1.hs").
- The tests "TH_spliceDecl2.hs" and "TH_spliceDecl3.hs" use toplevel splices
together with quasi-quoted and reifyDecl. These currently still fail, as
importing of some of the required type constructors from THSyntax isn't
forced.
Revision Changes Path
1.14 +3 -2 fptools/ghc/compiler/typecheck/TcRnDriver.lhs
1.4 +4 -0 fptools/testsuite/tests/ghc-regress/th/all.T
_______________________________________________
Cvs-fptools mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-fptools