Why I'm Excited about D

H. S. Teoh via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 7 16:13:01 PDT 2015


On Tue, Apr 07, 2015 at 03:29:26PM -0700, Andrei Alexandrescu via Digitalmars-d wrote:
> On 4/7/15 3:27 PM, deadalnix wrote:
> >On Tuesday, 7 April 2015 at 22:24:21 UTC, Andrei Alexandrescu wrote:
> >>>My current favorite WAT in D is:
> >>>
> >>>    import std.stdio;
> >>>    void fun(string text) {
> >>>        import std.conv;
> >>>        writeln(text);
> >>>    }
> >>>    void main() {
> >>>        fun("Hello world");
> >>>    }
[...]
> Are there bugzillas for these two matters?
[...]

The blank output one has been known for a while now (since June 2013),
under various guises:

	https://issues.dlang.org/show_bug.cgi?id=10378

The above test case, though, strikes me as a particularly compelling
example of why this bug is so nasty.


T

-- 
Why waste time learning, when ignorance is instantaneous? -- Hobbes, from Calvin & Hobbes


More information about the Digitalmars-d mailing list