Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master
http://hackage.haskell.org/trac/ghc/changeset/8f212ab5307434edf92c7d10fe0df88ccb5cd6ca >--------------------------------------------------------------- commit 8f212ab5307434edf92c7d10fe0df88ccb5cd6ca Author: Simon Peyton Jones <[email protected]> Date: Thu May 26 14:30:15 2011 +0100 Rejig the way in which generic default method signatures are checked - Check GenericSig in tcClassSigs, along with TypeSig - Add the generic default methods to the type envt - Look them up via tcLookupId in TcClassDcl.tcDefMeth Much nicer! compiler/iface/BuildTyCl.lhs | 4 +- compiler/main/HscTypes.lhs | 4 +- compiler/typecheck/TcClassDcl.lhs | 78 ++++++++++++++-------------------- compiler/typecheck/TcRnDriver.lhs | 16 +++---- compiler/typecheck/TcTyClsDecls.lhs | 38 ++++++++++++----- compiler/typecheck/TcTyDecls.lhs | 15 +++---- 6 files changed, 77 insertions(+), 78 deletions(-) Diff suppressed because of size. To see it, use: git show 8f212ab5307434edf92c7d10fe0df88ccb5cd6ca _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
