Skip to content

Conversation

@mlechu
Copy link
Member

@mlechu mlechu commented Nov 18, 2025

Evaluating a macro's name should be done in the same world we pass into lowering and use for expansion. Fix this for all reasonable macro names.

The lowering iterator (currently very cold code only used for module/toplevel expressions that JuliaLowering "controls") also needs to update the expansion world between steps.

@mlechu mlechu requested a review from c42f November 18, 2025 22:25
@mlechu mlechu added the compiler:lowering Syntax lowering (compiler front end, 2nd stage) label Nov 18, 2025
@mlechu mlechu force-pushed the jl-iterator-world-age branch from 46674f4 to 84f90da Compare November 18, 2025 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compiler:lowering Syntax lowering (compiler front end, 2nd stage)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant