This, I do not understand. I thought immutable applies to the value, not to the variable.

You need to read from right to left.

immutable(char)[] is a mutable array of immutable chars.
immutable(char[]) is an immutable array of immutable chars. Note the transitivity.

Reply via email to