projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
let you :show things that you can :set (e.g. args, prog etc.)
[ghc-hetmet.git]
/
compiler
/
deSugar
/
MatchLit.lhs
diff --git
a/compiler/deSugar/MatchLit.lhs
b/compiler/deSugar/MatchLit.lhs
index
2cdab30
..
e0a7601
100644
(file)
--- a/
compiler/deSugar/MatchLit.lhs
+++ b/
compiler/deSugar/MatchLit.lhs
@@
-183,7
+183,8
@@
matchLiterals :: [Id]
-> DsM MatchResult
matchLiterals (var:vars) ty sub_groups
- = do { -- Deal with each group
+ = ASSERT( all notNull sub_groups )
+ do { -- Deal with each group
; alts <- mapM match_group sub_groups
-- Combine results. For everything except String