patch applied (ghc): Fix Trac #4127 (and hence #4173)

Simon Peyton Jones simonpj at microsoft.com
Tue Jul 13 07:55:29 EDT 2010


Wed Jul  7 05:31:25 PDT 2010  simonpj at microsoft.com
  * Fix Trac #4127 (and hence #4173)
  
  The change involves a little refactoring, so that the default
  method Ids are brought into scope earlier, before the value
  declarations are compiled.  (Since a value decl may contain
  an instance decl in a quote.)
  
  See Note [Default method Ids and Template Haskell] in
  TcTyClsDcls.

    M ./compiler/basicTypes/MkId.lhs -8 +16
    M ./compiler/typecheck/TcClassDcl.lhs -12 +10
    M ./compiler/typecheck/TcInstDcls.lhs -12 +9
    M ./compiler/typecheck/TcRnDriver.lhs -10 +13
    M ./compiler/typecheck/TcTyClsDecls.lhs -7 +35
    M ./compiler/types/Class.lhs -1 +4

View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc;a=darcs_commitdiff;h=20100707123125-1287e-246eefa5ce81be274237fb9ad9437f920bc32046.gz



More information about the Cvs-ghc mailing list