February 09, 2012 Re: Tango for D2: All user modules ported | ||||
---|---|---|---|---|
| ||||
Posted in reply to Timon Gehr | On Thursday, 9 February 2012 at 17:39:39 UTC, Timon Gehr wrote: > For me it is the other way round: I never considered trying Tango until it was ported to D2. =) But I started using D back in the pre 0.125 days (2004) and I got used to using Tango. > fixed: > > import std.stdio; > > void main(string[] args){ > foreach(i, arg; args){ > writefln(" arg %3d: '%s'", i, arg); > } > } Just tried again with dmd2.057 and dmd2.058 beta: foreach(i, arg; args) { writefln(" arg %3d: '%s'", i, arg); } And it's still the same. > Works for me with Phobos perfectly fine. What platform are you on? (probably Windows?) Yes, Win XP SP3 32 Bit. OT: Just tried the new DMD 2.058 beta: Whoa! Magicians at work. I do like this: hello.d: module hello; import std.stdio; void main(string[] args) { foreach(i, arg; args) { writefln(" arg %3d: '%s'", i, arg); } } rdmd --build-only -release -O hello.d dmd2.057: E:\source\D\d2>dir hello.exe 09.02.2012 18:21 992.284 hello.exe dmd2.058beta: E:\source\D\d2>dir hello.exe 09.02.2012 18:22 216.604 hello.exe +1 > Harmless 'bug' exposed by bugfix in compiler. Should be a trivial. It would cease to be an issue if this enhancement was implemented in the compiler: > > http://d.puremagic.com/issues/show_bug.cgi?id=7208 Will have a look. |
Copyright © 1999-2021 by the D Language Foundation