[Issue 20309] Passing alias this with function returning chain to tempCString hangs up the program

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Dec 8 12:46:26 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=20309

--- Comment #2 from Jan Jurzitza <d.bugs at webfreak.org> ---
you are right, it makes sense that it creates a new object for each
instantiation. However this would mean that maybe the isInputRange check or
whatever tempCString and others are using, should not allow such a construct
which always returns a new instance

--


More information about the Digitalmars-d-bugs mailing list