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



--- Comment #5 from Andrei Alexandrescu <[email protected]> 2013-07-12 14:17:12 
PDT ---
Pasting the additional example here for reference:

import std.stdio;

struct S1 { 
    this(int) { writeln("constructed"); } 
    ~this() { writeln("destroyed"); } 
}
struct S2 { this(int) { throw new Exception("a"); } }

void fun(S1, S2, S1) {}

void main()
{
    fun(S1(2), S2(2), S1(2));
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the issue.

Reply via email to