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

git at git.haskell.org git at git.haskell.org
Mon Feb 17 10:26:38 UTC 2014


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

On branch  : ghc-7.8
Link       : http://ghc.haskell.org/trac/ghc/changeset/b8e2b649e18984028ba82f99786b640578f9709f/ghc

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

commit b8e2b649e18984028ba82f99786b640578f9709f
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>
    (cherry picked from commit a8a01e742434df11b830ab99af12d9045dfcbc4b)


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

b8e2b649e18984028ba82f99786b640578f9709f
 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 b8e2b649e18984028ba82f99786b640578f9709f


More information about the ghc-commits mailing list