Homec4science

Fix crazystairs with non-stairlike reverse-indented lists

Authored by epriestley <git@epriestley.com> on Jul 25 2014, 06:58.

Description

Fix crazystairs with non-stairlike reverse-indented lists

Summary: Ref T5102. This loop is supposed to select the first item at the minimum depth, but uses < rather than <= so it selects the last item instead.

Test Plan:
Added and ran unit tests. Viewed stairs in preview, they worked correctly.

{F181101}

Reviewers: asherkin, btrahan, chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T5102

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

Details

Committed
epriestley <git@epriestley.com>Jul 25 2014, 06:58
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU4298b0da1573: Choose a better class name for PhutilMethodNotImplementedException
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHU2603d59f43b0: Fix crazystairs with non-stairlike reverse-indented lists (authored by epriestley <git@epriestley.com>).Jul 25 2014, 06:58