and briefly document the undocumented messages it found.
Note that the "Odd number of arguments" message isn't suppressible, I do not know if that is by design:
$ ./perl -Ilib -Mfeature=class -e 'no warnings; class C { field $x:param; } C->new("x")'
Odd number of arguments passed to "C" constructor at -e line 1.
Discovered when porting/diag.t didn't warn about my new message in the fix for #22159
and briefly document the undocumented messages it found.
Note that the "Odd number of arguments" message isn't suppressible, I do not know if that is by design:
$ ./perl -Ilib -Mfeature=class -e 'no warnings; class C { field $x:param; } C->new("x")' Odd number of arguments passed to "C" constructor at -e line 1.
Discovered when porting/diag.t didn't warn about my new message in the fix for #22159