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


yebblies <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |EH, wrong-code
                 CC|                            |[email protected]


--- Comment #1 from yebblies <[email protected]> 2013-11-25 00:17:10 EST ---
class TestClass{}

mixin template test()
{
    scope var = new TestClass;
}

void main(){
    mixin test!();
}

The compiler wraps eh code around the var to run the destructor, and it looks
like it fails to restore esp correctly on exit.

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

Reply via email to