[GHC] #7296: ghc-7 assumes incoherent instances without requiring language `IncoherentInstances`
GHC
cvs-ghc at haskell.org
Thu Oct 4 15:30:25 CEST 2012
#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
More information about the Glasgow-haskell-bugs
mailing list