Issue opened for Idea 1:
Don’t box captured variables that are not assigned after closure declaration · Issue #53367 · JuliaLang/julia (github.com)