Skip to content

Commit 7fc8efd

Browse files
committed
update to new P5var warnings
1 parent 3f87fb4 commit 7fc8efd

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

S32-exceptions/misc.t

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -161,19 +161,16 @@ throws_like '#`', X::Syntax::Comment::Embedded;
161161
throws_like "=begin\n", X::Syntax::Pod::BeginWithoutIdentifier, line => 1, filename => rx/EVAL/;
162162

163163
for <
164-
$ @ % &
165164
$^A $^B $^C $^D $^E $^F $^G $^H $^I $^J $^K $^L $^M
166165
$^N $^O $^P $^Q $^R $^S $^T $^U $^V $^W $^X $^Y $^Z
167-
$* $" $$ $) $; $& $` $' $| $? $@ $[ $]
168-
$: $- $+ $= $% $^ $~ @- @+ %- %+ %!
166+
$* $" $$ $& $` $' $| $? $@
167+
$: $= $^ $~ @- @+ %- %+ %!
169168
> {
170-
throws_like $_, X::Syntax::Perl5Var;
169+
throws_like "$_ = 1;", X::Syntax::Perl5Var;
171170
}
172171

173172
#?rakudo 2 todo 'still handled by <special_var>'
174-
throws_like '$<', X::Syntax::Perl5Var;
175173
throws_like '$#', X::Syntax::Perl5Var;
176-
throws_like '$>', X::Syntax::Perl5Var;
177174

178175
eval_lives_ok 'class frob { has @!bar; method test { return $@!bar } }', 'uses of $@!bar not wrongfully accused of using old $@ variable';
179176

0 commit comments

Comments
 (0)