Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
s/object/invocant/ as per moritz++ suggestion
  • Loading branch information
lizmat committed Apr 7, 2014
1 parent 2991f8e commit f524e97
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/core/Exception.pm
Expand Up @@ -66,7 +66,7 @@ my class X::AdHoc is Exception {
}

my class X::Method::NotFound is Exception {
has $.object;
has $.invocant;
has $.method;
has $.typename;
has Bool $.private = False;
Expand Down
4 changes: 2 additions & 2 deletions src/core/Mu.pm
Expand Up @@ -569,7 +569,7 @@ my class Mu { # declared in BOOTSTRAP
$meth ??
$meth(SELF, |c) !!
X::Method::NotFound.new(
object => SELF,
invocant => SELF,
method => '!' ~ $name,
typename => $type.HOW.name($type),
:private,
Expand All @@ -595,7 +595,7 @@ my class Mu { # declared in BOOTSTRAP
my @result := SELF.dispatch:<.*>($name, |c);
if @result.elems == 0 {
X::Method::NotFound.new(
object => SELF,
invocant => SELF,
method => $name,
typename => SELF.HOW.name(SELF),
).throw;
Expand Down

0 comments on commit f524e97

Please sign in to comment.