Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
refudge, we know about CORE now
  • Loading branch information
FROGGS committed Sep 20, 2015
1 parent b8cea3d commit 7a34a79
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion S02-names/pseudo.t
Expand Up @@ -192,7 +192,6 @@ plan 142;
}

# CORE
#?rakudo skip 'CORE NYI RT #124916'
{
my $real = ¬
my $core = "CORE";
Expand All @@ -216,13 +215,15 @@ plan 142;
ok &none =:= &f1, '... and works';
lives-ok { CORE::.<&none> := &f2 }, 'CORE::.{} binding lives';
ok &none =:= &f2, '... and works';
#?rakudo 2 skip 'Cannot bind to &::("CORE")::foo RT #126113'
lives-ok { &::($core)::none := &f3 }, '::("CORE") binding lives';
ok &none =:= &f3, '... and works';

# in niecza v8, dynamic variables go through a separate code path.
# make sure accessing it in CORE works
lives-ok { $CORE::_ := 50 }, 'Binding to $CORE::_ lives';
is $CORE::_, 50, 'Accessing $CORE::_ works';
#?rakudo 2 skip 'Cannot bind to &::("CORE")::foo RT #126113'
lives-ok { $::($core)::_ := 51 }, 'Binding to $::("CORE")::_ lives';
is $::($core)::_, 51, 'Accessing $::("CORE")::_ works';
}
Expand Down

0 comments on commit 7a34a79

Please sign in to comment.