[project @ 1999-06-28 16:29:45 by simonpj]
authorsimonpj <unknown>
Mon, 28 Jun 1999 16:29:49 +0000 (16:29 +0000)
committersimonpj <unknown>
Mon, 28 Jun 1999 16:29:49 +0000 (16:29 +0000)
commit354ce4040a514f3016323f2e330c7eac527ce3b2
treea3097753b32d1434b909030883302fe40903620f
parent26caf834b8eba8eea0f68ab96d47997159a5ed7e
[project @ 1999-06-28 16:29:45 by simonpj]
* Add Type.repType

* Re-express splitRepTyConApp_maybe using repType

* Use the new repType in Core2Stg

The bug was that we ended up with a binding like
let x = /\a -> 3# +# y
in ...
and this should turn into an STG case, but the big lambda
fooled the core-to-STG pass
ghc/compiler/codeGen/CgCase.lhs
ghc/compiler/codeGen/CgExpr.lhs
ghc/compiler/stgSyn/CoreToStg.lhs
ghc/compiler/types/Type.lhs