Rename getErrorMessages and getMessages function in parser code
This MR renames the getErrorMessages
and getMessages
function in the parser code to getPsErrorMessages
and getPsMessages
, to avoid import conflicts, as we have already getErrorMessages
and getMessages
defined in GHC.Types.Error
. cc @shayne-fletcher-da
Fixes #19920 (closed).