#5032: putting left equation sides in parantheses causes GHC.Prim.Any
specialization
---------------------------+------------------------------------------------
Reporter: jeltsch | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 6.12.1
Resolution: wontfix | Keywords:
Testcase: | Blockedby:
Difficulty: | Os: Linux
Blocking: | Architecture: x86_64 (amd64)
Failure: None/Unknown |
---------------------------+------------------------------------------------
Changes (by igloo):
* status: new => closed
* resolution: => wontfix
Comment:
It'll work if you use `-XNoMonoPatBinds`; see
http://www.haskell.org/ghc/docs/7.0-latest/html/users_guide/monomorphism.html#id561331
for more details.
Technically it's a bug, as `MonoPatBinds` isn't standard, but it's a
deliberate bug, so I'll close as won't-fix.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5032#comment:1>
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