[Issue 5212] no escape analysis for typesafe variadic function arguments

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Dec 1 11:20:53 PST 2013


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



--- Comment #15 from Martin Nowak <code at dawg.eu> 2013-12-01 11:20:47 PST ---
Yes, they should be made scope. The specs already say something similar.

> An implementation may construct the object or array instance on the stack. Therefore, it is an error to refer to that instance after the variadic function has returned

> But even if this will work, currently scope is not well implemented.

Yes, we're missing escape analysis but that's no argument for implicit heap
copies.

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


More information about the Digitalmars-d-bugs mailing list