Branch: refs/heads/smoke-me/tonyc/16608-leave-smartmatch-sub
  Home:   https://github.com/Perl/perl5
  Commit: 539e0109f685d1456ee98a04e19e79ed125c9570
      
https://github.com/Perl/perl5/commit/539e0109f685d1456ee98a04e19e79ed125c9570
  Author: Tony Cook <t...@develop-help.com>
  Date:   2025-04-10 (Thu, 10 Apr 2025)

  Changed paths:
    M class.c
    M cop.h
    M deb.c
    M t/lib/croak/class

  Log Message:
  -----------
  class.c, injected_constructor: prevent loop exits exiting

Using last, next etc would pop the context stack to above the
call_sv(), generally resulting in a crash or assertion failure.

The search the context to pop to stops at the top of the current
context stack, and PUSHSTACKi() switches to a new stack, preventing
the search from finding any loop outside the call_sv()

Similar to #16608


  Commit: db1938c5ea7431ad3e667fa7ba1489edb390297f
      
https://github.com/Perl/perl5/commit/db1938c5ea7431ad3e667fa7ba1489edb390297f
  Author: Tony Cook <t...@develop-help.com>
  Date:   2025-04-10 (Thu, 10 Apr 2025)

  Changed paths:
    M pod/perldelta.pod

  Log Message:
  -----------
  perldelta for smartmatch, class constructors exiting with loop exits


Compare: https://github.com/Perl/perl5/compare/b903a339329f...db1938c5ea74

To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications

Reply via email to