Homec4science

Fix reuse of locals as iterators in libphutil

Authored by epriestley <git@epriestley.com> on Mar 29 2012, 22:20.

Description

Fix reuse of locals as iterators in libphutil

Summary:
Only one hit here. It did not cause a bug, but is unconventional. Use a more conventional construction.

Also added some test coverage.

Test Plan: Ran tests.

Reviewers: vrana, btrahan

Reviewed By: vrana

CC: aran, epriestley

Differential Revision: https://secure.phabricator.com/D2051

Details

Committed
epriestley <git@epriestley.com>Mar 29 2012, 22:20
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU793a5f8622e9: Fix PhutilInteractiveEditor if the user's $EDITOR contains space
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHU76b55cfc8058: Fix reuse of locals as iterators in libphutil (authored by epriestley <git@epriestley.com>).Mar 29 2012, 22:20