Yep that's done, it's all removed from TcRnDriver. I think I missed some of the lingering wired-in-names in PrelNames though, now that I look at it...
On Mon, Apr 21, 2014 at 2:51 AM, Simon Peyton Jones <[email protected]> wrote: > I think we can go further: we can remove the code that implements -fwarn-amp. > I agree that the flag itself should remain for a cycle, deprecated, as a > no-op. > > Simon > > | -----Original Message----- > | From: ghc-commits [mailto:[email protected]] On Behalf Of > | [email protected] > | Sent: 20 April 2014 22:56 > | To: [email protected] > | Subject: [commit: ghc] master: Deprecate the AMP warnings. (3608f65) > | > | Repository : ssh://[email protected]/ghc > | > | On branch : master > | Link : > | http://ghc.haskell.org/trac/ghc/changeset/3608f657d55b7ea7dd711556a4faf > | 6a15c509163/ghc > | > | >--------------------------------------------------------------- > | > | commit 3608f657d55b7ea7dd711556a4faf6a15c509163 > | Author: Austin Seipp <[email protected]> > | Date: Sun Apr 20 01:10:15 2014 -0500 > | > | Deprecate the AMP warnings. > | > | Now that we're in development mode, Applicative will soon be a > | superclass of Monad in HEAD. So let's go ahead and deprecate the > | -fno-warn-amp flag, remove the checks, and tweak a few tests > | > | Signed-off-by: Austin Seipp <[email protected]> > | > | > | >--------------------------------------------------------------- > | > | 3608f657d55b7ea7dd711556a4faf6a15c509163 > | compiler/main/DynFlags.hs | 4 +- > | compiler/typecheck/TcRnDriver.lhs | 215 +----------- > | -------- > | docs/users_guide/flags.xml | 2 +- > | .../tests/ghci.debugger/scripts/break006.stderr | 4 +- > | .../tests/ghci.debugger/scripts/print019.stderr | 2 +- > | .../should_fail/overloadedlistsfail01.stderr | 2 +- > | testsuite/tests/rename/should_compile/T7145b.hs | 3 - > | .../tests/rename/should_compile/T7145b.stderr | 2 +- > | .../tests/simplCore/should_compile/spec001.hs | 3 +- > | .../tests/typecheck/should_compile/holes2.stderr | 2 +- > | testsuite/tests/typecheck/should_fail/T5095.stderr | 2 - > | .../tests/typecheck/should_fail/tcfail072.stderr | 2 +- > | .../tests/typecheck/should_fail/tcfail133.stderr | 2 +- > | .../tests/typecheck/should_fail/tcfail181.stderr | 1 - > | 14 files changed, 14 insertions(+), 232 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 > | 3608f657d55b7ea7dd711556a4faf6a15c509163 > | _______________________________________________ > | ghc-commits mailing list > | [email protected] > | http://www.haskell.org/mailman/listinfo/ghc-commits > _______________________________________________ > ghc-devs mailing list > [email protected] > http://www.haskell.org/mailman/listinfo/ghc-devs > -- Regards, Austin Seipp, Haskell Consultant Well-Typed LLP, http://www.well-typed.com/ _______________________________________________ ghc-devs mailing list [email protected] http://www.haskell.org/mailman/listinfo/ghc-devs
