[commit: ghc] master: Deprecate the AMP warnings. (3608f65)
Simon Peyton Jones
simonpj at microsoft.com
Mon Apr 21 07:51:42 UTC 2014
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:ghc-commits-bounces at haskell.org] On Behalf Of
| git at git.haskell.org
| Sent: 20 April 2014 22:56
| To: ghc-commits at haskell.org
| Subject: [commit: ghc] master: Deprecate the AMP warnings. (3608f65)
|
| Repository : ssh://git@git.haskell.org/ghc
|
| On branch : master
| Link :
| http://ghc.haskell.org/trac/ghc/changeset/3608f657d55b7ea7dd711556a4faf
| 6a15c509163/ghc
|
| >---------------------------------------------------------------
|
| commit 3608f657d55b7ea7dd711556a4faf6a15c509163
| Author: Austin Seipp <austin at well-typed.com>
| 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 <austin at well-typed.com>
|
|
| >---------------------------------------------------------------
|
| 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
| ghc-commits at haskell.org
| http://www.haskell.org/mailman/listinfo/ghc-commits
More information about the ghc-devs
mailing list