Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

i think $y actually supposed to be dynamic here.

  • Loading branch information...
commit f5bbfc634ae2d5556aeb2e4088a093540f7d88c0 1 parent c790303
@timo timo authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  S02-names/pseudo.t
View
3  S02-names/pseudo.t
@@ -311,7 +311,6 @@ plan 142;
}
# CALLER - assumes MY:: has taken care of most access testing
-#?rakudo.jvm skip "is dynamic"
{
sub f1($f) { my $x is dynamic = 90; $f() } #OK
sub f2($f) { my $x is dynamic = 91; f1($f) } #OK
@@ -329,7 +328,7 @@ plan 142;
is f2({ CALLER::<$*foo> }), 92, 'CALLER::<$*foo> works';
is f2({ ::($caller)::('$*foo') }), 92, '::("CALLER")::<$*foo> works';
- my $y = 93; #OK
+ my $y is dynamic = 93; #OK
if 1 {
is $CALLER::y, 93, 'CALLER:: works in inline blocks';
is $::($caller)::y, 93, '::("CALLER") works in inline blocks';
Please sign in to comment.
Something went wrong with that request. Please try again.