Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[S04-phasers/end.t] Test for RT 112408 -- Can use END as a bareword h…
…ash key
  • Loading branch information
kyleha committed May 14, 2012
1 parent a4148aa commit 1641f44
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion S04-phasers/end.t
@@ -1,11 +1,15 @@
use v6;
use Test;

plan 4;
plan 5;

eval_lives_ok 'my $x = 3; END { $x * $x }',
'outer lexicals are visible in END { ... } blocks';

#?rakudo todo 'RT 112408'
eval_lives_ok 'my %rt112408 = END => "parsing clash with block-less END"',
'Can use END as a bareword hash key (RT 112408)';

my $a = 0;
#?rakudo 2 todo 'lexicals and eval()'
#?niecza todo
Expand Down

0 comments on commit 1641f44

Please sign in to comment.