digitalmars.D.bugs - [Issue 9385] New: [Reresison 2.057] null literal should be implicitly convertible to bool
- d-bugmail puremagic.com (26/26) Jan 24 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9385
- d-bugmail puremagic.com (14/14) Jan 24 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9385
- d-bugmail puremagic.com (13/13) Jan 25 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9385
- d-bugmail puremagic.com (9/9) Jan 27 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9385
http://d.puremagic.com/issues/show_bug.cgi?id=9385 Summary: [Reresison 2.057] null literal should be implicitly convertible to bool Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: regression Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: k.hara.pg gmail.com This code should work. void main() { assert((null ? true : false) == false); if (null) assert(0); assert(!null); } This regression is introduced from 2.057, by fixing issue 5416. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 24 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9385 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull Summary|[Reresison 2.057] null |[Regression 2.057] null |literal should be |literal should be |implicitly convertible to |implicitly convertible to |bool |bool https://github.com/D-Programming-Language/dmd/pull/1545 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 24 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9385 Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/849b6df852843975c2f8238deab6aeea729f9914 fix Issue 9385 - [Regression 2.057] null literal should be implicitly convertible to bool https://github.com/D-Programming-Language/dmd/commit/f1738a00e9ecb09cbfeff8d07971a5485866e6f9 Issue 9385 - [Regression 2.057] null literal should be implicitly convertible to bool -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 25 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9385 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 27 2013