Merge pull request #16337 from e-kayrakli/string-resolution-order-fix
Do a dummy iteration to work around a resolution bug
removed a function that called
string.findwhich has a pattern that iterates
over a range variable. This was probably the first time that the compiler
encounters this pattern and resolved
After that function is removed we had issues with resolving
chpl_debug_writeln. So, this PR adds that pattern right before a string to int
cast to have the same behavior in terms of resolution order.
https://github.com/Cray/chapel-private/issues/1293 has some of the similar
issues to fix. This work around should be reverted once we have (maybe partly)
addressed the problem.
[Reviewed by @mppf]
- [x] standard