#3927: Incomplete/overlapped pattern warnings + GADTs = inadequate
---------------------------------+------------------------------------------
Reporter: simonpj | Owner: simonpj
Type: bug | Status: new
Priority: high | Milestone: 6.14.1
Component: Compiler | Version: 6.12.1
Keywords: | Difficulty:
Os: Unknown/Multiple | Testcase:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Changes (by igloo):
* owner: => simonpj
Comment:
See #4139 for a tricker case of the same problem.
Simon, I'm assigning the ticket to you as I think you're working on the
inference engine at the moment.
Incidentally, in 6.13.20100617 this fails with:
{{{
Pattern signature must exactly match: T a
In the pattern: T1 :: T Int
In the definition of `f2': f2 T1 (T1 :: T Int) = True
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3927#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