[GHC] #11369: Suppress redundant-constraint warnings in case of empty classes
GHC
ghc-devs at haskell.org
Thu Jan 7 08:23:52 UTC 2016
#11369: Suppress redundant-constraint warnings in case of empty classes
-------------------------------------+-------------------------------------
Reporter: hvr | Owner: simonpj
Type: bug | Status: new
Priority: highest | Milestone: 8.0.1
Component: Compiler (Type | Version: 8.1
checker) |
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by edsko):
We could probably work around this by adding a dummy class method in
`Throws` and call that in `throwChecked`.
(But I think there are other use cases of method-less classes out there in
the wild :)
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11369#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list