feature improvement: apply @inbounds
effect to affect lexically-scoped closures
#43060
Labels
compiler:lowering
Syntax lowering (compiler front end, 2nd stage)
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.The text was updated successfully, but these errors were encountered: