We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97a2584 commit afa3b69Copy full SHA for afa3b69
S04-statements/for.t
@@ -283,15 +283,15 @@ class TestClass{ has $.key is rw };
283
284
{
285
my $a = '';
286
- for 1..3, 4..6 { $a ~= $_.WHAT };
+ for 1..3, 4..6 { $a ~= $_.WHAT.gist };
287
is($a, 'Int()Int()Int()Int()Int()Int()', 'List context');
288
289
$a = '';
290
- for [1..3, 4..6] { $a ~= $_.WHAT };
+ for [1..3, 4..6] { $a ~= $_.WHAT.gist };
291
is($a, 'Array()', 'List context');
292
293
294
- for [1..3], [4..6] { $a ~= $_.WHAT };
+ for [1..3], [4..6] { $a ~= $_.WHAT.gist };
295
is($a, 'Array()Array()', 'List context');
296
}
297
0 commit comments