digitalmars.D.bugs - [Issue 24391] New: std.encoding.sanitize should be usable in safe
- d-bugmail puremagic.com (17/18) Feb 12 https://issues.dlang.org/show_bug.cgi?id=24391
https://issues.dlang.org/show_bug.cgi?id=24391 Issue ID: 24391 Summary: std.encoding.sanitize should be usable in safe Product: D Version: D2 Hardware: x86 OS: All Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nobody puremagic.com Reporter: forestix nom.one The offending line:return cast(immutable(E)[])array[0 .. offset];ldc2 says: Error: cast from `char[]` to `string` not allowed in safe code --
Feb 12