#2498: RULES pragma broken in the head
------------------------+---------------------------------------------------
    Reporter:  rl       |       Owner:          
        Type:  bug      |      Status:  new     
    Priority:  normal   |   Component:  Compiler
     Version:  6.9      |    Severity:  normal  
    Keywords:           |    Testcase:          
Architecture:  Unknown  |          Os:  Unknown 
------------------------+---------------------------------------------------
 This module:

 {{{
 module Foo where
 {-# RULES "id" forall x. id x = x #-}
 }}}

 compiles fine with 6.8.3 but the HEAD says (twice):

 {{{
 Foo.hs:2:0: Unrecognised pragma
 }}}

 Adding `-frewrite-rules` has no effect. But with `-XRank2Types`, it
 compiles fine for some reason.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2498>
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

Reply via email to