Permalink
Browse files

Unfudge for block Mu parameters

  • Loading branch information...
1 parent 97213bc commit 625cd925008e4cfe55ebd243782f40b803b35490 @sorear sorear committed Jun 3, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −2 S03-junctions/autothreading.t
  2. +0 −2 S03-junctions/misc.t
@@ -277,14 +277,16 @@ plan 83;
# L<S02/Undefined types/"default block parameter type">
# block parameters default to Mu, so test that they don't autothread:
-#?niecza skip 'NYI'
{
my $c = 0;
for 1|2, 3|4, 5|6 -> $x {
$c++;
}
is $c, 3, 'do not autothread over blocks by default';
- $c = 0;
+}
+#?niecza skip 'interferes hard with inlining'
+{
+ my $c = 0;
for 1|2, 3|4, 5|6 -> Any $x {
$c++;
}
@@ -322,7 +322,6 @@ ok(!(?(1&0) != ?(1&&0)), 'boolean context');
}
# used to be a rakudo regression (RT #60886)
-#?niecza skip 'Mu ~~ $x'
ok Mu & Mu ~~ Mu, 'Mu & Mu ~~ Mu works';
## See also S03-junctions/autothreading.t
@@ -368,7 +367,6 @@ ok Mu & Mu ~~ Mu, 'Mu & Mu ~~ Mu works';
}
# RT #63686
-#?niecza skip 'Mu parameters in blocks'
{
lives_ok { try { for any(1,2) -> $x {}; } },
'for loop over junction in try block';

0 comments on commit 625cd92

Please sign in to comment.