[project @ 2002-11-21 15:51:43 by simonpj]
authorsimonpj <unknown>
Thu, 21 Nov 2002 15:51:44 +0000 (15:51 +0000)
committersimonpj <unknown>
Thu, 21 Nov 2002 15:51:44 +0000 (15:51 +0000)
commit11047b5e250ae889a642429a8d39ec0991cd26da
tree844513485742eb52f43bfd065abe1aaf292454b8
parentc9c016973e8b1cf996d0b87f24204b70622dc97f
[project @ 2002-11-21 15:51:43 by simonpj]
-------------------------------
Pass the current-module type envt
to HscMain.compileExpr, and thence to the desugarer
-------------------------------

For Template Haskell it's important to have the type envt of
the current module available to hand the desugarer.

Should fix TH_spliceDecl3
ghc/compiler/deSugar/Desugar.lhs
ghc/compiler/main/HscMain.lhs