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


_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta

Reply via email to