adjust the source location on metafunction def-before-use errors

closes PR 14289
Fix types for `process` and `process*`

Closes PR 14297
Fix type inference helper on AnyValues range

This bug allows a test to be written for the previous
commit. Previously, it would throw a match error.
Fix doc typos