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



--- Comment #3 from bearophile_h...@eml.cc 2010-12-21 00:22:23 PST ---
(In reply to comment #2)

> > void main() {
> >     Foo f1 = scoped!Foo();  // doesn't call dtor after the scope
> >     auto f2 = scoped!Foo(); // calls dtor after the scope
> > }
> 
> This example (and the first half of this bug report) appears to be a duplicate
> of bug http://d.puremagic.com/issues/show_bug.cgi?id=3516

But both f1 and f2 gets assigned. I don't fully understand issue 3516 so I
can't tell.

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

Reply via email to