This works now in D2!
-----
import std.stdio;
void main() {
immutable(char)[] bar;
writefln("bar is ", typeof(bar).stringof);
}
----
But it still prints "bar is invariant(char)[]".
Will the internal names change too in the next release?
--bb