https://issues.dlang.org/show_bug.cgi?id=15052
Issue ID: 15052 Summary: dmd/std/utf.d error on variable std.utf.byCodeUnit!(inout(char)[]).byCodeUnit.ByCodeUn itImpl.r Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: blocker Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: pedrolo...@gmx.com Created attachment 1550 --> https://issues.dlang.org/attachment.cgi?id=1550&action=edit the utf.d file dmd 2.068.1-1 it fails when using dub to compile a file. /usr/include/dlang/dmd/std/utf.d(3128): Error: variable std.utf.byCodeUnit!(inout(char)[]).byCodeUnit.ByCodeUnitImpl.r only parameters or stack based variables can be inout /usr/include/dlang/dmd/std/utf.d(3278): Error: template instance std.utf.byCodeUnit!(inout(char)[]) error instantiating /usr/include/dlang/dmd/std/string.d(386): instantiated from here: byDchar!(inout(char)[]) actually this is not just one error it is a load of them, --