[commit: ghc] master: Warn for Safe Haskell when -XOverlappingInstances or -XIncoherentInstances turned on. (f4ead30)

git at git.haskell.org git at git.haskell.org
Thu Nov 6 19:20:57 UTC 2014


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

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

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

commit f4ead30b96aa8faaf4d23815cc32f7adfadd28df
Author: David Terei <code at davidterei.com>
Date:   Mon Aug 4 17:43:09 2014 -0400

    Warn for Safe Haskell when -XOverlappingInstances or
    -XIncoherentInstances turned on.


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

f4ead30b96aa8faaf4d23815cc32f7adfadd28df
 compiler/main/DynFlags.hs                          | 43 ++++++++++++++++------
 compiler/typecheck/TcInstDcls.lhs                  |  3 +-
 .../safeHaskell/safeInfered/UnsafeInfered16.hs     |  2 +-
 .../safeHaskell/safeInfered/UnsafeInfered16.stderr |  2 +-
 .../safeHaskell/safeInfered/UnsafeInfered17.hs     |  2 +-
 .../safeHaskell/safeInfered/UnsafeInfered17.stderr |  2 +-
 .../safeHaskell/safeInfered/UnsafeInfered18.hs     | 11 ++++++
 .../safeHaskell/safeInfered/UnsafeInfered18.stderr | 11 ++++++
 .../{UnsafeInfered14.hs => UnsafeInfered19.hs}     |  5 ++-
 .../safeHaskell/safeInfered/UnsafeInfered19.stderr | 11 ++++++
 testsuite/tests/safeHaskell/safeInfered/all.T      |  2 +
 11 files changed, 74 insertions(+), 20 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 f4ead30b96aa8faaf4d23815cc32f7adfadd28df


More information about the ghc-commits mailing list