OK,

Gets past that part, but it still fails in a spot where I think it should 
pass.  example code:

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


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

Since I can convert immutable(int)[] to immutable(int[]), I should be able to 
do the same with inout.

-Steve



----- Original Message -----
> From: kenji hara <[email protected]>
> To: Steve Schveighoffer <[email protected]>; Discuss the dmd beta releases 
> for D <[email protected]>
> Cc: 
> Sent: Thursday, December 8, 2011 5:35 PM
> Subject: Re: [dmd-beta] Last D beta 1.072 and 2.057
> 
> Posted.
> https://github.com/D-Programming-Language/dmd/pull/550
> 
> Kenji Hara
> 
> 2011/12/9 kenji hara <[email protected]>:
>>  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