[Issue 14696] destructor for temporary called before statement is complete with ternary operator and alias this
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Jun 15 05:40:09 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14696
--- Comment #2 from Steven Schveighoffer <schveiguy at yahoo.com> ---
(In reply to Ketmar Dark from comment #1)
> the same bug on HEAD without an alias:
>
> //alias get this;
> ...
> foo(args.length ? makes().get : null);
And the obvious smacks me in the face :) Thanks.
--
More information about the Digitalmars-d-bugs
mailing list