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



--- Comment #1 from Sobirari Muhomori <dfj1es...@sneakemail.com> 2010-11-13 
12:27:42 PST ---
> Just adding a dup inside the this() avoids the bug. Also, the bug is avoided 
> if
> Foo receives arguments like this:
> 
> Foo foo() {
>     return new Foo([1, 2, 3]);
> }

Is it valid to pass them byref here?
It's a nice performance trick, but... shouldn't arguments be on the stack?

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

Reply via email to