Wed Jan 20 01:45:33 PST 2010  [email protected]
  * Fix Trac #3813: unused variables in GHCi bindings
  
  In a GHCi stmt we don't want to report unused variables, 
  because we don't know the scope of the binding, eg
  
        Prelude> x <- blah
  
  Fixing this needed a little more info about the context of the stmt,
  thus the new constructor GhciStmt in the HsStmtContext type.

    M ./compiler/deSugar/DsExpr.lhs +3
    M ./compiler/deSugar/DsMeta.hs -7 +13
    M ./compiler/hsSyn/HsExpr.lhs -1 +4
    M ./compiler/rename/RnEnv.lhs -1
    M ./compiler/rename/RnPat.lhs -5 +13
    M ./compiler/typecheck/TcMatches.lhs -2 +1
    M ./compiler/typecheck/TcRnDriver.lhs -3 +3

View patch online:
http://darcs.haskell.org/ghc-6.12/ghc/_darcs/patches/20100120094533-1287e-717b6814924793381d101dce4c8a767a6212c819.gz

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

Reply via email to