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