Tracking issue for phobos entities that should be @safe, but currently aren't. Let's reference per-module/package issues if someone goes on a fixing spree, but first this issue is intended to collect such issues.
std.stdio.File.byLine: Should be @safe as the internally used buffer is GC allocated, thus unexpected mutation of an escaped line is possible, but cannot cause a memory corruption. @safe function 'foo' cannot call @system function 'std.stdio.File.byLine!(char, char).byLine' @safe function 'foo' cannot call @system destructor 'std.stdio.File.ByLine!(char, char).ByLine.~this' ---- std.stdio.File.byLineCopy: obviously @safe function 'foo' cannot call @system function 'std.stdio.File.byLineCopy!(char, immutable(char)).byLineCopy' @safe function 'foo' cannot call @system destructor 'std.stdio.File.ByLineCopy!(immutable(char), char).ByLineCopy.~this'
I'd vote for this, but looks like voting has disappeared.
Made a quick pass through Phobos and started to create issues for an easier overview, progress tracking and management. The list is still quite large atm.
Although important, it's more an enhancement, than a bug, isn't it?
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/10273 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB