patch applied (ghc): Fix a bug in eqPatType

Simon Peyton-Jones simonpj at microsoft.com
Mon Jun 9 03:22:52 EDT 2008


Good catch!  That would have led to a very obscure bug!

S

| -----Original Message-----
| From: cvs-ghc-bounces at haskell.org [mailto:cvs-ghc-bounces at haskell.org] On
| Behalf Of Ian Lynagh
| Sent: 06 June 2008 23:42
| To: cvs-ghc at haskell.org
| Subject: patch applied (ghc): Fix a bug in eqPatType
|
| Fri Jun  6 11:46:31 PDT 2008  Ian Lynagh <igloo at earth.li>
|   * Fix a bug in eqPatType
|   One of the conditions we were checking was
|       t2 `eqPatLType` t2
|   rather than
|       t1 `eqPatLType` t2
|
|     M ./compiler/typecheck/TcClassDcl.lhs -2 +2
|
| View patch online:
| http://darcs.haskell.org/ghc/_darcs/patches/20080606184631-3fd76-
| ae84227e5438e1474a4818a6a382ac4401f59dfa.gz
|
| _______________________________________________
| Cvs-ghc mailing list
| Cvs-ghc at haskell.org
| http://www.haskell.org/mailman/listinfo/cvs-ghc



More information about the Cvs-ghc mailing list