[Issue 3395] Ambiguous array operations

2018-05-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3395 Dmitry Olshansky changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 3395] Ambiguous array operations

2014-09-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3395 --- Comment #6 from Sobirari Muhomori dfj1es...@sneakemail.com --- (In reply to Stewart Gordon from comment #4) Brainstorming a few possibilities: y[] = max(x[2..12]); // (1) looks like scalar assignment y[] = max[2..12](x); // (2)

[Issue 3395] Ambiguous array operations

2011-11-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3395 Don clugd...@yahoo.com.au changed: What|Removed |Added CC||clugd...@yahoo.com.au ---

[Issue 3395] Ambiguous array operations

2011-11-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3395 --- Comment #4 from Stewart Gordon s...@iname.com 2011-11-30 03:02:18 PST --- (In reply to comment #3) (In reply to comment #2) (In reply to comment #0) These expressions are ambiguous: --- a[].max(n); a[1..4].max(n); ---

[Issue 3395] Ambiguous array operations

2011-11-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3395 --- Comment #5 from Don clugd...@yahoo.com.au 2011-11-30 23:03:41 PST --- Consider the case where we want y to be [ max(x[2][0..$]), max(x[3][0..$]), ... ] double [][20] x; double [10] y; Brainstorming a few possibilities:

[Issue 3395] Ambiguous array operations

2011-11-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3395 Stewart Gordon s...@iname.com changed: What|Removed |Added CC||s...@iname.com ---

[Issue 3395] Ambiguous array operations

2009-10-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3395 --- Comment #1 from Sobirari Muhomori dfj1es...@sneakemail.com 2009-10-14 01:31:43 PDT --- This also has to do with type safety. --- a[]=b[]; --- This expression is ambiguous. What was meant? Copy items from b[] slice to a[] slice or assign