--- Comment #1 from Shin Fujishiro <>  2009-06-04 15:37:11 PDT 
Created an attachment (id=391)
 --> (
Additional patch

Please apply this patch in addition to the first one. The first one allowed
this problematic code:
Exception foo()
    Exception r;
        throw new Exception("error");
    catch (Exception e)
        r = e;
    return r;
enum Exception e = foo();

This patch fix the first patch so that a CTFE exception object cannot be used
as a usual object. The only allowed use of a CTFE exception object is this:
catch (Exception e) { throw e; }

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to