Following code works on dmd 2.057, but causing segmentation fault on dmd
2.058 beta.

-----
struct S
{
    void foo(V)(in V v)
    {
    }

    void foo(Args...)(auto ref const Args args)
    {
        foreach (i, T; Args)
            foo(args[i]);
    }
}

void main()
{
    S s;
    s.foo(10);
}
----

Does anyone report this issue?
This bug is critical for my msgpack-d and related libraries.


Masahiro

2012/2/9 Walter Bright <[email protected]>

> http://ftp.digitalmars.com/**dmd2beta.zip<http://ftp.digitalmars.com/dmd2beta.zip>
> ______________________________**_________________
> dmd-beta mailing list
> [email protected]
> http://lists.puremagic.com/**mailman/listinfo/dmd-beta<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