Skip to content

Commit

Permalink
Remove remaining role problems -- patch from jnthn++ .
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaud committed Jul 5, 2010
1 parent 0afa4ad commit 9868ec1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Perl6/Actions.pm
Expand Up @@ -1243,7 +1243,7 @@ method method_def($/) {
0;

# Create code object using a reference to $past.
my $code := block_closure(blockref($past), $*METHODTYPE, $multi_flag);
my $code := block_code($past, $*METHODTYPE, $multi_flag);

# Get hold of the correct table to install it in, and install.
our @PACKAGE;
Expand Down
2 changes: 1 addition & 1 deletion src/Perl6/Compiler/Role.pm
Expand Up @@ -76,7 +76,7 @@ method finish($block) {
:pasttype('callmethod'),
:name('add_method'),
$meta_reg, $obj_reg, ~$_,
%methods{~$_}<code_ref>
PAST::Op.new( :pasttype('callmethod'), :name('clone'), %methods{~$_}<code_ref> )
));
}

Expand Down

0 comments on commit 9868ec1

Please sign in to comment.