[Chapel Merge] Add a future for #7936

Branch: refs/heads/main
Revision: 92fde05a85352723fb507c15e453913bf9f5fb5e
Author: DanilaFe
Link: Add a future for #7936 by DanilaFe · Pull Request #25576 · chapel-lang/chapel · GitHub
Log Message:
Add a future for #7936 (#25576)

One might expect that promoted expressions get coerced into arrays when
giving to arary formals, but this does not happen, which is the
underlying cause for the bug in
Unresolved call on promoted expression · Issue #7936 · chapel-lang/chapel · GitHub. It would be nice to
have that.

Trivial, will not be reviewed.

Testing

  • new future is a "clean match against .bad file".

Compare: Comparing e4601d0d54fa842d22789a864af4d1bba35cc64c...2340db8b08a7f4fbe466a90892f2c477953fd3cd · chapel-lang/chapel · GitHub

Diff:
A test/arrays/formals/promotedExprAsArrayActual.bad
A test/arrays/formals/promotedExprAsArrayActual.chpl
A test/arrays/formals/promotedExprAsArrayActual.future
A test/arrays/formals/promotedExprAsArrayActual.good
https://github.com/chapel-lang/chapel/pull/25576.diff