File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -448,10 +448,6 @@ class NQP::Actions is HLL::Actions {
448
448
PAST::Op. new ( : pasttype(' bind' ),
449
449
PAST::Var. new ( : name(' type_obj' ), : scope(' register' ), : isdecl(1 ) ),
450
450
$ * SC . get_slot_past_for_object($ * PKGMETA )
451
- ),
452
- PAST::Op. new ( : pasttype(' bind' ),
453
- PAST::Var. new ( : name(' $?CLASS' ) ),
454
- PAST::Var. new ( : name(' type_obj' ), : scope(' register' ) )
455
451
)
456
452
));
457
453
@@ -477,8 +473,7 @@ class NQP::Actions is HLL::Actions {
477
473
}
478
474
else {
479
475
$ past . blocktype(' immediate' );
480
- $ past . unshift (PAST::Var. new ( : name(' $?CLASS' ), : scope(' package' ), : isdecl(1 ) ));
481
- $ past . symbol(' $?CLASS' , : scope(' package' ));
476
+ $ * SC . install_lexical_symbol($ past , ' $?CLASS' , $ * PKGMETA );
482
477
}
483
478
484
479
# Add call to add_parent if we have one.
You can’t perform that action at this time.
0 commit comments