Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove debugging code.
  • Loading branch information
jnthn committed Feb 18, 2012
1 parent ecf6bcc commit 41b48aa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Perl6/World.pm
Expand Up @@ -1514,10 +1514,9 @@ class Perl6::World is HLL::World {
method apply_trait($trait_sub_name, *@pos_args, *%named_args) {
# Locate the trait sub to apply.
my $trait_sub := $*W.find_symbol([$trait_sub_name]);

# Call it right away.
my $ret := $trait_sub(|@pos_args, |%named_args);
pir::say(pir::typeof__SP($ret));
if pir::can__IPs($ret, 'sink') { $ret.sink }

# Serialize call to it.
Expand Down

0 comments on commit 41b48aa

Please sign in to comment.