emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#61671: closed ([PATCH] Remove parentheses around test argument lists


From: GNU bug Tracking System
Subject: bug#61671: closed ([PATCH] Remove parentheses around test argument lists)
Date: Wed, 29 Mar 2023 19:56:03 +0000

Your message dated Wed, 29 Mar 2023 12:55:32 -0700
with message-id <f582b433-4cf3-2815-95a4-3d5a7704cb27@cs.ucla.edu>
and subject line Remove parentheses around test argument lists
has caused the debbugs.gnu.org bug report #61671,
regarding [PATCH] Remove parentheses around test argument lists
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
61671: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61671
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] Remove parentheses around test argument lists Date: Wed, 8 Feb 2023 23:30:00 -0600
This works around a parser bug in Perl 5.6.2.

        * t/pm/General.pl: Remove parentheses on argument lists.
---
 t/pm/General.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/t/pm/General.pl b/t/pm/General.pl
index bb99fce83..fafedbc46 100644
--- a/t/pm/General.pl
+++ b/t/pm/General.pl
@@ -18,10 +18,10 @@ use Automake::General;
 my $failed = 0;
 
 # Check 'none'.
-my $none_positive = none { $_[0] < 0 } (1, 7, 3, 8, 9);
+my $none_positive = none { $_[0] < 0 } 1, 7, 3, 8, 9;
 $failed = 1 if ($none_positive == 0);
 
-my $none_gt_8 = none { $_[0] >= 8 } (1, 7, 3, 8, 9);
+my $none_gt_8 = none { $_[0] >= 8 } 1, 7, 3, 8, 9;
 $failed = 1 if ($none_gt_8 == 1);
 
 exit $failed;
-- 
2.17.1




--- End Message ---
--- Begin Message --- Subject: Remove parentheses around test argument lists Date: Wed, 29 Mar 2023 12:55:32 -0700 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0
Thanks, I installed that patch into Automake.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]