[commit: ghc] ghc-8.0: Print which flag controls emitted SafeHaskell warnings (2ffd9b1)

git at git.haskell.org git at git.haskell.org
Sun Feb 28 18:40:31 UTC 2016


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

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/2ffd9b167a107a82fff42adb22d15b185d8b8757/ghc

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

commit 2ffd9b167a107a82fff42adb22d15b185d8b8757
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Sat Feb 27 18:48:04 2016 +0100

    Print which flag controls emitted SafeHaskell warnings
    
    This is extends bb5afd3c274011c5ea302210b4c290ec1f83209c to cover
    SafeHaskell warnings.
    
    This implements yet another part of #10752
    
    (cherry picked from commit b6c61e372a1a783b32f1bbd1ceb446e89478a138)


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

2ffd9b167a107a82fff42adb22d15b185d8b8757
 compiler/main/HscMain.hs                           | 14 ++++++++-----
 .../tests/safeHaskell/flags/SafeFlags22.stderr     |  4 ++--
 .../tests/safeHaskell/flags/SafeFlags23.stderr     |  6 +++---
 .../tests/safeHaskell/flags/SafeFlags25.stderr     |  2 +-
 .../tests/safeHaskell/flags/SafeFlags26.stderr     |  4 ++--
 .../safeHaskell/overlapping/SH_Overlap11.stderr    | 23 +++++++++++-----------
 .../safeHaskell/overlapping/SH_Overlap7.stderr     | 23 +++++++++++-----------
 .../safeHaskell/safeInfered/SafeInfered05.stderr   |  2 +-
 .../safeHaskell/safeInfered/SafeWarn01.stderr      |  2 +-
 .../safeInfered/TrustworthySafe02.stderr           |  2 +-
 .../safeInfered/TrustworthySafe03.stderr           |  2 +-
 .../safeHaskell/safeInfered/UnsafeInfered11.stderr |  6 +++---
 .../safeHaskell/safeInfered/UnsafeInfered12.stderr |  4 ++--
 .../safeHaskell/safeInfered/UnsafeWarn01.stderr    |  4 ++--
 .../safeHaskell/safeInfered/UnsafeWarn02.stderr    |  2 +-
 .../safeHaskell/safeInfered/UnsafeWarn03.stderr    |  4 ++--
 .../safeHaskell/safeInfered/UnsafeWarn04.stderr    |  4 ++--
 .../safeHaskell/safeInfered/UnsafeWarn05.stderr    |  8 ++++----
 .../safeHaskell/safeInfered/UnsafeWarn06.stderr    |  4 ++--
 .../safeHaskell/safeInfered/UnsafeWarn07.stderr    |  4 ++--
 20 files changed, 65 insertions(+), 59 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 2ffd9b167a107a82fff42adb22d15b185d8b8757


More information about the ghc-commits mailing list