File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -121,14 +121,20 @@ class NQP::SymbolTable is HLL::Compiler::SerializationContextBuilder {
121
121
my $ fixup := PAST::Stmts. new (
122
122
PAST::Op. new (
123
123
: pasttype(' callmethod' ), : name(' set_static_lexpad_value' ),
124
- PAST::Val. new ( : value($ block ), : returns(' LexInfo' )),
124
+ PAST::Op. new (
125
+ : pasttype(' callmethod' ), : name(' get_lexinfo' ),
126
+ PAST::Val. new ( : value($ block ) )
127
+ ),
125
128
~ $ name , self . get_slot_past_for_object($ obj )
126
129
),
127
130
# XXX Should only do this once per block we put static stuff
128
131
# in...or find a way to not do it at all.
129
132
PAST::Op. new (
130
133
: pasttype(' callmethod' ), : name(' finish_static_lexpad' ),
131
- PAST::Val. new ( : value($ block ), : returns(' LexInfo' ))
134
+ PAST::Op. new (
135
+ : pasttype(' callmethod' ), : name(' get_lexinfo' ),
136
+ PAST::Val. new ( : value($ block ) )
137
+ )
132
138
)
133
139
);
134
140
self . add_event(: deserialize_past($ fixup ), : fixup_past($ fixup ));
You can’t perform that action at this time.
0 commit comments