https://issues.dlang.org/show_bug.cgi?id=15027
--- Comment #11 from Martin Nowak <[email protected]> --- Slight variation of the bug where the aliased string is an lvalue, but cannot be assigned. cat > bug.d << CODE struct InternedString { void opAssign(InternedString other) { this.data = other.data; } string data; alias data this; } auto bug(InternedString s) { import std.file : exists; return exists(s); } CODE This breaks b/c some code in utf.d tries to `r = r[1 .. $]` slice an InternedString. --
