#2235: Bogus occurs check with type families
------------------------------+---------------------------------------------
Reporter: simonpj | Owner:
Type: bug | Status: closed
Priority: normal | Milestone: 6.10 branch
Component: Compiler | Version: 6.8.2
Severity: normal | Resolution: invalid
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown/Multiple
Os: Unknown/Multiple |
------------------------------+---------------------------------------------
Changes (by chak):
* status: new => closed
* resolution: => invalid
Comment:
We agreed that this
{{{
tailList :: (b ~ Flip (Flip b)) => List a b -> List a (Flip b)
}}}
is not the right signature.
The new solver doesn't produce the infinite-type error message, but the
usual one where it complains about not being able to instantiate a rigid
type.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2235#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs