[commit: ghc] master: Fix #8745 - GND is now -XSafe compatible. (a8a01e7)

git at git.haskell.org git at git.haskell.org
Mon Feb 17 07:48:59 UTC 2014


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

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

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

commit a8a01e742434df11b830ab99af12d9045dfcbc4b
Author: Austin Seipp <austin at well-typed.com>
Date:   Sun Feb 16 19:14:36 2014 -0600

    Fix #8745 - GND is now -XSafe compatible.
    
    As discussed in the ticket, after the landing of #8773, GND is now
    -XSafe compatible.
    
    This fixes the test fallout as well. In particular SafeLang07 was
    removed following in the steps of SafeLang06, since it no longer failed
    from GND, but failed due to roles and was thus invalid.
    
    The other tests were tweaked to use TemplateHaskell instead of GND in
    order to trigger safety warnings.
    
    Signed-off-by: Austin Seipp <austin at well-typed.com>


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

a8a01e742434df11b830ab99af12d9045dfcbc4b
 compiler/main/DynFlags.hs                          |    5 +--
 testsuite/tests/safeHaskell/ghci/p1.stderr         |    3 --
 testsuite/tests/safeHaskell/ghci/p16.stderr        |   15 -------
 testsuite/tests/safeHaskell/ghci/p16.stdout        |    1 +
 .../safeHaskell/safeInfered/UnsafeInfered03_A.hs   |    2 +-
 .../tests/safeHaskell/safeLanguage/SafeLang02.hs   |    2 +-
 .../safeHaskell/safeLanguage/SafeLang02.stderr     |    2 +-
 .../tests/safeHaskell/safeLanguage/SafeLang07.hs   |   41 --------------------
 .../safeHaskell/safeLanguage/SafeLang07.stderr     |    7 ----
 .../tests/safeHaskell/safeLanguage/SafeLang07_A.hs |   24 ------------
 testsuite/tests/safeHaskell/safeLanguage/all.T     |    7 ++--
 11 files changed, 8 insertions(+), 101 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 a8a01e742434df11b830ab99af12d9045dfcbc4b


More information about the ghc-commits mailing list