#3085: warn about language extensions that are not used
---------------------------------------------+------------------------------
Reporter: PVerswyvelen | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.10.1
Severity: normal | Resolution:
Keywords: warnings extensions language | Difficulty: Unknown
Testcase: | Os: Unknown/Multiple
Architecture: Unknown/Multiple |
---------------------------------------------+------------------------------
Changes (by simonmar):
* difficulty: => Unknown
Comment:
While I agree this would be very cool, it's very difficult to implement
and get right. In fact the only reasonable implementation I can think of
is to remove extensions one at a time and check whether the compilation
output was the same, but that ignores relationships between extensions
(e.g. it might be ok to remove both A and B, but not either A or B. I'm
not sure if we have any of those.)
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3085#comment:4>
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