[dmd-beta] Last (really, this time I mean it!) D2 beta 2.057

kenji hara k.hara.pg at gmail.com
Fri Dec 9 02:57:20 PST 2011


Posted...
https://github.com/D-Programming-Language/dmd/pull/551

Kenji Hara

2011/12/9 kenji hara <k.hara.pg at gmail.com>:
> Sorry, I cannot fix the regressions correctly in short. Because it is
> bigger than I've thought.Sadly, I think we should revert changes for
> 6912 to erase regressions.This way reopens 6912.
>
> Kenji Hara
> 2011/12/9 Steve Schveighoffer <schveiguy at yahoo.com>:
>> Still fails my latest mentioned regression:
>>
>> inout(int[]) foo(inout(int)[] x)
>> {
>>     return x;
>> }
>>
>>
>> Error: cannot implicitly convert expression (x) of type inout(int)[] to inout(int[])
>>
>>
>> Given that inout is relatively new to the implementation, I'm not sure how much existing code this breaks.  It certainly breaks dcollections, but I can just instruct people not to use 2.057, and I haven't done a beta release of it since I added the inout decorations.
>>
>> So it might not be horrible if this goes out.  There is a valid workaround (use a blunt cast).
>>
>> Again, sorry for the last-minute testing.  I've been busy with work lately.
>>
>> -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 9:47 PM
>>> Subject: [dmd-beta] Last (really, this time I mean it!) D2 beta 2.057
>>>
>>> Includes Kenji's fix (thanks for the super quick response!)
>>>
>>> http://ftp.digitalmars.com/dmd2beta.zip
>>> _______________________________________________
>>> dmd-beta mailing list
>>> dmd-beta at puremagic.com
>>> http://lists.puremagic.com/mailman/listinfo/dmd-beta
>>>
>> _______________________________________________
>> 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