julia icon indicating copy to clipboard operation
julia copied to clipboard

#59114 issue: Converted do-block to lambda before the call expression…

Open Mehul-Lakhwani opened this issue 4 weeks ago • 1 comments

The issue here was that the macro checks if ex is a :call expression, but as do-block is used so it has't been converted yet

so the issue is fixed by converting do block to lambda before checking of call expression

Mehul-Lakhwani avatar Nov 27 '25 19:11 Mehul-Lakhwani

This is almost right but misses some cases. See https://github.com/JuliaLang/julia/blob/3a274d5696144e337ca322f397ddefa4fd3c7798/stdlib/InteractiveUtils/src/macros.jl#L397. @inferred already calls gen_call_with_extracted_types, so it would be nice if we can avoid duplicating that logic as well but we might need to.

JeffBezanson avatar Dec 05 '25 20:12 JeffBezanson