Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix RT #126087.
  • Loading branch information
peschwa committed Oct 4, 2015
1 parent b06d30d commit 53b8878
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/core/CompUnitRepo.pm
Expand Up @@ -81,8 +81,12 @@ RAKUDO_MODULE_DEBUG("Looking in $spec for $name")
nqp::die("Could not find file '$file' for module $module_name");
}
else {
my $from-hint := "";
if nqp::substr(~$module_name, nqp::rindex(~$module_name, ":") + 1) eq "from" {
$from-hint := "\nUse a single colon to include a module from another language.";
}
nqp::die("Could not find $module_name in any of:\n " ~
join("\n ", @*INC));
join("\n ", @*INC) ~ $from-hint);
}
} ) }

Expand Down

0 comments on commit 53b8878

Please sign in to comment.