[GHC] #10684: Error cascade when unrelated class derivation fails
GHC
ghc-devs at haskell.org
Wed Nov 2 15:48:50 UTC 2016
#10684: Error cascade when unrelated class derivation fails
-------------------------------------+-------------------------------------
Reporter: ezyang | Owner:
Type: bug | Status: new
Priority: low | Milestone:
Component: Compiler (Type | Version: 7.11
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: |
-------------------------------------+-------------------------------------
Changes (by RyanGlScott):
* cc: RyanGlScott (added)
Comment:
Since all datatypes now have `Typeable` derived implicitly, here's a
modern version of this bug:
{{{#!hs
module A where
import GHC.Generics
data A = A deriving (Show, Generic)
data B = B A deriving (Show)
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10684#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list