mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-26 16:52:40 +01:00
Improve error message for phutil missing symbols
Summary: This is fairly confusing. Make the error message suggest the common remedy (update libphutil). Test Plan: Eyeballed it. Reviewers: Afaque_Hussain, btrahan, vrana Reviewed By: Afaque_Hussain CC: aran Differential Revision: https://secure.phabricator.com/D4834
This commit is contained in:
parent
d952502f12
commit
2c2cb3b78a
1 changed files with 3 additions and 1 deletions
|
@ -154,7 +154,9 @@ final class ArcanistPhutilLibraryLinter extends ArcanistLinter {
|
||||||
$offset,
|
$offset,
|
||||||
self::LINT_UNKNOWN_SYMBOL,
|
self::LINT_UNKNOWN_SYMBOL,
|
||||||
"Use of unknown {$type} '{$symbol}'. This symbol is not defined ".
|
"Use of unknown {$type} '{$symbol}'. This symbol is not defined ".
|
||||||
"in any loaded phutil library.");
|
"in any loaded phutil library. It might be misspelled, or it ".
|
||||||
|
"may have been added recently. Make sure libphutil and other ".
|
||||||
|
"libraries are up to date.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue