[Chapel Merge] dyno: don't convert _ in As statements

Branch: refs/heads/main
Revision: 741a841
Author: arezaii
Link: dyno: don't convert _ in As statements by arezaii · Pull Request #19795 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #19795 from arezaii/dyno-rename-bugfix

dyno: don't convert _ in As statements

This PR fixes a bug caused by eagerly converting the rename part of an As
node. Previously we were erroneously converting a rename to _ the same
as chpl__tuple_blank, which is not correct in the case of an As statement.

TESTING:

  • [x] paratest
  • [x] paratest with --dyno (26 failures)

reviewed by @dlongnecke-cray - thanks!

Signed-off-by: arezaii ahmad.rezaii@hpe.com

Modified Files:
M compiler/passes/convert-uast.cpp

Compare: https://github.com/chapel-lang/chapel/compare/38ceff695e3d...741a8412b516