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


kenn...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
            Summary|CTFE: Assertion Failure in  |[CTFE] Assertion Failure in
                   |interpret.c                 |interpret.c when create an
                   |                            |empty slice from null
                   |                            |pointer


--- Comment #2 from kenn...@gmail.com 2011-07-18 13:16:45 PDT ---
Ultimate cause: create an empty slice from a 'null' pointer.

----------------------
static assert({
    char* c = null;
    auto m = c[0..0];
    return true;
}());
----------------------

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

Reply via email to