digitalmars.D.bugs - [Issue 2988] New: Chain needs opIndexAssign.
- d-bugmail puremagic.com (30/30) May 15 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2988
- d-bugmail puremagic.com (9/9) Aug 27 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2988
http://d.puremagic.com/issues/show_bug.cgi?id=2988 Summary: Chain needs opIndexAssign. Product: D Version: 2.030 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: bugzilla digitalmars.com ReportedBy: dsimcha yahoo.com import std.range; void main() { uint[] foo = [1,2,3,4,5]; uint[] bar = [1,2,3,4,5]; auto c = chain(foo, bar); c[3] = 3; } Errors: test7.d(7): Error: operator [] assignment overload with opIndex(i, value) illegal, use opIndexAssign(value, i) test7.d(7): Error: function std.range.ChainImpl!(uint[],uint[]).ChainImpl.opIndex (uint index) does not match parameter types (int,int) test7.d(7): Error: expected 1 arguments, not 2 for non-variadic function type ref uint(uint index) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 15 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2988 Andrei Alexandrescu <andrei metalanguage.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: -------
Aug 27 2009