[GHC] #11139: Add Semigroup warnings
#11139: Add Semigroup warnings -------------------------------------+------------------------------------- Reporter: quchen | Owner: Type: task | Status: new Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- Similar to #8004, do the following for Semigroup/Monoid: 1. Warn when an instance of a class has been given, but the type does not have a certain superclass instance 2. Warn when top-level definitions conflict with future Prelude names -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11139> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11139: Add Semigroup warnings -------------------------------------+------------------------------------- Reporter: quchen | Owner: Type: task | Status: patch Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1539 Wiki Page: | -------------------------------------+------------------------------------- Changes (by quchen): * status: new => patch * differential: => Phab:D1539 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11139#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11139: Add Semigroup warnings -------------------------------------+------------------------------------- Reporter: quchen | Owner: quchen Type: task | Status: patch Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1539 Wiki Page: | -------------------------------------+------------------------------------- Changes (by quchen): * owner: => quchen -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11139#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11139: Add Semigroup warnings -------------------------------------+------------------------------------- Reporter: quchen | Owner: quchen Type: task | Status: patch Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1539 Wiki Page: | -------------------------------------+------------------------------------- Changes (by quchen): * cc: ekmett (added) -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11139#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11139: Add Semigroup warnings -------------------------------------+------------------------------------- Reporter: quchen | Owner: quchen Type: task | Status: patch Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1539 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"290def72f54db7969258b4541aaefc87b54ce448/ghc" 290def72/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="290def72f54db7969258b4541aaefc87b54ce448" Implement warnings for Semigroups as parent of Monoid This patch is similar to the AMP patch (#8004), which offered two functions: 1. Warn when an instance of a class has been given, but the type does not have a certain superclass instance 2. Warn when top-level definitions conflict with future Prelude names These warnings are issued as part of the new `-Wcompat` warning group. Reviewers: hvr, ekmett, austin, bgamari Reviewed By: hvr, ekmett, bgamari Subscribers: ekmett, thomie Differential Revision: https://phabricator.haskell.org/D1539 GHC Trac Issues: #11139 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11139#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11139: Add Semigroup warnings -------------------------------------+------------------------------------- Reporter: quchen | Owner: quchen Type: task | Status: closed Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1539 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: patch => closed * resolution: => fixed Comment: Done. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11139#comment:5> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC