https://issues.dlang.org/show_bug.cgi?id=7318
Iain Buclaw changed:
What|Removed |Added
Priority|P2 |P4
--
http://d.puremagic.com/issues/show_bug.cgi?id=7318
--- Comment #5 from timon.g...@gmx.ch 2012-01-20 07:23:55 PST ---
(In reply to comment #4)
(In reply to comment #2)
To further back up my point, this compiles, and it is not a bug:
void main(){
auto a = [new Object()];
auto
http://d.puremagic.com/issues/show_bug.cgi?id=7318
--- Comment #6 from Andrei Alexandrescu and...@metalanguage.com 2012-01-20
07:43:29 PST ---
I could use a template to do the job:
ref A[] append(A,B)(ref A[] x, B[] y) if(is(B:A)) {
foreach(e; y){
x.length++;
x[$-1]
http://d.puremagic.com/issues/show_bug.cgi?id=7318
--- Comment #7 from Steven Schveighoffer schvei...@yahoo.com 2012-01-20
07:50:06 PST ---
(In reply to comment #6)
I could use a template to do the job:
ref A[] append(A,B)(ref A[] x, B[] y) if(is(B:A)) {
foreach(e; y){
http://d.puremagic.com/issues/show_bug.cgi?id=7318
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=7318
timon.g...@gmx.ch changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Resolution|INVALID
http://d.puremagic.com/issues/show_bug.cgi?id=7318
Andrei Alexandrescu and...@metalanguage.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=7318
Steven Schveighoffer schvei...@yahoo.com changed:
What|Removed |Added
CC|