File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -161,19 +161,16 @@ throws_like '#`', X::Syntax::Comment::Embedded;
161
161
throws_like " =begin\n " , X::Syntax::Pod::BeginWithoutIdentifier , line => 1 , filename => rx /EVAL /;
162
162
163
163
for <
164
- $ @ % &
165
164
$^A $^B $^C $^D $^E $^F $^G $^H $^I $^J $^K $^L $^M
166
165
$^N $^O $^P $^Q $^R $^S $^T $^U $^V $^W $^X $^Y $^Z
167
- $* $" $$ $) $; $ & $` $' $| $? $@ $[ $]
168
- $: $- $+ $= $% $^ $~ @- @+ %- %+ %!
166
+ $* $" $$ $& $` $' $| $? $@
167
+ $: $= $^ $~ @- @+ %- %+ %!
169
168
> {
170
- throws_like $ _ , X::Syntax ::Perl5Var;
169
+ throws_like " $ _ = 1; " , X::Syntax ::Perl5Var;
171
170
}
172
171
173
172
# ?rakudo 2 todo 'still handled by <special_var>'
174
- throws_like ' $<' , X::Syntax ::Perl5Var;
175
173
throws_like ' $#' , X::Syntax ::Perl5Var;
176
- throws_like ' $>' , X::Syntax ::Perl5Var;
177
174
178
175
eval_lives_ok ' class frob { has @!bar; method test { return $@!bar } }' , ' uses of $@!bar not wrongfully accused of using old $@ variable' ;
179
176
You can’t perform that action at this time.
0 commit comments