Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
June 14, 2010 [Issue 4314] New: Expression array1 && array2 doesn't compile | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=4314 Summary: Expression array1 && array2 doesn't compile Product: D Version: D1 & D2 Platform: Other OS/Version: All Status: NEW Keywords: rejects-valid Severity: regression Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: nfxjfg@gmail.com --- Comment #0 from nfxjfg@gmail.com 2010-06-14 13:28:22 PDT --- This stopped working in dmd 1.062 (maybe also affects D2): void main() { int[] a, b; if (a && b) {} } rt.d(3): Error: Array operation a && b not implemented This prevents compilation of at least one (Linux specific) module with Tango (in Tango trunk). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 23, 2010 [Issue 4314] Expression array1 && array2 doesn't compile | ||||
---|---|---|---|---|
| ||||
Posted in reply to nfxjfg@gmail.com | http://d.puremagic.com/issues/show_bug.cgi?id=4314 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch CC| |clugdbug@yahoo.com.au --- Comment #1 from Don <clugdbug@yahoo.com.au> 2010-06-23 00:14:49 PDT --- This one is trivial. PATCH: e2ir.c, BinExp::toElemBin(), line 2000. ---------- if ((tb1->ty == Tarray || tb1->ty == Tsarray) && (tb2->ty == Tarray || tb2->ty == Tsarray) && - op != OPeq + op != OPeq && op != OPandand && op != OPoror ) { error("Array operation %s not implemented", toChars()); return el_long(type->totym(), 0); // error recovery } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 27, 2010 [Issue 4314] Regression(1.062): Expression array1 && array2 doesn't compile | ||||
---|---|---|---|---|
| ||||
Posted in reply to nfxjfg@gmail.com | http://d.puremagic.com/issues/show_bug.cgi?id=4314 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> 2010-06-27 15:59:34 PDT --- http://www.dsource.org/projects/dmd/changeset/561 -- 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