Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Also need to allow composing things from another SC - it shouldn't ev…
…er really happen in real code but it does in the bootstrap.
  • Loading branch information
jnthn committed May 23, 2011
1 parent 58b566b commit 7ab3578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/SymbolTable.pm
Expand Up @@ -343,7 +343,7 @@ class Perl6::SymbolTable is HLL::Compiler::SerializationContextBuilder {
$obj.HOW.compose($obj);

# Emit code to do the composition when deserializing.
my $slot_past := self.get_slot_past_for_object($obj);
my $slot_past := self.get_object_sc_ref_past($obj);
self.add_event(:deserialize_past(PAST::Op.new(
:pasttype('callmethod'), :name('compose'),
PAST::Op.new( :pirop('get_how PP'), $slot_past ),
Expand Down

0 comments on commit 7ab3578

Please sign in to comment.