← Back to index
|
Original Bugzilla link
Bug 482 – _arguments for variadic is incorrect in precondition
Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2006-11-06T01:34:00Z
Last change time
2014-02-15T13:20:44Z
Keywords
wrong-code
Assigned to
bugzilla
Creator
wbaxter
Comments
Comment #0
by wbaxter — 2006-11-06T01:34:48Z
This compiles fine, but prints some bogus number at runtime: void func(...) in { writefln("Arguments len = ", _arguments.length); } body { }
Comment #1
by thomas-dloop — 2006-11-08T09:39:35Z
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
[email protected]
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-----
Comment #2
by bugzilla — 2006-11-24T20:02:58Z
Cannot reproduce problem with DMD 0.174.
Comment #3
by wbaxter — 2006-11-24T23:48:44Z
(In reply to comment #2) > Cannot reproduce problem with DMD 0.174. > Connfirmed. It works here too now with 0.174.