----- Original Message ----
> From: Jonathan M Davis <[email protected]>
>
> Well, this change is going to break a lot of code (and the fact that string
> literals are immutable on Linux but not Windows sure isn't going to help
> with
> code portability). We really need to find a permanent solution for this
>problem
>
> soon.
You are misunderstanding the issue.
In an immutable(char)[], the array is mutable, the data it points to is
immutable. The case being discussed is immutable(char[]), where both the data
being pointed to *and* the array itself are immutable. You should not be able
to call popFront on such an array. In no case is the compiler allowing you to
change the immutable data being pointed to, that's not what the bug is about.
I agree with everything David has said about it, breaking existing code now is
a
much better solution than breaking it later, especially when Phobos is in such
a
volatile state.
-Steve
_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta