digitalmars.D.bugs - [Issue 9385] New: [Reresison 2.057] null literal should be implicitly convertible to bool
- d-bugmail puremagic.com Jan 24 2013
- d-bugmail puremagic.com Jan 24 2013
- d-bugmail puremagic.com Jan 25 2013
- d-bugmail puremagic.com Jan 27 2013
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 --- Comment #0 from Kenji Hara <k.hara.pg gmail.com> 2013-01-24 05:27:32 PST --- 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 --- Comment #1 from Kenji Hara <k.hara.pg gmail.com> 2013-01-24 05:46:25 PST --- 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 --- Comment #2 from github-bugzilla puremagic.com 2013-01-25 00:07:56 PST --- 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 Merge pull request #1545 from 9rnsr/fix9385 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









d-bugmail puremagic.com 