[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl5-changes
Subject:    [Perl/perl5] 562bca: pad.c: Fix GH Issue #19463, -DXv fails assert when...
From:       Yves Orton via perl5-changes <perl5-changes () perl ! org>
Date:       2022-02-27 2:48:16
Message-ID: Perl/perl5/push/refs/heads/yves/fix_gh_issue_19463/000000-562bca () github ! com
[Download RAW message or body]

  Branch: refs/heads/yves/fix_gh_issue_19463
  Home:   https://github.com/Perl/perl5
  Commit: 562bcafcf5c9003b30fa1db75fbcbdb34a1f0978
      https://github.com/Perl/perl5/commit/562bcafcf5c9003b30fa1db75fbcbdb34a1f0978
  Author: Yves Orton <demerphq@gmail.com>
  Date:   2022-02-27 (Sun, 27 Feb 2022)

  Changed paths:
    M pad.c
    M t/run/switchDx.t

  Log Message:
  -----------
  pad.c: Fix GH Issue #19463, -DXv fails assert when dumping anonymous constant sub

Anonymous constant subs were changed to be implemented internally as
XSUBs at some point (I have not determined when yet). This broke
DEBUGGING perls running under -DXv which weren't taught about the new
implementation. In ed958fa3156084f3cf4d8c4768716d9e1a11ce91 strict.pm
was changed to use such subs, which then breaks many uses of -DXv.

See t/run/switchDx.t for an example of code that would trigger this that
does not depend on strict.pm

This fixes the problem and adds a test for -Dx.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic