[commit: testsuite] master: Update to new missing-method-decl warning style (d72a4dc)

git at git.haskell.org git at git.haskell.org
Wed Sep 18 09:56:14 CEST 2013


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

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

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

commit d72a4dc5d90ac4c32834a3bb00084252cbd042a3
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Tue Sep 17 23:57:42 2013 +0200

    Update to new missing-method-decl warning style
    
    As a side-effect, the new `{-# MINIMAL #-}` facility (see #7633) changes
    the existing separate warnings for each missing method declaration:
    
    {{{
    No explicit method or default declaration for ‛+’
    In the instance declaration for ‛Num T’
    }}}
    
    to a single warning per class of the following form:
    
    {{{
    No explicit implementation for
      ‛+’, ‛*’, ‛abs’, ‛signum’, and ‛fromInteger’
    In the instance declaration for ‛Num T’
    }}}
    
    This commit adapts the reference output files in the testsuite to follow
    this change in GHC's warnings messages.
    
    Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>


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

d72a4dc5d90ac4c32834a3bb00084252cbd042a3
 tests/indexed-types/should_compile/Class3.stderr  |    3 ++-
 tests/indexed-types/should_compile/Simple2.stderr |   21 ++++++--------------
 tests/parser/should_compile/T2245.stderr          |   22 ++++-----------------
 tests/parser/should_compile/read014.stderr-ghc    |   19 ++----------------
 tests/simplCore/should_compile/simpl020.stderr    |    7 ++-----
 tests/typecheck/should_compile/tc115.stderr-ghc   |    3 ++-
 tests/typecheck/should_compile/tc116.stderr-ghc   |    3 ++-
 tests/typecheck/should_compile/tc125.stderr-ghc   |   15 +++++++++-----
 tests/typecheck/should_compile/tc126.stderr-ghc   |    6 ++++--
 tests/typecheck/should_compile/tc161.stderr-ghc   |    3 ++-
 10 files changed, 36 insertions(+), 66 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 d72a4dc5d90ac4c32834a3bb00084252cbd042a3



More information about the ghc-commits mailing list