Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 708c7341bf4c7c99c7a218eca2674794ae2717b1
      
https://github.com/Perl/perl5/commit/708c7341bf4c7c99c7a218eca2674794ae2717b1
  Author: Lukas Mai <lukasmai....@gmail.com>
  Date:   2024-10-30 (Wed, 30 Oct 2024)

  Changed paths:
    M lib/B/Deparse.pm
    M lib/B/Deparse.t

  Log Message:
  -----------
  B::Deparse: retain () around ! if omitting them would warn

Since 570fa43328, we emit precedence warnings if the LHS of a comparison
or binding op starts with an unparenthesized logical negation (`!`, as
in `!$x == $y`). Explicit parens can be used to avoid the warning
(`(!$x) == $y`).

Teach B::Deparse to keep these parentheses even if they're not strictly
required by operator precedence because we don't want the deparsed code
to generate more warnings than the original code.

Fixes #22661.


  Commit: 0046291bd20fa13d780c9a69702c6af4e5746cb7
      
https://github.com/Perl/perl5/commit/0046291bd20fa13d780c9a69702c6af4e5746cb7
  Author: Lukas Mai <lukasmai....@gmail.com>
  Date:   2024-10-30 (Wed, 30 Oct 2024)

  Changed paths:
    M pod/perldelta.pod

  Log Message:
  -----------
  perldelta for B::Deparse 1.79


Compare: https://github.com/Perl/perl5/compare/a97e8c6c7523...0046291bd20f

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

Reply via email to