Skip to content

Commit 450bf58

Browse files
committed
fudge S02/contextual for niecza
1 parent 1b68345 commit 450bf58

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

S02-names_and_variables/contextual.t

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ my $o = CT.new;
3939
is CT.foo_priv, 'one', 'back (private class method)';
4040
}
4141

42+
#?niecza skip 'notdef'
4243
ok foo().notdef, 'contextual $*VAR is undefined';
4344

4445
{
@@ -57,6 +58,8 @@ ok foo().notdef, 'contextual $*VAR is undefined';
5758
# no idea if it actually makes sense to put contextuals inside a package, but
5859
# the lexical alias that's also created should work just fine:
5960
#
61+
# Notsomuch in niecza, as the "lexical alias" is only seen by the compiler...
62+
#?niecza 2 skip 'our $*a'
6063
{
6164
sub f { $*a };
6265
our $*a = 'h';

0 commit comments

Comments
 (0)