Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix problem with self not being found crying wolf
  • Loading branch information
lizmat committed Aug 7, 2013
1 parent a3eecdc commit 3ba7f55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/control.pm
Expand Up @@ -120,8 +120,8 @@ my &lastcall := -> {

my &samewith := -> *@pos, *%named {
my $my = callframe(1).my;
my $self = $my<self>
|| die "Could not find 'self'";
my $self = $my<self>;
die "Could not find 'self'" if !$self.DEFINITE;
my $dispatcher = $my<&?ROUTINE>.dispatcher
|| die "Could not find dispatcher";
$dispatcher( $self, |@pos, |%named );
Expand Down

0 comments on commit 3ba7f55

Please sign in to comment.