#2307: Poor warning for conflicting functional dependencies
-----------------------------------------+----------------------------------
Reporter: NeilMitchell | Owner:
Type: bug | Status: closed
Priority: normal | Milestone: 6.10 branch
Component: Compiler | Version: 6.8.2
Severity: normal | Resolution: fixed
Keywords: | Difficulty: Unknown
Testcase: typecheck/should_fail/T2307 | Architecture: Unknown
Os: Unknown |
-----------------------------------------+----------------------------------
Changes (by simonpj):
* testcase: => typecheck/should_fail/T2307
* status: new => closed
* resolution: => fixed
Comment:
Excellent, thanks for refining the test case. That made it easy.
In fact, nubbing is the right thing, because `FunDeps.badFunDeps` looks
through the fundeps one by one; in this case there are two, and the same
instance conflicts with both.
Fixed by
{{{
Tue Jul 1 17:58:30 BST 2008 [EMAIL PROTECTED]
* Fix Trac #2307: need to nub bad fundep reports
}}}
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2307#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