projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffdbaf3
)
Fix comment
author
simonpj@microsoft.com
<unknown>
Thu, 23 Feb 2006 13:01:04 +0000
(13:01 +0000)
committer
simonpj@microsoft.com
<unknown>
Thu, 23 Feb 2006 13:01:04 +0000
(13:01 +0000)
ghc/compiler/typecheck/TcType.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/typecheck/TcType.lhs
b/ghc/compiler/typecheck/TcType.lhs
index
448f10a
..
4b6e7b8
100644
(file)
--- a/
ghc/compiler/typecheck/TcType.lhs
+++ b/
ghc/compiler/typecheck/TcType.lhs
@@
-759,8
+759,8
@@
tcValidInstHeadTy ty
where
tvs = mapCatMaybes get_tv tys
- get_tv (NoteTy _ ty) = get_tv ty -- through synonyms
- get_tv (TyVarTy tv) = Just tv -- Again, do not look
+ get_tv (NoteTy _ ty) = get_tv ty -- Again, do not look
+ get_tv (TyVarTy tv) = Just tv -- through synonyms
get_tv other = Nothing
\end{code}