projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Change ASSERT to WARN
[ghc-hetmet.git]
/
compiler
/
hsSyn
/
HsUtils.lhs
diff --git
a/compiler/hsSyn/HsUtils.lhs
b/compiler/hsSyn/HsUtils.lhs
index
d9c45e6
..
50d12a3
100644
(file)
--- a/
compiler/hsSyn/HsUtils.lhs
+++ b/
compiler/hsSyn/HsUtils.lhs
@@
-397,6
+397,7
@@
collectl (L l pat) bndrs
go (TypePat ty) = bndrs
go (DictPat ids1 ids2) = map noLoc ids1 ++ map noLoc ids2
++ bndrs
+ go (CoPat _ pat ty) = collectl (noLoc pat) bndrs
\end{code}
\begin{code}