[Chapel Merge] Deprecate formal names for 'Reflection.getField' f

Branch: refs/heads/main
Revision: ef615bf
Author: dlongnecke-cray
Link: Deprecate formal names for 'Reflection.getField' family of functions by dlongnecke-cray · Pull Request #18958 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #18958 from dlongnecke-cray/reflection-rename-and-unify-get-field

Deprecate formal names for 'Reflection.getField' family of functions (#18958)

Deprecate the formal names i, x, and s of the getField()
family of functions in favor of idx, obj, and name.

Add a test to test/deprecated.

Reviewed by @lydia-duncan. Thanks!

TESTING:

  • [x] ALL on linux64 when COMM=none
  • [x] ALL on linux64 when COMM=gasnet

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

Modified Files:
A test/deprecated/ReflectionFormalNames.chpl

A test/deprecated/ReflectionFormalNames.good
A test/library/standard/Reflection/ReflectionFormalNames.chpl
A test/library/standard/Reflection/ReflectionFormalNames.good
M modules/standard/Reflection.chpl
M test/param/ferguson/field-name-not-in-range.good
M test/param/ferguson/field-value-not-in-range.good

Compare: https://github.com/chapel-lang/chapel/compare/30e49534e6ab...ef615bfe4c85