digitalmars.D.bugs - [Issue 3626] New: alias this prevents appending to array
- d-bugmail puremagic.com (25/25) Dec 17 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3626
- d-bugmail puremagic.com (15/15) Feb 01 2012 http://d.puremagic.com/issues/show_bug.cgi?id=3626
http://d.puremagic.com/issues/show_bug.cgi?id=3626 Summary: alias this prevents appending to array Product: D Version: 2.036 Platform: Other OS/Version: Mac OS X Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: michel.fortin michelf.com 13:36:20 EST --- The following doesn't compile: struct S { int member; alias member this; } void test() { S[] s; s ~= S(); // Error: cannot append type int to type S[] } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 17 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3626 yebblies <yebblies gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |yebblies gmail.com Platform|Other |All Version|2.036 |D2 Resolution| |FIXED OS/Version|Mac OS X |All This works with the current compiler (2.058) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 01 2012