https://issues.dlang.org/show_bug.cgi?id=15711
--- Comment #2 from Alexander Tumin <[email protected]> --- According to cast table from https://dlang.org/spec/const3.html this is not bug at all and should be the defined behavior; const(char)[], what ['z'] is, cannot be implicitly converted to immutable(char)[], which what the string is. The solution to this case is simply wrap ['z'] into cast(string)(['z']) and all should work just fine. I'm sorry, this should be closed as not a bug. --
