[project @ 2005-03-17 10:17:02 by simonpj]
authorsimonpj <unknown>
Thu, 17 Mar 2005 10:17:02 +0000 (10:17 +0000)
committersimonpj <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

index 0d1b7b5..0aa6aaa 100644 (file)
@@ -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)