Dmitry Olshansky <> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |
         Resolution|---                         |WORKSFORME

--- Comment #14 from Dmitry Olshansky <> ---
This is getting out of scope real quick.

First the code:

string foo0() {
    return "this is a test";
string foo1() {
    return "";
string foo2() {
    string result;
    return result;
string foo3() {
    return [];
pragma(msg, foo0());
pragma(msg, foo1());
pragma(msg, foo2());
pragma(msg, foo3());
//string hello = "red";
//pragma(msg, hello);
pragma(msg, 12);
void main() {}

Now works as expected no [] literals. Except for static `hello`.

__ctfeWrite is a separate issue so no point in doing it here. 
Lastly any bugs in pragma(msg, ...) are welcome as specific bugs.


Reply via email to