Tue Oct 28 04:04:45 PDT 2008  [EMAIL PROTECTED]
  * Fix Trac #2723: keep track of record field names in the renamer
  
  The idea here is that with -XNamedFieldPuns and -XRecordWildCards we don't
  want to report shadowing errors for
        let fld = <blah> in C { .. }
  But to suppress such shadowing errors, the renamer needs to know that
  'fld' *is* a record selector.  Hence the new NameSet in 
  TcRnFypes.RecFieldEnv
  

    M ./compiler/basicTypes/RdrName.lhs +6
    M ./compiler/rename/RnEnv.lhs -5 +30
    M ./compiler/rename/RnSource.lhs -6 +8
    M ./compiler/typecheck/TcEnv.lhs -1 +1
    M ./compiler/typecheck/TcRnMonad.lhs -1 +1
    M ./compiler/typecheck/TcRnTypes.lhs -4 +9

View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20081028110445-1287e-08a2de5dcffcd774fcba9ce9035c2113b4c1d1e1.gz

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to