This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4df4e8c
)
AASSIGN_COMMON var detection bug with logical operators, TODO test
author
Gerard Goossen
<gerard@ggoossen.net>
Sat, 6 Aug 2011 16:24:12 +0000
(18:24 +0200)
committer
Father Chrysostomos
<sprout@cpan.org>
Mon, 8 Aug 2011 22:49:44 +0000
(15:49 -0700)
t/op/array.t
patch
|
blob
|
blame
|
history
diff --git
a/t/op/array.t
b/t/op/array.t
index
f995ea3
..
f837e04
100644
(file)
--- a/
t/op/array.t
+++ b/
t/op/array.t
@@
-7,7
+7,7
@@
BEGIN {
require 'test.pl';
-plan (13
0
);
+plan (13
1
);
#
# @foo, @bar, and @ary are also used from tie-stdarray after tie-ing them
@@
-427,6
+427,13
@@
sub test_arylen {
(our $y, our $z) = ($x,$y);
is("$x $y $z", "1 1 2");
}
+{
+ local $TODO = "AASSIGN_COMMON detection with logical operators";
+ my $true = 1;
+ our($x,$y,$z) = (1..3);
+ (our $y, our $z) = $true && ($x,$y);
+ is("$x $y $z", "1 1 2");
+}
# [perl #70171]
{