Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 2f48e46b3f6d2dbf2ecc5ec392c1a79f856acb34
      
https://github.com/Perl/perl5/commit/2f48e46b3f6d2dbf2ecc5ec392c1a79f856acb34
  Author: Lukas Mai <lukasmai....@gmail.com>
  Date:   2024-08-06 (Tue, 06 Aug 2024)

  Changed paths:
    M op.c
    M pod/perldiag.pod
    M t/lib/warnings/op

  Log Message:
  -----------
  warn about logical negation as operand of isa

Code like `!$obj isa Some::Class` doesn't make sense, so emit a
precedence warning.

(If you really want to test whether a boolean is an instance of some
class, write `(!$obj) isa Some::Class`.)



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

Reply via email to