https://issues.dlang.org/show_bug.cgi?id=15822
hst...@quickfur.ath.cx changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #6 from hst...@quickfur.ath.cx --- This bug has not yet been (fully) fixed: ------ import std.stdio; class Wrapper { typeof(stdin.byLine()) src; } void main() { auto x = new Wrapper(); x.src = stdin.byLine(); } ------ Run as 'echo | ./program'. Output: ------ core.exception.InvalidMemoryOperationError@src/core/exception.d(693): Invalid memory operation ------ --