Thread overview
[Issue 21067] Tupleof of struct returned by function with string field lazily passed to function, itself lazily passed to another function, causes runtime OOM.
Jul 23, 2020
FeepingCreature
Dec 17, 2022
Iain Buclaw
July 23, 2020
https://issues.dlang.org/show_bug.cgi?id=21067

--- Comment #1 from FeepingCreature <default_357-line@yahoo.de> ---
A shorter version that "runs" with dmd, but preserves the ldc error:

struct S { int a; int b; }
S test() { return S(); }
void main() { evalArg(dupArg2(test.tupleof)); }
void dupArg2(int, lazy int) {}
void evalArg(lazy void) {}

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=21067

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--
December 13
https://issues.dlang.org/show_bug.cgi?id=21067

--- Comment #2 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/19750

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--