Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix can on Perl6::Object:: packages
  • Loading branch information
niner committed Aug 8, 2015
1 parent e90710d commit ffa10fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Inline/Perl5.pm6
Expand Up @@ -547,7 +547,9 @@ method init_callbacks {
}
sub can {
return Perl6::Object::call_method('can', @_);
my ($self) = shift;
return ref $self ? Perl6::Object::call_method('can', $self, @_) : v6::invoke($self, 'can', @_);
}
package Perl6::Callable;
Expand Down

0 comments on commit ffa10fe

Please sign in to comment.