projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7028041
)
Remove accidental trace
author
Simon Peyton Jones
<simonpj@microsoft.com>
Wed, 4 May 2011 21:34:14 +0000
(22:34 +0100)
committer
Simon Peyton Jones
<simonpj@microsoft.com>
Wed, 4 May 2011 21:34:14 +0000
(22:34 +0100)
compiler/deSugar/Check.lhs
patch
|
blob
|
history
diff --git
a/compiler/deSugar/Check.lhs
b/compiler/deSugar/Check.lhs
index
fa85a1d
..
d894179
100644
(file)
--- a/
compiler/deSugar/Check.lhs
+++ b/
compiler/deSugar/Check.lhs
@@
-110,8
+110,7
@@
type EqnSet = UniqSet EqnNo
check :: [EquationInfo] -> ([ExhaustivePat], [EquationInfo])
-- Second result is the shadowed equations
-- if there are view patterns, just give up - don't know what the function is
-check qs = pprTrace "check" (ppr tidy_qs) $
- (untidy_warns, shadowed_eqns)
+check qs = (untidy_warns, shadowed_eqns)
where
tidy_qs = map tidy_eqn qs
(warns, used_nos) = check' ([1..] `zip` tidy_qs)