Ticket #1825 (closed merge: fixed)
standalone deriving for typeable fails
| Reported by: | jpbernardy | Owned by: | igloo |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.8.2 |
| Component: | Compiler | Version: | 6.8.1 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | Difficulty: | Unknown | |
| Test Case: | drvail014, drv021 | Blocked By: | |
| Blocking: | Related Tickets: |
Description
import Data.Typeable data D a = C1 a | C2 (D a) deriving instance Typeable a => Typeable (D a) -- deriving Typeable x = show $ typeOf (undefined::D Int) main = print x
yields:
[1 of 1] Compiling Main ( T.hs, T.o )
ghc-6.8.1: panic! (the 'impossible' happened)
(GHC version 6.8.1 for i386-unknown-linux):
No match in record selector Var.tcTyVarDetails
Change History
Note: See
TracTickets for help on using
tickets.
