Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: da052de6c29328cc0468e7865e8f435c176f99d5
      
https://github.com/Perl/perl5/commit/da052de6c29328cc0468e7865e8f435c176f99d5
  Author: Richard Leach <[email protected]>
  Date:   2026-10-01 (Thu, 01 Oct 2026)

  Changed paths:
    M regen/embed.pl
    M t/porting/symbol_visibility.dat

  Log Message:
  -----------
  embed.pl: blk* constants should always be visible


  Commit: ab924ffad0b16e6050001b56d4863660defa7afe
      
https://github.com/Perl/perl5/commit/ab924ffad0b16e6050001b56d4863660defa7afe
  Author: Richard Leach <[email protected]>
  Date:   2026-10-01 (Thu, 01 Oct 2026)

  Changed paths:
    M cop.h
    M pod/perldelta.pod
    M pp_ctl.c
    M regen/embed.pl
    M t/op/defer.t
    M t/op/try.t

  Log Message:
  -----------
  Add blku_defer to the context block union and use it in pp_goto

This enables `goto` within a `defer {}` or `finally {}` block when
the block is not the final item within its enclosing scope.

This is intended to fix GH #19240, where this worked:

    sub foo {
      defer {
        goto ham;
        ham:
        print "ham\n";
      }
    }
    foo();

But this did not:

    sub foo {
      defer {
        goto ham;
        ham:
        print "ham\n";
      }
      print "uh oh\n";
    }
    foo();


Compare: https://github.com/Perl/perl5/compare/a7840b87edec...ab924ffad0b1

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

Reply via email to