[Issue 8757] Require parenthesization of ternary operator when compounded

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8757 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 8757] Require parenthesization of ternary operator when compounded

2013-06-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8757 --- Comment #10 from Jonathan M Davis 2013-06-26 18:03:25 PDT --- > What evidence do you have to back your claim? My experience with the incredibly stupid stuff that Visual Studio likes to complain about. My favorite example would be converti

[Issue 8757] Require parenthesization of ternary operator when compounded

2013-06-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8757 --- Comment #9 from bearophile_h...@eml.cc 2013-06-26 14:01:57 PDT --- (In reply to comment #8) > Visual Studio is one of the worst compilers I've ever seen with regards to > warnings. It has tons of annoying, useless warnings which don't help

[Issue 8757] Require parenthesization of ternary operator when compounded

2013-06-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8757 --- Comment #8 from Jonathan M Davis 2013-06-26 11:33:36 PDT --- Visual Studio is one of the worst compilers I've ever seen with regards to warnings. It has tons of annoying, useless warnings which don't help one whit, forcing you to shut them

[Issue 8757] Require parenthesization of ternary operator when compounded

2013-06-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8757 --- Comment #7 from bearophile_h...@eml.cc 2013-06-26 10:58:41 PDT --- The Visual Studio 2012 warning: http://msdn.microsoft.com/en-us/library/ms182085.aspx -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ---

[Issue 8757] Require parenthesization of ternary operator when compounded

2013-01-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8757 Dicebot changed: What|Removed |Added CC||m.stras...@gmail.com --- Comment #6 from Dic

[Issue 8757] Require parenthesization of ternary operator when compounded

2013-01-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8757 --- Comment #5 from bearophile_h...@eml.cc 2013-01-19 01:28:20 PST --- (In reply to comment #4) > I don't care if it solves half the bugs involving ternary operators that ever > happen. So you are saying that data in language design should be i

[Issue 8757] Require parenthesization of ternary operator when compounded

2013-01-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8757 --- Comment #4 from Jonathan M Davis 2013-01-19 01:08:50 PST --- I don't care if it solves half the bugs involving ternary operators that ever happen. You're suggesting that we force programmers to format their code in a particular way, and I

[Issue 8757] Require parenthesization of ternary operator when compounded

2013-01-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8757 --- Comment #3 from bearophile_h...@eml.cc 2013-01-19 00:56:52 PST --- (In reply to comment #2) > Any and all operators are bug-prone if you don't understand or remember their > precedence rules. If you want the extra protection against preceden

[Issue 8757] Require parenthesization of ternary operator when compounded

2013-01-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8757 Jonathan M Davis changed: What|Removed |Added CC||jmdavisp...@gmx.com --- Comment #2

[Issue 8757] Require parenthesization of ternary operator when compounded

2012-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8757 --- Comment #1 from bearophile_h...@eml.cc 2012-10-21 10:22:51 PDT --- From: http://www.viva64.com/en/examples-V502/ Some bugs caused by ternary operator usage in already tested and used code of professionally-managed projects. ---