develooper Front page | perl.perl5.changes | Postings from November 2022

[Perl/perl5] 20d507: Fail attempts to pass anonsub to \$ prototype.

From:
Felipe Gasper via perl5-changes
Date:
November 16, 2022 17:54
Subject:
[Perl/perl5] 20d507: Fail attempts to pass anonsub to \$ prototype.
Message ID:
Perl/perl5/push/refs/heads/blead/eae812-d47ed5@github.com
  Branch: refs/heads/blead

  Home:   https://github.com/Perl/perl5

  Commit: 20d507b5869b116c3b1f8aeea48fbfbf68dfce60

      https://github.com/Perl/perl5/commit/20d507b5869b116c3b1f8aeea48fbfbf68dfce60

  Author: Felipe Gasper <felipe@felipegasper.com>

  Date:   2022-11-16 (Wed, 16 Nov 2022)



  Changed paths:

    M op.c

    M t/comp/proto.t



  Log Message:

  -----------

  Fail attempts to pass anonsub to \$ prototype.



Issue #20384





  Commit: d47ed502d559f2dfd711ea899490280c385987b0

      https://github.com/Perl/perl5/commit/d47ed502d559f2dfd711ea899490280c385987b0

  Author: Felipe Gasper <felipe@felipegasper.com>

  Date:   2022-11-16 (Wed, 16 Nov 2022)



  Changed paths:

    M op.c

    M t/op/anonsub.t



  Log Message:

  -----------

  Fix & test useless-anonymous-subroutine warnings.



Issue #20384: This fixes a breakage from

35458d36d3c9fcf47064e4379e15276057b0bca5 that Devel::WatchVars’s test suite

caught. A test is added to Perl’s own test suite to prevent regressions.





Compare: https://github.com/Perl/perl5/compare/eae81231471a...d47ed502d559




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