[Chapel Merge] dyno: handle converting void return types

Branch: refs/heads/main
Revision: e2b4e3b
Author: arezaii
Link: dyno: handle converting void return types by arezaii · Pull Request #19863 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #19863 from arezaii/handle-void-returns

dyno: handle converting void return types

This PR adds converting of explicit void types in to
the corresponding dtVoid when using the dyno parser.

This is to address some test failures we saw when using
--baseline to compile Chapel programs.

The tests in question are:

extern/diten/externVoidFnWithArrayNoUse
users/ibertolacc/void_extern_proc_array

TESTING:

  • [x] failed tests now pass with --baseline
  • [x] paratest with --baseline
  • [x] paratest

reviewed by @dlongnecke-cray - thank you!

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

Modified Files:
M compiler/dyno/include/chpl/queries/all-global-strings.h

M compiler/passes/convert-uast.cpp

Compare: https://github.com/chapel-lang/chapel/compare/aefd69d8bbbb...e2b4e3b6c296