[dmd-beta] D2 2.058 beta
Masahiro Nakagawa
repeatedly at gmail.com
Fri Feb 10 08:59:42 PST 2012
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 <walter at digitalmars.com>
> http://ftp.digitalmars.com/**dmd2beta.zip<http://ftp.digitalmars.com/dmd2beta.zip>
> ______________________________**_________________
> dmd-beta mailing list
> dmd-beta at puremagic.com
> http://lists.puremagic.com/**mailman/listinfo/dmd-beta<http://lists.puremagic.com/mailman/listinfo/dmd-beta>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/dmd-beta/attachments/20120211/f2c25ea5/attachment.html>
More information about the dmd-beta
mailing list