[dmd-beta] Last D beta 1.072 and 2.057

kenji hara k.hara.pg at gmail.com
Thu Dec 8 14:20:45 PST 2011


Ouch! It is a regression caused by fix for issue 6912.
Now I'm testing a patch to fix it. Please wait a moment.

Kenji Hara

2011/12/9 Steve Schveighoffer <schveiguy at yahoo.com>:
> 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


More information about the dmd-beta mailing list