[Issue 13079] Need 'this' to access member - function literal
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Jul 14 08:57:01 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13079
--- Comment #2 from Daniel Čejchan <czdanol at gmail.com> ---
(In reply to hsteoh from comment #1)
> Are you sure that's valid syntax? Don't you mean this:
> ----
> class Test {
> mixin(string func() {
> return "";
> });
> }
> ----
> The diagnostic should be improved, though. The current error message doesn't
> make sense.
That one can't be compiled either.
--
More information about the Digitalmars-d-bugs
mailing list