[Issue 1654] Array concatenation should result in mutable or invariant depending on usage

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Apr 27 06:18:28 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=1654



--- Comment #23 from Andrei Alexandrescu <andrei at erdani.com> 2013-04-27 06:18:26 PDT ---
(In reply to comment #22)
> (In reply to comment #21)
> 
> > It's obvious - magic is bad etc.
> 
> But array concat is a built-in op. So why is some magic bad here?

Because user-defined types would want to define it to behave similar as for
arrays. Also, http://goo.gl/AZLXo

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list