[commit: ghc] master: Refactor AMP warnings a bit (e17072d)
git at git.haskell.org
git at git.haskell.org
Fri Sep 20 15:52:14 CEST 2013
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/e17072d181158731c00c966e6ebfd86aec942f5b/ghc
>---------------------------------------------------------------
commit e17072d181158731c00c966e6ebfd86aec942f5b
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Fri Sep 20 14:48:47 2013 +0100
Refactor AMP warnings a bit
There was a bit of clutter (tryTc stuff) caused by the
fact that tcLookupImported didn't return a MaybeErr.
Now it does. That finishes up Trac #8004.
>---------------------------------------------------------------
e17072d181158731c00c966e6ebfd86aec942f5b
compiler/iface/TcIface.lhs | 24 ++++++++++-------
compiler/typecheck/TcEnv.lhs | 10 +++----
compiler/typecheck/TcRnDriver.lhs | 53 +++++++++++++++++++++----------------
compiler/typecheck/TcSplice.lhs | 15 +++++------
4 files changed, 56 insertions(+), 46 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 e17072d181158731c00c966e6ebfd86aec942f5b
More information about the ghc-commits
mailing list