You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
martind@waymo:~$ perl -we 'sub bogocarp() { my ($fi, $pa, $line) = caller; die("$line should have been 4"); }
my $gr = 1;
if ($gr) {
bogocarp();
}'
3 should have been 4 at -e line 1.
martind@waymo:~$
If line 4 is changed to read:
0; bogocarp();
... then the problem does not happen.
H/t GWHAYWOOD at #12573 (comment)
Given the reply from demerphq there, I hoped that:
For the true branch of if conditions, there could be an overlap with #22204. (I haven't had time to check, but the nextstate OP may not get optimised away if the block is wrapped in an enter/leave pair.)
Like it says, the caller is on line 4:
If line 4 is changed to read:
... then the problem does not happen.
H/t GWHAYWOOD at #12573 (comment)
Given the reply from demerphq there, I hoped that:
https://github.com/Perl/perl5/issues?q=is%3Aissue%20state%3Aopen%20demerphq%20%22line%20number%22
... would show me that this was already in hand but it didn't.
Perl configuration
The text was updated successfully, but these errors were encountered: