[Issue 482] New: _arguments for variadic not available in precondition

Thomas Kuehne thomas-dloop at kuehne.cn
Wed Nov 8 07:33:41 PST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

d-bugmail at puremagic.com schrieb am 2006-11-06:
> http://d.puremagic.com/issues/show_bug.cgi?id=482

> This compiles fine, but prints some bogus number at runtime:
>
> void func(...)
> in {
>     writefln("Arguments len = ", _arguments.length); 
> }
> body {
>
> }

Added to DStress as
http://dstress.kuehne.cn/run/i/in_out_body_13_A.d
http://dstress.kuehne.cn/run/i/in_out_body_13_B.d
http://dstress.kuehne.cn/run/i/in_out_body_13_C.d

Thomas


-----BEGIN PGP SIGNATURE-----

iD8DBQFFUfdnLK5blCcjpWoRAsSnAJ4r9kUchQrDkYvuATNB1xoAI19u4QCdEMmY
tLrinOtLEfrbKuTpneDu2z0=
=MUWJ
-----END PGP SIGNATURE-----



More information about the Digitalmars-d-bugs mailing list