Only at separate compilation: Conflicting family instance declarations
Take the following class:
class C a where
type B a
Then the following instances only throw «Conflicting family instance declarations», if compiled separately:
instance C a where
type B a = X a
instance C (Int,a) where
type B (Int,a) = X a
Cheers,
Dorinho
Trac metadata
Trac field | Value |
---|---|
Version | 6.10.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |