dmd 2.057 release

Jacob Carlborg doob at me.com
Wed Dec 14 01:59:47 PST 2011


On 2011-12-14 08:05, Walter Bright wrote:
> Highlights are use of XMM floating point registers in 64 bit targets,
> and now supporting OS X 64 as a target.
>
> http://www.digitalmars.com/d/2.0/changelog.html
> http://ftp.digitalmars.com/dmd.2.057.zip
>
> A lot of people put a ton of effort into making this D's best release
> ever. Thanks!

What happened to arrays in this release:

void foo (Object[] a) {}
class Foo {}

void main ()
{
     Foo[] b;
     foo(b);
}

The above code fails with the following message:

main.d(54): Error: function main.foo (Object[] a) is not callable using 
argument types (Foo[])
main.d(54): Error: cannot implicitly convert expression (b) of type 
Foo[] to Object[]

Have I missed something, I can't find this in the changelog?

-- 
/Jacob Carlborg


More information about the Digitalmars-d-announce mailing list