#1318: add warning for prefix negate operator and flag to replace it with
negative
numeric literals
----------------------------------+-----------------------------------------
Reporter: Isaac Dupree | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: _|_
Component: Compiler (Parser) | Version: 6.6.1
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Os: Unknown | Testcase:
Architecture: Unknown |
----------------------------------+-----------------------------------------
Changes (by Isaac Dupree):
* milestone: 6.8 => _|_
* owner: Isaac Dupree =>
Comment:
Work here is pending a specific proposal of what to implement, that there
is consensus on. I'm not sure exactly what I want, and (given how my
summer is turning out) I'm not really feeling up to making proposals for
that. Anyone who wants this pursued further should do so (at which point
I might implement that).
Well, there is one thing {{{-fwarn-all-unary-minus}}} that seems
straightforward enough, if anyone else hates their semantics as well as
syntax that much?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1318>
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