Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
only croak on undef = ... not on (complex... undef) = ...
The previous check would trigger on code like: ($x ? $y : undef) = 1; I also moved the test from t/run/fresh_perl.t to t/run/croak/op and added a test for the broken case.
- Loading branch information
Showing
3 changed files
with
19 additions
and
7 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