[Issue 14902] Temporaries in argument expressions not properly destructed on throw (argprefix)

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Aug 10 16:55:05 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14902

--- Comment #1 from kinke at gmx.net ---
I mixed up cases 2 & 3 - 2 is the one with the 2 throwing dtors, case 3 the one
with no throwing dtor.

Apparently there are different results on OSX with DMD 2.068-rc1: no
destruction of the single temporary in case 4, but at least no infinite loop in
case 5.

--


More information about the Digitalmars-d-bugs mailing list