Typo, spotted by Stefan Holdermans
authorIan Lynagh <igloo@earth.li>
Tue, 5 Jun 2007 19:46:43 +0000 (19:46 +0000)
committerIan Lynagh <igloo@earth.li>
Tue, 5 Jun 2007 19:46:43 +0000 (19:46 +0000)
compiler/typecheck/TcPat.lhs

index 9d4c9b0..5384e4a 100644 (file)
@@ -955,7 +955,7 @@ badTypePat pat = ptext SLIT("Illegal type pattern") <+> ppr pat
 
 lazyPatErr pat tvs
   = failWithTc $
-    hang (ptext SLIT("A lazy (~) pattern connot bind existential type variables"))
+    hang (ptext SLIT("A lazy (~) pattern cannot bind existential type variables"))
        2 (vcat (map pprSkolTvBinding tvs))
 
 nonRigidMatch con