[Chapel Merge] Move ChapelError to Errors and include Builtins,ha

Branch: refs/heads/main
Revision: 7983a13
Author: mppf
Log Message:

Merge pull request #18028 from mppf/rename-chpl-error

Move ChapelError to Errors and include Builtins,halt,warning

  • Creates a new internal module Errors which consists of
    • contents of ChapelError
    • contents of Builtins
    • halt and warning from ChapelIO
  • no-docs the errorDepth compilerError etc overloads
    since these probably aren't the right interface
  • adds chpl_stringify_wrapper to resolve a module ordering
    issue in resolution
  • changes s argument in halt and warning to msg and deprecates the s argument versions.

Reviewed by @daviditen - thanks!

  • [x] full local testing

    Modified Files:
    A modules/internal/Errors.chpl
    A test/deprecated/warning-halt-s.chpl
    A test/deprecated/warning-halt-s.good
    A test/modules/paths/overridePath.chpl
    A test/modules/paths/overridePath.compopts
    A test/modules/paths/overridePath.good
    A test/modules/paths/std/Path.chpl
    R modules/internal/ChapelError.chpl
    R modules/standard/Builtins.chpl
    R test/modules/paths/overrideBuiltins.chpl
    R test/modules/paths/overrideBuiltins.compopts
    R test/modules/paths/overrideBuiltins.good
    R test/modules/paths/std/Builtins.chpl
    M doc/rst/language/spec/error-handling.rst
    M doc/rst/meta/modules/standard.rst
    M modules/Makefile
    M modules/internal/ChapelStandard.chpl
    M modules/internal/SharedObject.chpl
    M modules/internal/fixInternalDocs.sh
    M modules/internal/tasktable/off/ChapelTaskTable.chpl
    M modules/packages/Futures.chpl
    M modules/standard/ChapelIO.chpl
    M modules/standard/SysError.chpl
    M test/compflags/ferguson/print-module-resolution.good
    M test/functions/diten/compilerWarningDepth.good
    M test/functions/vass/resolution/param-detuple.good
    M test/modules/bradc/printModStuff/foo.good
    M test/modules/sungeun/init/printModuleInitOrder.good
    M test/modules/sungeun/init/printModuleInitOrder.na-none.good

    Compare: Comparing 2bfda9ce8843...7983a13411cf · chapel-lang/chapel · GitHub