Is this a bug or a feature --- import std.stdio; int global;
alias cGlobal = const global;
alias sGlobal = shared global;
void main()
{
global = 5;
writeln(cGlobal);
global = 7;
writeln(sGlobal);
}
---
Is this a bug or a feature --- import std.stdio; int global;
alias cGlobal = const global;
alias sGlobal = shared global;
void main()
{
global = 5;
writeln(cGlobal);
global = 7;
writeln(sGlobal);
}
---