#2899: GADT type inference with existentials
----------------------------------------+-----------------------------------
Reporter: jochemb | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler (Type checker) | Version: 6.10.1
Severity: normal | Resolution: invalid
Keywords: GADT, existential types | Difficulty: Unknown
Testcase: | Os: Unknown/Multiple
Architecture: Unknown/Multiple |
----------------------------------------+-----------------------------------
Changes (by simonpj):
* status: new => closed
* difficulty: => Unknown
* resolution: => invalid
Comment:
This is by design, I'm afraid. See
*
http://haskell.org/haskellwiki/Upgrading_packages#Changes_to_GADT_matching
* http://www.haskell.org/ghc/docs/latest/html/users_guide/data-type-
extensions.html#gadt (last bullet)
The trouble with 6.8.2 is that while it would sometimes guess right, it
could also fail in an unpredictable way, so 6.10 is a bit more
conservative, but also a bit more predictable.
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2899#comment:2>
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