Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unwarranted assertion in Perl_newATTRSUB_x()
RT #126845: if a stub subroutine definition with a prototype has been seen, then any subsequent stub (or definition) of the same subroutine with an attribute was causing an assertion failure because of a null pointer. This assertion was added in 2eaf799, which itself would already have triggered this assertion failure, even though all subsequent uses of the pointer in question were guarded with non-null conditions. So merely deleting the assertion is the right thing.
- Loading branch information
Showing
2 changed files
with
8 additions
and
2 deletions.
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