
#1318: add warning for prefix negate operator and flag to replace it with negative numeric literals -------------------------------------+------------------------------------- Reporter: Isaac Dupree | Owner: (none) Type: feature request | Status: closed Priority: normal | Milestone: ⊥ Component: Compiler | Version: 6.6.1 (Parser) | Resolution: wontfix | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Incorrect | Unknown/Multiple warning at compile-time | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => closed * resolution: => wontfix Comment: We have `-XNegativeLiterals` now but I don't think that removing the `-` operator is going to happen at this point. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/1318#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler