Some piece of WAT, is that a bug or a feature ?
deadalnix via Digitalmars-d
digitalmars-d at puremagic.com
Sun May 17 01:38:48 PDT 2015
So this code:
void main() {
string outs;
void foo() {
outs ~= "prout !";
}
import std.stdio;
writeln(outs);
}
Obviously print an empty string.
Bug or feature ?
More information about the Digitalmars-d
mailing list