Skip to content

Commit

Permalink
make message of X::Inheritance::Unsupported less confusing
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Aug 23, 2012
1 parent c7f6492 commit befe7ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/Exception.pm
Original file line number Diff line number Diff line change
Expand Up @@ -853,8 +853,8 @@ my class X::Inheritance::Unsupported does X::Comp {
has $.child-typename;
has $.parent;
method message {
$.child-typename ~ ' cannot inherit from ' ~
$.parent.^name ~ ' because it is not inheritable';
$.parent.^name ~ ' does not support inheritance, so '
~ $.child-typename ~ ' cannot inherit from it';
}
}

Expand Down

0 comments on commit befe7ca

Please sign in to comment.