diff options
author | Tony Cook <tony@develop-help.com> | 2020-03-30 16:32:46 +1100 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2020-08-10 04:47:53 +0000 |
commit | b334474a337421c6643b872388245fb2c11bf995 (patch) | |
tree | 54ad3892922256baa57f6b9981fa360c71b0403e /MANIFEST | |
parent | 55507ac1d99efa7f407df8ebcf9f6683532679f8 (diff) | |
download | perl-b334474a337421c6643b872388245fb2c11bf995.tar.gz |
fix C<i $obj> where $obj is a lexical
the DB::eval function depends on the special behaviour of eval ""
within the DB package, which evaluates the string within the context
of the first non-DB sub or eval scope, working up the call stack.
The debugger refactor moved handling for the 'i' command from the
DB package to the DB::Obj package, so the eval in DB::eval was
working in the context of the DB::Obj::cmd_i function, not in the
calling scope.
Fixed by moving the handling for the i command back to DB.
Fixes #17661.
Diffstat (limited to 'MANIFEST')
-rw-r--r-- | MANIFEST | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -4808,6 +4808,7 @@ lib/perl5db/t/eval-line-bug Tests for the Perl debugger lib/perl5db/t/fact Tests for the Perl debugger lib/perl5db/t/filename-line-breakpoint Tests for the Perl debugger lib/perl5db/t/gh-17660 Tests for the Perl debugger +lib/perl5db/t/gh-17661 Tests for the Perl debugger lib/perl5db/t/load-modules Tests for the Perl debugger lib/perl5db/t/lsub-n Test script used by perl5db.t lib/perl5db/t/lvalue-bug Tests for the Perl debugger |