[GHC] #7633: Checkable "minimal complete definitions"
GHC
ghc-devs at haskell.org
Wed Sep 18 09:56:10 CEST 2013
#7633: Checkable "minimal complete definitions"
-------------------------------------+------------------------------------
Reporter: shachaf | Owner:
Type: feature request | Status: patch
Priority: normal | Milestone: 7.8.1
Component: Compiler | Version: 7.6.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets: #6028
-------------------------------------+------------------------------------
Comment (by Herbert Valerio Riedel <hvr@…>):
In [changeset:d72a4dc5d90ac4c32834a3bb00084252cbd042a3/testsuite]:
{{{
#!CommitTicketReference repository="testsuite"
revision="d72a4dc5d90ac4c32834a3bb00084252cbd042a3"
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>
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/7633#comment:29>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list