[Chapel Merge] Fix nightly failures after new union features

Branch: refs/heads/main
Revision: 0207aaada59fb0a7b03d4873d49c0422cbe3bc79
Author: jabraham17
Link: Fix nightly failures after new union features by jabraham17 · Pull Request #28653 · chapel-lang/chapel · GitHub
Log Message:
Fix nightly failures after new union features (#28653)

Fixes several issues in nightly caused by me adding new union features

Most of the changes in this PR are test-only, only the change in dyno is
meaningful. I badly tried to add typed converter support for unions,
which break all compilations with the typed converter. The proper
fix/implementation for dyno is more effort than its worth right now (at
least for me), so this PR just reverts the change to dyno and leaves a
todo comment

[Not reviewed]

Compare: Comparing 090f7f02581247451de65ab5f3d7843ac10ccce2...eaaff660637365181e0b00c7fd8c1a76f8ee7677 · chapel-lang/chapel · GitHub

Diff:
M compiler/passes/convert-typed-uast.cpp
M doc/rst/language/spec/unions.rst
M frontend/lib/resolution/Resolver.cpp
A test/classes/deitz/unions/union2.lastcompopts
A test/classes/deitz/unions/union4.lastcompopts
A test/classes/deitz/unions/union_method3.lastcompopts
M test/optimizations/deadCodeElimination/elliot/countDeadModules.good
M test/types/unions/accessByIndex-bad1.good
M test/types/unions/accessByIndex-bad2.good
A test/types/unions/accessByIndex.lastcompopts
A test/types/unions/bad-access1.lastcompopts
A test/types/unions/bad-access2.lastcompopts
A test/types/unions/badVisit4.lastcompopts
D test/types/unions/union-copy-init3.bad
M test/types/unions/union-copy-init3.chpl
D test/types/unions/union-copy-init3.future
D test/types/unions/union-copy-init3.prediff
M test/types/unions/union-type-constraint.h
https://github.com/chapel-lang/chapel/pull/28653.diff