julia
julia copied to clipboard
#59114 issue: Converted do-block to lambda before the call expression…
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
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.