Permalink
Browse files

whitespace fixes for UnknownParent exception.

  • Loading branch information...
timo committed Jan 19, 2013
1 parent fcc4e4e commit 119e3ba6324086f752472b66fda816985c0e8a41
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/Exception.pm
View
@@ -1043,9 +1043,9 @@ my class X::Inheritance::UnknownParent is Exception {
method message {
my $message := $.child ~ ' cannot inherit from ' ~ $.parent ~ ' because it is unknown.';
if +@.suggestions > 1 {
- $message := $message ~ "\nDid you mean one of these?\n " ~ @.suggestions.join("\n ");
+ $message := $message ~ "\nDid you mean one of these?\n " ~ @.suggestions.join("\n ");
} elsif +@.suggestions == 1 {
- $message := $message ~ "\nDid you mean " ~ @.suggestions[0];
+ $message := $message ~ "\nDid you mean " ~ @.suggestions[0] ~ "?";
}
return $message;
}

0 comments on commit 119e3ba

Please sign in to comment.