projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix HPC column numbers, following the column number changes in GHC
[ghc-hetmet.git]
/
compiler
/
deSugar
/
DsGRHSs.lhs
diff --git
a/compiler/deSugar/DsGRHSs.lhs
b/compiler/deSugar/DsGRHSs.lhs
index
83ceeca
..
24086a2
100644
(file)
--- a/
compiler/deSugar/DsGRHSs.lhs
+++ b/
compiler/deSugar/DsGRHSs.lhs
@@
-32,7
+32,7
@@
import TysWiredIn
import PrelNames
import Name
import SrcLoc
import PrelNames
import Name
import SrcLoc
-
+import Outputable
\end{code}
@dsGuarded@ is used for both @case@ expressions and pattern bindings.
\end{code}
@dsGuarded@ is used for both @case@ expressions and pattern bindings.
@@
-51,7
+51,7
@@
dsGuarded :: GRHSs Id -> Type -> DsM CoreExpr
dsGuarded grhss rhs_ty = do
match_result <- dsGRHSs PatBindRhs [] grhss rhs_ty
dsGuarded grhss rhs_ty = do
match_result <- dsGRHSs PatBindRhs [] grhss rhs_ty
- error_expr <- mkErrorAppDs nON_EXHAUSTIVE_GUARDS_ERROR_ID rhs_ty ""
+ error_expr <- mkErrorAppDs nON_EXHAUSTIVE_GUARDS_ERROR_ID rhs_ty empty
extractMatchResult match_result error_expr
\end{code}
extractMatchResult match_result error_expr
\end{code}