-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix method cache generation when package contains blessed subs
When generating the method cache, the code was trying to call ->body on it if it was an object. The add_method code had previously been fixed to only call ->body on meta objects rather than anything blessed. The XS code was only checking for objects being making that call. This was masked by method cache being kept up to date. If the method cache is out of date though, this can crash. The cache can be intentionally reset, or we may not be able to track its status properly (perl 5.8 without Class::C3::XS). Fixes RT#113704
- Loading branch information
Showing
3 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters