Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: d7e8a0319838357a90f1fbef3584803c588df404
      
https://github.com/Perl/perl5/commit/d7e8a0319838357a90f1fbef3584803c588df404
  Author: Philippe Bruhat (BooK) <b...@cpan.org>
  Date:   2022-09-24 (Sat, 24 Sep 2022)

  Changed paths:
    M lib/B/Deparse.t
    M lib/warnings.pm
    M regen/warnings.pl
    M warnings.h

  Log Message:
  -----------
  Reclaim unused bits in ${^WARNING_BITS}

`no warnings 'experimental::foo';` is effectively a no-op
if the `foo` feature is not experimental any more.

So, stop reserving bits in `${^WARNING_BITS}` for them,
and silently do nothing when they are enabled or disabled
via `use warnings` or `no warnings`.

Warnings turned into no-op in this commit:
* experimental::alpha_assertions
* experimental::bitwise
* experimental::isa
* experimental::lexical_subs
* experimental::postderef
* experimental::script_run
* experimental::signatures


Reply via email to