[Chapel Merge] Resolved retval use before declaration

Branch: refs/heads/main
Revision: 87160d8
Author: ShreyasKhandekar
Log Message:

Merge pull request #18220 from ShreyasKhandekar/arrowPrototype

Resolved retval use before declaration

Fixed issue with returning a value before it was declared in array functions.

Signed-off-by: Shreyas Khandekar shreyaskhandekar@email.arizona.edu

[Reviewed by @bmcdonald3]

Modified Files:
M test/library/draft/arrow/Arrow.chpl

Compare: https://github.com/chapel-lang/chapel/compare/56bb3bd8785c...87160d896feb