Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symbol::delete_package breaks coverage #313

Open
jkahrman opened this issue Jan 28, 2023 · 0 comments
Open

Symbol::delete_package breaks coverage #313

jkahrman opened this issue Jan 28, 2023 · 0 comments

Comments

@jkahrman
Copy link
Contributor

Using Symbol::delete_package causes the following error in Devel::Cover

Devel::Cover: 47% Devel::Cover: Oops, it looks like something went wrong writing the coverage.
              It's possible that more bad things may happen but we'll try to
              carry on anyway as if nothing happened.  At a minimum you'll
              probably find that you are missing coverage.  If you're
              interested, the problem was:

Can't locate object method "NAME" via package "B::SPECIAL" at /usr/lib/x86_64-linux-gnu/perl5/5.32/Devel/Cover.pm line 1187.

Here's a minimal amount of perl that reproduces the failure:
del_pkg.txt

Not sure if the following is right or sensible, but it does suppress the error:

devel_cover_special.patch.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant