Dallaylaen has asked for the wisdom of the Perl Monks concerning the following question:
Hello esteemed monks,
I tried to gather coverage for our project at work and there were a lot of messages like follows:
unexpected OP_CUSTOM (catch) at /home/lodin/perl5/perlbrew/perls/perl-5.26.3/lib/5.26.3/B/Deparse.pm line 1667.
Not only that, but the build now takes several hours instead of ~20 minutes (the project uses S::K::T extensively and has lots of tests), that is a considerable slowdown. If the error message is not there, the covered build only takes an hour or so.
Reproduction is as simple as
cpanm Devel::Cover cd Syntax-Keyword-Try-0.11 perl Build.PL HARNESS_PERL_SWITCHES=-MDevel::Cover ./Build test
I managed to find out that it happens when using Syntax::Keyword::Try >0.10 (lower versions are ok). I also found a bug on github about similar message but it was fixed 2 years ago.
What should I do next? Should I report a bug in S::K::T? Devel::Cover?
Thank you
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Strange warning in Syntax::Keyword::Try > 0.10 when run under Devel::Cover
by Tux (Canon) on Aug 26, 2020 at 13:31 UTC | |
by Dallaylaen (Chaplain) on Aug 26, 2020 at 13:48 UTC |