#2213: -Wall incorrectly warns "Defined but not used" for functions exported via
RULES
-------------------------+--------------------------------------------------
Reporter: dons | Owner: dons
Type: bug | Status: assigned
Priority: normal | Milestone:
Component: Compiler | Version: 6.8.2
Severity: normal | Resolution:
Keywords: | Testcase:
Architecture: Unknown | Os: Unknown
-------------------------+--------------------------------------------------
Changes (by dons):
* status: new => assigned
* owner: => dons
Comment:
Ah, worked this one out.
`-fglasgow-exts` is needed to enable rules, otherwise they're considered
comments. (Hence the type error in this rule is silently ignored).
Note however, strangely, `-frewrite-rules` *doesn't* fix this.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2213#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