projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc03c1e
)
[project @ 2005-03-17 10:17:02 by simonpj]
author
simonpj
<unknown>
Thu, 17 Mar 2005 10:17:02 +0000
(10:17 +0000)
committer
simonpj
<unknown>
Thu, 17 Mar 2005 10:17:02 +0000
(10:17 +0000)
minor to fix to (still probably broken) stglint
ghc/compiler/stgSyn/StgLint.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/stgSyn/StgLint.lhs
b/ghc/compiler/stgSyn/StgLint.lhs
index
0d1b7b5
..
0aa6aaa
100644
(file)
--- a/
ghc/compiler/stgSyn/StgLint.lhs
+++ b/
ghc/compiler/stgSyn/StgLint.lhs
@@
-217,6
+217,7
@@
lintStgExpr e@(StgCase scrut _ _ bndr _ alts_type alts)
(case scrut of
StgApp _ _ -> returnL ()
StgConApp _ _ -> returnL ()
+ StgOpApp _ _ _ -> returnL ()
other -> addErrL (mkCaseOfCaseMsg e)) `thenL_`
addInScopeVars [bndr] (lintStgAlts alts scrut_ty)