import std.stdio;

enum PI = 3.14;

void main()
{
        writeln(typeid(typeof(PI)));
}

It prints "double". Shouldn't it be immutable(double). I think it would make more sense, as it is a constant. Plus, it could be shared among threads.

Reply via email to