#7296: ghc-7 assumes incoherent instances without requiring language
`IncoherentInstances`
-----------------------------------------+----------------------------------
 Reporter:  maeder                       |          Owner:                  
     Type:  bug                          |         Status:  new             
 Priority:  normal                       |      Component:  Compiler        
  Version:  7.6.1                        |       Keywords:                  
       Os:  Unknown/Multiple             |   Architecture:  Unknown/Multiple
  Failure:  GHC accepts invalid program  |       Testcase:                  
Blockedby:                               |       Blocking:                  
  Related:                               |  
-----------------------------------------+----------------------------------

Comment(by maeder):

 I meant, one may wish that a and b returned equal results, namely that a
 returned "[]" by using the more special instance of Spec2 in the instance
 definition of Spec1.

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

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to