Thread overview | |||||
---|---|---|---|---|---|
|
August 22, 2010 [Issue 4711] New: Incorrect handling of && operator with void operand | ||||
---|---|---|---|---|
| ||||
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 --- Comment #0 from Ersin Er <ersin.er@gmail.com> 2010-08-22 02:51:37 PDT --- 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: ------- |
February 06, 2011 [Issue 4711] Incorrect handling of && operator with void operand | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ersin Er | http://d.puremagic.com/issues/show_bug.cgi?id=4711 Brad Roberts <braddr@puremagic.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Platform|x86_64 |x86 --- Comment #1 from Brad Roberts <braddr@puremagic.com> 2011-02-06 15:40:27 PST --- 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: ------- |
December 28, 2011 [Issue 4711] Incorrect handling of && operator with void operand | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ersin Er | 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 --- Comment #2 from Walter Bright <bugzilla@digitalmars.com> 2011-12-28 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: ------- |
Copyright © 1999-2021 by the D Language Foundation