projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 1997-03-14 07:52:06 by simonpj]
[ghc-hetmet.git]
/
ghc
/
compiler
/
deSugar
/
DsHsSyn.lhs
diff --git
a/ghc/compiler/deSugar/DsHsSyn.lhs
b/ghc/compiler/deSugar/DsHsSyn.lhs
index
d7e54ef
..
010d741
100644
(file)
--- a/
ghc/compiler/deSugar/DsHsSyn.lhs
+++ b/
ghc/compiler/deSugar/DsHsSyn.lhs
@@
-36,6
+36,7
@@
outPatType (TuplePat pats) = mkTupleTy (length pats) (map outPatType pats)
outPatType (RecPat _ ty _) = ty
outPatType (LitPat lit ty) = ty
outPatType (NPat lit ty _) = ty
+outPatType (NPlusKPat _ _ ty _ _) = ty
outPatType (DictPat ds ms) = case (length ds_ms) of
0 -> unitTy
1 -> idType (head ds_ms)