Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

don't ask "did you mean" for 0 suggested routines. #96

Merged
merged 1 commit into from

2 participants

@timo
Collaborator

No description provided.

@FROGGS FROGGS merged commit 5a895b4 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 19, 2013
  1. @timo
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/core/Exception.pm
View
2  src/core/Exception.pm
@@ -517,7 +517,7 @@ my class X::Undeclared::Symbols does X::Comp {
$r ~= "Undeclared routine" ~ (%.unk_routines.elems == 1 ?? "" !! "s") ~ ":\n";
for %.unk_routines.sort(*.key) {
$r ~= " $_.key() &l($_.value)";
- if %.routine_suggestion{$_.key()} :exists {
+ if +%.routine_suggestion{$_.key()} {
$r ~= ". " ~ s(%.routine_suggestion{$_.key()});
}
$r ~= "\n";
Something went wrong with that request. Please try again.