[commit: ghc] master: Normalise the type when generating do-bind warnings (Trac #8470) (e359a65)

git at git.haskell.org git at git.haskell.org
Wed Oct 23 11:17:56 UTC 2013


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/e359a65d6171fd6ae37cef66730646bed5144041/ghc

>---------------------------------------------------------------

commit e359a65d6171fd6ae37cef66730646bed5144041
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Wed Oct 23 12:12:39 2013 +0100

    Normalise the type when generating do-bind warnings (Trac #8470)
    
    This was easy to do, except that the desugar monad needs a
    FamInstEnv init.  Straightforward, routine, albeit a bit clunky.


>---------------------------------------------------------------

e359a65d6171fd6ae37cef66730646bed5144041
 compiler/deSugar/Desugar.lhs          |   40 +++++++++++++-------------
 compiler/deSugar/DsExpr.lhs           |   50 ++++++++++++++++++---------------
 compiler/deSugar/DsMonad.lhs          |   27 ++++++++++++------
 compiler/main/HscMain.hs              |   12 ++++----
 compiler/vectorise/Vectorise/Monad.hs |    3 +-
 5 files changed, 75 insertions(+), 57 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc e359a65d6171fd6ae37cef66730646bed5144041


More information about the ghc-commits mailing list