opApply Magic Function Body Transformation

Mike Shah mshah.475 at gmail.com
Mon Jul 28 14:28:57 UTC 2025


On Monday, 28 July 2025 at 12:25:39 UTC, kinke wrote:
> On Monday, 28 July 2025 at 04:39:00 UTC, Mike Shah wrote:
>> [...]
>
> I think that's where the confusion comes from, that misleading 
> `-vcg-ast` output for the loop-body-lambda, apparently printed 
> as `… => 0` regardless of the actual loop body.
>
> [...]

Brilliant -- this I can work with. Is there somewhere already in 
LDC2 where I can dump out the generated transformation (Otherwise 
I can probably read the IR well enough)?

Thank you very much for helping break this down!


More information about the Digitalmars-d-learn mailing list