opApply Magic Function Body Transformation

Mike Shah mshah.475 at gmail.com
Fri Aug 1 01:29:48 UTC 2025


On Monday, 28 July 2025 at 19:28:54 UTC, Mike Shah wrote:
> On Monday, 28 July 2025 at 18:57:27 UTC, kinke wrote:
>> On Monday, 28 July 2025 at 14:28:57 UTC, Mike Shah wrote:
>>> Is there somewhere already in LDC2 where I can dump out the 
>>> generated transformation (Otherwise I can probably read the 
>>> IR well enough)?
>>
>> Yeah I'm afraid the IR is probably the best source. LDC's 
>> `-vv` verbose codegen output would show the actual AST, but as 
>> a tree with lots of here unneeded infos.
>
> Ah, I hadn't used -vv. Between that and the IR that should work 
> well enough. Thank you again!

For anyone who searches about opApply in the future, here's a 
video of the result of the discussion (will be released Aug. 5, 
2025): https://youtu.be/6d6C-NdDWGk


More information about the Digitalmars-d-learn mailing list