[Chapel Merge] Include internal modules in --print-callstack-on-e

Branch: refs/heads/main
Revision: 145c4d4
Author: vasslitvinov
Link: https://github.com/chapel-lang/chapel/pull/19196
Log Message:

Merge pull request #19196 from vasslitvinov/callstack-intern-mods

Include internal modules in --print-callstack-on-error output

The compiler no longer suppresses stack frames in internal modules
when reporting errors in the --devel --print-callstack-on-error mode.

Resolves #17406

r: @lydia-duncan

Modified Files:
A test/compflags/vass/callstack-internal-modules.chpl

A test/compflags/vass/callstack-internal-modules.compopts
A test/compflags/vass/callstack-internal-modules.d+s+.good
A test/compflags/vass/callstack-internal-modules.d+s-.good
A test/compflags/vass/callstack-internal-modules.d-s+.good
A test/compflags/vass/callstack-internal-modules.d-s-.good
A test/compflags/vass/callstack-internal-modules.prediff
M compiler/resolution/functionResolution.cpp

Compare: https://github.com/chapel-lang/chapel/compare/4dc5a98d3399...145c4d405030