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


Byron Heads <bhe...@emich.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bhe...@emich.edu


--- Comment #1 from Byron Heads <bhe...@emich.edu> 2010-06-15 14:14:19 PDT ---
Same for dmd 2.047

It seems to be a problem with the goto.

The compile errors on this code:

struct foo {
        ~this() { throw new Exception( "BAD!" ); }
}

void bar() {}

nothrow void main()
{
        foo f;
        bar();
        goto STOP;
        STOP:;
}


Error: function D main 'main' is nothrow yet may throw

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

Reply via email to