Skip to content

v0.3.2 - fold "found declaration" messages

Compare
Choose a tag to compare
@suve suve released this 30 Nov 22:55
· 18 commits to trunk since this release
This release improves support for "Wrong number of parameters" errors.
These are typically followed by FPC listing all functions/methods with
a matching name. Previously, the Action would parse all of those
compiler messages separately, resulting in generating error-level
annotations attached to each declaration. This release adds some code
for folding the list of declarations into the original error,
resulting in a more helpful annotation attached to the caller.

This release also introduces the 'exclude-path' input, allowing to
specify a list of directories and files which should be ignored
by the Action. Any compiler messages pertaining to excluded paths
will be ignored and no annotations will be generated. This does not
affect error-level messages, as those cause compilation to fail.