New Issue: [Bug]: Internal error obfuscation is inaccurate for parts of functionResolution

28126, "lydia-duncan", "[Bug]: Internal error obfuscation is inaccurate for parts of functionResolution", "2025-12-04T16:01:52Z"

Summary of Problem

Description:
A user recently encountered an internal error in functionResolution with a line number greater than 9999. This meant that the obfuscation we do for the user view of internal errors gave the wrong line number, because we only expect line counts in the 1000s, not 10s of thousands. While functionResolution definitely shouldn't be that large, I think we should fix this by increasing the line portion of the obfuscated internal error message

Is this issue currently blocking your progress?
no

Steps to Reproduce

Source Code:

Jade made a reproducer here, but I think they intend to fix that error independently

Compile command:

Execution command:

Associated Future Test(s):

Configuration Information

  • Output of chpl --version:
  • Output of $CHPL_HOME/util/printchplenv --anonymize:
  • Back-end compiler and version, e.g. gcc --version or clang --version:
  • (For Cray systems only) Output of module list: