[Chapel Merge] dyno: resolve more loop index variables

Branch: refs/heads/main
Revision: a5c7a64
Author: benharsh
Link: dyno: resolve more loop index variables by benharsh · Pull Request #20344 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #20344 from benharsh/dyno-resolve-more-loop-idxvars

dyno: resolve more loop index variables

This PR updates dyno's Resolver to resolve index variables for any IndexableLoop, instead of just For loops.

[reviewed-by @DanilaFe]

Modified Files:
M compiler/dyno/lib/resolution/Resolver.cpp

M compiler/dyno/lib/resolution/Resolver.h
M compiler/dyno/test/resolution/testLoopIndexVars.cpp

Compare: https://github.com/chapel-lang/chapel/compare/cd06ad7c774b...a5c7a64f50cc