Skip to content

Commit dda235a

Browse files
committed
Unfudge return semantics test we now pass.
1 parent 99ab03c commit dda235a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

S04-statements/return.t

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ is( try { sub foo { my $x = 1; while $x-- { return 24; }; return 42; }; foo() },
4545
# XXX: Not 100% sure on this one
4646
eval-dies-ok('do {return 5}', 'cannot return out of a do block');
4747

48-
#?rakudo todo 'lexotic return'
4948
is (try EVAL 'my $double = -> $x { return 2 * $x }; sub foo($x) { $double($x) }; foo 42').defined, False, 'return is lexotic only; must not attempt dynamic return';
5049
}
5150

0 commit comments

Comments
 (0)