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 <[email protected]>:
> 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
_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta

Reply via email to