Fix comment
authorsimonpj@microsoft.com <unknown>
Thu, 23 Feb 2006 13:01:04 +0000 (13:01 +0000)
committersimonpj@microsoft.com <unknown>
Thu, 23 Feb 2006 13:01:04 +0000 (13:01 +0000)
ghc/compiler/typecheck/TcType.lhs

index 448f10a..4b6e7b8 100644 (file)
@@ -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}