crap, this breaks dcollections.  Not sure how this regression happened:

inout(int[]) foo(inout(int[]) x)
{
    const y = x;
    return x;
}


Error: cannot implicitly convert expression (x) of type inout(int[]) to 
const(int[])

inout should implicitly convert to const.  Kenji?

Sorry for the late entry...

-Steve


----- Original Message -----
> From: Walter Bright <[email protected]>
> To: Discuss the dmd beta releases for D <[email protected]>
> Cc: 
> Sent: Thursday, December 8, 2011 3:09 PM
> Subject: [dmd-beta] Last D beta 1.072 and 2.057
> 
> At least I hope it's the last one! Only disastrous issues will be fixed now.
> 
> http://ftp.digitalmars.com/dmd1beta.zip
> http://ftp.digitalmars.com/dmd2beta.zip
> _______________________________________________
> dmd-beta mailing list
> [email protected]
> http://lists.puremagic.com/mailman/listinfo/dmd-beta
> 
_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta

Reply via email to