[Chapel Merge] dyno: Fix bugs and revert changes to .bad files fo

Branch: refs/heads/main
Revision: 76edbd2
Author: dlongnecke-cray
Link: Unavailable
Log Message:

Merge pull request #19909 from dlongnecke-cray/dyno-bad-file-fixes

dyno: Fix bugs and revert changes to .bad files for futures (#19909)

When the dyno parser was turned on by default in #19816, we
preemptively adjusted the .bad files for some futures to clean up
test output before the merge.

Now that testing has settled down, revert the changes to .bad files
and fix bugs as needed in order to get failure modes to match.

Also fix several instances where we were incorrectly creating a
Domain instead of an array, and fix bugs in the converter for
associative arrays.

TESTING

  • ALL on linux64, standard, -futures

Reviewed by @mppf. Thanks!

Signed-off-by: David Longnecker dlongnecke-cray@users.noreply.github.com

Modified Files:
A test/extern/rename/renameViaParamExpr.bad

M compiler/dyno/include/chpl/uast/Domain.h
M compiler/dyno/include/chpl/uast/Reduce.h
M compiler/dyno/include/chpl/uast/Scan.h
M compiler/dyno/lib/parsing/ParserContext.h
M compiler/dyno/lib/parsing/ParserContextImpl.h
M compiler/dyno/lib/parsing/bison-chpl-lib.cpp
M compiler/dyno/lib/parsing/chpl.ypp
M compiler/dyno/lib/uast/Domain.cpp
M compiler/dyno/lib/uast/Reduce.cpp
M compiler/dyno/lib/uast/Scan.cpp
M compiler/dyno/lib/uast/chpl-syntax-printer.cpp
M compiler/passes/convert-uast.cpp
M test/arrays/indexing/arrLitIndexing.bad
M test/arrays/vass/literal-indexing.bad
M test/users/ferguson/histogram/reductionex_class.bad
M test/users/ferguson/histogram/reductionex_record.bad

Compare: https://github.com/chapel-lang/chapel/compare/6d0780ff6240...76edbd2d53c7