https://issues.dlang.org/show_bug.cgi?id=13122
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #5 from [email protected] --- (In reply to Peter Alexander from comment #4) > The reason filtering a string yields dchar instead of immutable(dchar) is > because string.front returns a decoded dchar by value. On the other hand > iterating a dstring returns the dchar by ref, so you see its immutability. > > Shall we close this bug? The current behaviour is is a little strange, but I guess you are right. I close this down then, as invalid. --
