[dmd-beta] dmd 1.065 and 2.050 beta

Stephan Dilly Dilly at funatics.de
Thu Oct 28 01:50:08 PDT 2010


Then it is a regression in phobos, which doesn't make it less of a 
regression that should be fixed b4 release (imho).


On 28.10.2010 00:51, Walter Bright wrote:
> Trying the old version of std.typecons and it works, so it's not a 
> compiler bug.
>
> Stephan Dilly wrote:
>> I am sorry but i found another regression trying to build my codebase 
>> with the new beta:
>>
>>
>> import std.typecons;
>>
>> alias Tuple!(int,"aa",int,"bb") Foo;
>>     void main()
>> {
>>     Foo[] m_array;
>>
>>     Foo f;
>>            m_array ~= f;
>> }
>>
>>
>> This portion of code used to work with dmd2049. The beta now says:
>> Error: cannot append type (int,int) to type Tuple!(int,"aa",int,"bb")[]
>>
> _______________________________________________
> 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