forked from Perl/perl5
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Warn about shadowing names when importing a lexical sub whose…
… name matches a package one" This partly reverts commit 31273fb which was committed in Perl#21915 It has been found that this warning creates too many warnings from otherwise-harmless situations, and additionally acts inconsistently with other behaviours such as lexical variables. In any case it only warns in the less likely package-then-lexical order, and not in the more likely lexical-then-package order which was the original intent of the discussion leading up to its invention. We decided to remove it Perl#21915 (comment) I have left the changes to t/op/attrproto.t and t/op/lexsub.t in place because those were just renames for something that made debugging the tests confusing. They're not directly related to this warning, so should remain.
- Loading branch information
Showing
4 changed files
with
0 additions
and
32 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
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