[GHC] #6161: Program with missing instance accepted by compiler, program <<loops>>
GHC
cvs-ghc at haskell.org
Thu Oct 11 21:46:37 CEST 2012
#6161: Program with missing instance accepted by compiler, program <<loops>>
------------------------------------------+---------------------------------
Reporter: wlguest | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 7.4.1
Resolution: fixed | Keywords: loop
Os: Linux | Architecture: x86
Failure: GHC accepts invalid program | Difficulty: Unknown
Testcase: T6161 | Blockedby:
Blocking: | Related:
------------------------------------------+---------------------------------
Changes (by igloo):
* status: new => closed
* testcase: => T6161
* resolution: => fixed
Comment:
We now get a type error:
{{{
T6161.hs:29:12:
No instance for (Super (Fam Float)) arising from a use of `testDup'
In the expression: testDup (FamFloat 3.0)
In an equation for `testProg': testProg = testDup (FamFloat 3.0)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6161#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list