digitalmars.D.bugs - [Issue 4314] New: Expression array1 && array2 doesn't compile
- d-bugmail puremagic.com (25/25) Jun 14 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4314
- d-bugmail puremagic.com (23/23) Jun 23 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4314
- d-bugmail puremagic.com (12/12) Jun 27 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4314
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
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: -------
Jun 14 2010
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
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: -------
Jun 23 2010
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
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: -------
Jun 27 2010









d-bugmail puremagic.com 