develooper Front page | perl.perl5.changes | Postings from October 2021

[Perl/perl5] 8bfb35: Test for non-numeric warnings in postincrementcase

From:
James E Keenan via perl5-changes
Date:
October 27, 2021 11:38
Subject:
[Perl/perl5] 8bfb35: Test for non-numeric warnings in postincrementcase
Message ID:
Perl/perl5/push/refs/heads/jkeenan/gh-19211-postincrement-warnings/000000-e5b435@github.com
  Branch: refs/heads/jkeenan/gh-19211-postincrement-warnings
  Home:   https://github.com/Perl/perl5
  Commit: 8bfb353779f6f46fc13ad882e9a407fef6258721
      https://github.com/Perl/perl5/commit/8bfb353779f6f46fc13ad882e9a407fef6258721
  Author: James E Keenan <jkeenan@cpan.org>
  Date:   2021-10-27 (Wed, 27 Oct 2021)

  Changed paths:
    M t/lib/warnings/sv

  Log Message:
  -----------
  Test for non-numeric warnings in postincrement case

Currently, the warning message indicates 'preincrement' when it should
be indicating 'postincrement'.

For: https://github.com/Perl/perl5/issues/19211


  Commit: e5b435d04428b1fbbf5258c7c5d4af84ff85a4f8
      https://github.com/Perl/perl5/commit/e5b435d04428b1fbbf5258c7c5d4af84ff85a4f8
  Author: James E Keenan <jkeenan@cpan.org>
  Date:   2021-10-27 (Wed, 27 Oct 2021)

  Changed paths:
    M t/lib/warnings/sv

  Log Message:
  -----------
  Test for non-numeric warnings in pre/post-decrement cases

Apparently previously untested, no warnings at all are being generated
in these cases.


Compare: https://github.com/Perl/perl5/compare/8bfb353779f6%5E...e5b435d04428



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About