[project @ 2000-09-25 11:34:27 by simonmar]
authorsimonmar <unknown>
Mon, 25 Sep 2000 11:34:27 +0000 (11:34 +0000)
committersimonmar <unknown>
Mon, 25 Sep 2000 11:34:27 +0000 (11:34 +0000)
arguments of StgLam should be bndrs, not Id.

ghc/compiler/stgSyn/StgSyn.lhs

index 2f0fc0b..5a40c9d 100644 (file)
@@ -175,7 +175,7 @@ it encodes (\x -> e) as (let f = \x -> e in f)
 \begin{code}
   | StgLam
        Type            -- Type of whole lambda (useful when making a binder for it)
-       [Id]
+       [bndr]
        StgExpr         -- Body of lambda
 \end{code}