On 16.06.2010 11:39, Lars T. Kyllingstad wrote:
On Wed, 16 Jun 2010 10:04:05 +0200, Stephan wrote:
Btw. I downloaded the new dmd(2047) and tried to use this new Array
template. But it does not seem to work:

import std.container;

void main()
{
        Array!(int) a;
}

//src\phobos\std\container.d(1660): Error: function
core.stdc.stdlib.free (void* ptr) is not callable using argument types
(int[])
//src\phobos\std\container.d(1660): Error: cannot implicitly convert
expression ((*this._data)._payload) of type int[] to void*


is it my fault? does anyone else have this problem?

It's a bug (and a strange one at that).  I've checked in a fix, see:

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

-Lars

thanks for that, i hope its in the next release.

Reply via email to