[GHC] #565: overlapping instances & fundeps broken

GHC trac at galois.com
Tue Nov 17 11:20:29 EST 2009


#565: overlapping instances & fundeps broken
--------------------------------------+-------------------------------------
  Reporter:  ashley-y                 |          Owner:                  
      Type:  bug                      |         Status:  new             
  Priority:  low                      |      Milestone:  _|_             
 Component:  Compiler (Type checker)  |        Version:  5.00            
Resolution:  None                     |       Keywords:                  
Difficulty:  Unknown                  |             Os:  Unknown/Multiple
  Testcase:                           |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown             |  
--------------------------------------+-------------------------------------
Changes (by ganesh):

  * failure:  => None/Unknown

Comment:

 The problem with all these examples is that someone (in another module)
 add {{{instance Num Bool}}}, and now the instances really do overlap, and
 the fundep is violated.

 So I think this bug should be closed as invalid.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/565#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list