import std.stdio; import std.string; void main() { auto lines = File("foo").byLine; auto result = format!"%s"(lines); } The compilation fails with /usr/include/dmd/phobos/std/typecons.d(6455): Error: `"Attempted to access an uninitialized payload."` [...]
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/10396 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB