[dmd-beta] dmd 1.065 and 2.050 beta

Walter Bright walter at digitalmars.com
Wed Oct 27 15:51:30 PDT 2010


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")[]
>


More information about the dmd-beta mailing list