Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature improvement: apply @inbounds effect to affect lexically-scoped closures #43060

Open
vtjnash opened this issue Nov 12, 2021 · 0 comments
Labels
compiler:lowering Syntax lowering (compiler front end, 2nd stage)

Comments

@vtjnash
Copy link
Sponsor Member

vtjnash commented Nov 12, 2021

As discussed in #41893 (comment), we probably want to make @inbounds be fully lexically scoped. Right now, it usually applies recursively to all contained scoped blocks, but gets stopped by functions. We can hopefully change syntax-lowering.scm to also apply the inbounds marker to the bodies of any closures inside the @inbounds also.

@vtjnash vtjnash added the compiler:lowering Syntax lowering (compiler front end, 2nd stage) label Nov 12, 2021
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

No branches or pull requests

1 participant