]> khamidou — GitHub mirrors - arcanist.git/commit
Use string operations, not idx(), for string indexing.
authorepriestley <git@epriestley.com>
Wed, 29 Feb 2012 16:39:25 +0000 (08:39 -0800)
committerepriestley <git@epriestley.com>
Wed, 29 Feb 2012 16:39:25 +0000 (08:39 -0800)
commitb3a70ac2069f2de0fa79eb5849d7841cdb643a4e
treec55139d861f319ce0237754a7664b4e4ea04039d
parent2fa18d80f8e310c28167d8d6f51c643afa28a8c1
Use string operations, not idx(), for string indexing.

Summary: Missed this in review (D1715), idx() does not operate on strings (maybe
it does in HPHP/i?).

Test Plan: Faked an editable lint warning, ran "arc lint".

Reviewers: Koolvin, andrewjcg, btrahan

Reviewed By: Koolvin

CC: aran, epriestley
Differential Revision: https://secure.phabricator.com/D1728
src/lint/renderer/ArcanistLintRenderer.php