Skip to content

Commit 3088455

Browse files
committed
Make use of add_object_to_cur_sc_past.
1 parent a0a9213 commit 3088455

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NQP/SymbolTable.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ class NQP::SymbolTable is HLL::Compiler::SerializationContextBuilder {
161161
$setup_call.push(PAST::Val.new( :value($repr), :named('repr') ));
162162
}
163163
self.add_event(:deserialize_past(
164-
self.set_slot_past($slot, self.set_cur_sc($setup_call))));
164+
self.add_object_to_cur_sc_past($slot, $setup_call)));
165165

166166
# Result is just the object.
167167
return $mo;

0 commit comments

Comments
 (0)