[dmd-beta] Last D beta 1.072 and 2.057

Steve Schveighoffer schveiguy at yahoo.com
Thu Dec 8 13:18:55 PST 2011


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 <walter at digitalmars.com>
> To: Discuss the dmd beta releases for D <dmd-beta at puremagic.com>
> 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
> dmd-beta at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta
> 


More information about the dmd-beta mailing list