October 26, 2019
https://issues.dlang.org/show_bug.cgi?id=1924

RazvanN <razvan.nitu1305@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1305@gmail.com
          Component|dmd                         |phobos
            Version|D1 (retired)                |D2

--- Comment #12 from RazvanN <razvan.nitu1305@gmail.com> ---
This bug report is invalid. The original reported issue is invalid since pragma cannot evaluate at compile time the value of a runtime variable.

As for the other proposed issue - the ability to print when a function is evaluated - it doesn't have to be implemented in the compiler. This can be implemented as a function in phobos.

Changing component from dmd to phobos.

Test case:

import std.stdio;

char[] wrongfunc()
{
    char[] result;
    writeln(result);
    return result;
}

void main()
{
    enum c = wrongfunc();
}

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=1924

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P4

--