This PR captures a source (uri and line) when defining a parameter type, and then includes that as a SourceReference block when emitting the standard message for the parameter type.
Also, while we're here, it removes the list of "builtin" parameter types maintained in this repo, in favour of using the builtin prop of the parameter types themselves.
⚡️ What's your motivation?
Fixes #2272.
🏷️ What kind of change is this?
:zap: New feature (non-breaking change which adds new behaviour)
coverage: 98.497% (+0.005%) from 98.492% when pulling 42d75af5cbbc79e55ba2650836427da56df9f529 on feat/parameter-source-reference into 54ac0473b48fd0c785ec480d09373dce71ccb2af on main.
🤔 What's changed?
This PR captures a source (uri and line) when defining a parameter type, and then includes that as a
SourceReference
block when emitting the standard message for the parameter type.Also, while we're here, it removes the list of "builtin" parameter types maintained in this repo, in favour of using the
builtin
prop of the parameter types themselves.⚡️ What's your motivation?
Fixes #2272.
🏷️ What kind of change is this?
📋 Checklist:
This text was originally generated from a template, then edited by hand. You can modify the template here.