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

Nick Treleaven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Nick Treleaven <[email protected]> ---
Is a function allowed to return an `enum string`? Shouldn't you use one of
these:

string b(alias d)() {
    return `writeln("a");`;
}

enum string b(alias d) = `writeln("a");`;

I think this should be marked `accepts-invalid`.

--

Reply via email to