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


Denis <verylonglogin....@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


--- Comment #2 from Denis <verylonglogin....@gmail.com> 2012-01-01 10:59:25 MSK 
---
If an argument is added to `f` with head commit (227769c4):
Assertion failure: '((ArrayLiteralExp *)se->e1)->ownedByCtfe' on line 6307 in
file 'interpret.c'
---
int[] f(int) { return [0]; }

int g(int[] r)
{
    auto t = r[0..0];
    return 0;
}

static assert(g(f(0)) == 0);
---

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

Reply via email to