[project @ 2000-11-15 14:37:08 by simonpj]
authorsimonpj <unknown>
Wed, 15 Nov 2000 14:37:10 +0000 (14:37 +0000)
committersimonpj <unknown>
Wed, 15 Nov 2000 14:37:10 +0000 (14:37 +0000)
commit8b653a82cdad2eef86395616256304ae4cb18b2b
treef523be6d5aa5a210e7f136548a01cbe939f811c8
parent4631557d51ec5573faa28c2062a861e630ab4993
[project @ 2000-11-15 14:37:08 by simonpj]
The main thing in this commit is to change StgAlts so that
it carries a TyCon, and not a Type.  Furthermore, the TyCon
is derived from the alternatives, so it should have its
constructors etc, even if there's a module loop involved, so that
some versions of the TyCon don't have the constructors visible.

There's a comment in StgSyn.lhs, with the type decl for StgAlts

Also: a start on hscExpr in HscMain.
15 files changed:
ghc/compiler/codeGen/CgCase.lhs
ghc/compiler/codeGen/CgExpr.lhs
ghc/compiler/ghci/StgInterp.lhs
ghc/compiler/main/ErrUtils.lhs
ghc/compiler/main/HscMain.lhs
ghc/compiler/profiling/SCCfinal.lhs
ghc/compiler/rename/Rename.lhs
ghc/compiler/rename/RnMonad.lhs
ghc/compiler/simplStg/LambdaLift.lhs
ghc/compiler/simplStg/SRT.lhs
ghc/compiler/simplStg/StgVarInfo.lhs
ghc/compiler/stgSyn/CoreToStg.lhs
ghc/compiler/stgSyn/StgLint.lhs
ghc/compiler/stgSyn/StgSyn.lhs
ghc/compiler/typecheck/TcDeriv.lhs