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

Reply via email to