digitalmars.D.bugs - [Issue 4711] New: Incorrect handling of && operator with void operand
- d-bugmail puremagic.com (22/22) Aug 22 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4711
- d-bugmail puremagic.com (11/11) Feb 06 2011 http://d.puremagic.com/issues/show_bug.cgi?id=4711
- d-bugmail puremagic.com (13/13) Dec 28 2011 http://d.puremagic.com/issues/show_bug.cgi?id=4711
http://d.puremagic.com/issues/show_bug.cgi?id=4711 Summary: Incorrect handling of && operator with void operand Product: D Version: D2 Platform: x86_64 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: ersin.er gmail.com The following code compiles and outputs "1 = 1" as expected when executed: 1 == 1 && writeln("1 = 1"); However, the following code fails to compile (although it should not): 1 == 2 && writeln("1 = 2"); The compiler error is as follows: Error: integral constant must be scalar type, not void -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 22 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4711 Brad Roberts <braddr puremagic.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Platform|x86_64 |x86 --- Mass migration of bugs marked as x86-64 to just x86. The platform run on isn't what's relevant, it's if the app is a 32 or 64 bit app. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 06 2011
http://d.puremagic.com/issues/show_bug.cgi?id=4711 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |FIXED 10:26:06 PST --- https://github.com/D-Programming-Language/dmd/commit/e2fb2c9ac6df703d96c7981233702ebb4d920198 https://github.com/D-Programming-Language/dmd/commit/48faf09fcdab6a654da8c52e4b26be32b2e5ffd1 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 28 2011