We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b68345 commit 450bf58Copy full SHA for 450bf58
S02-names_and_variables/contextual.t
@@ -39,6 +39,7 @@ my $o = CT.new;
39
is CT.foo_priv, 'one', 'back (private class method)';
40
}
41
42
+#?niecza skip 'notdef'
43
ok foo().notdef, 'contextual $*VAR is undefined';
44
45
{
@@ -57,6 +58,8 @@ ok foo().notdef, 'contextual $*VAR is undefined';
57
58
# no idea if it actually makes sense to put contextuals inside a package, but
59
# the lexical alias that's also created should work just fine:
60
#
61
+# Notsomuch in niecza, as the "lexical alias" is only seen by the compiler...
62
+#?niecza 2 skip 'our $*a'
63
64
sub f { $*a };
65
our $*a = 'h';
0 commit comments