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



--- Comment #5 from David Simcha <dsim...@yahoo.com> 2011-10-13 11:37:07 PDT ---
Even more thoroughly reduced test case:

void main()
{
    auto foo = Indexed([1.0f, 2, 3], [1, 2, 3]);
}

@property ref T front(T)(T[] a)
{
    return a[0];
}

struct Indexed
{
    float[] _source;
    int[] _indices;

    @property float front(float newVal)
    {
        return _source[_indices.front] = newVal;
    }

}

$ dmd test.d -release
Internal error: ../ztc/cg87.c 202

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

Reply via email to