#5973: Rewrite rule not firing for typeclass
------------------------------+---------------------------------------------
Reporter: SamAnklesaria | Owner: SamAnklesaria
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.4.1 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Testcase:
Blockedby: | Blocking:
Related: |
------------------------------+---------------------------------------------
Comment(by michalt):
Thanks for reporting! However, I can't reproduce this. For HEAD I get:
{{{
> ~/dev/ghc-clean/inplace/bin/ghc-stage2 -rtsopts Test.hs
[1 of 1] Compiling RewriteProblems ( Test.hs, Test.o )
Rule fired: rewrite/static
Rule fired: rewrite/class
}}}
and for GHC 7.4.1:
{{{
> ghc -rtsopts Test.hs
[1 of 1] Compiling RewriteProblems ( Test.hs, Test.o )
Rule fired: rewrite/static
Rule fired: rewrite/class
}}}
So both rules fire. Have you tested with GHC 7.4 or HEAD?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5973#comment:3>
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