Page MenuHomePhabricator

Fix crazystairs with non-stairlike reverse-indented lists
ClosedPublic

Authored by epriestley on Jul 24 2014, 11:17 PM.
Tags
None
Referenced Files
F15580449: D10043.id.diff
Wed, May 7, 5:39 AM
F15560525: D10043.diff
Tue, Apr 29, 3:10 PM
F15523159: D10043.id24164.diff
Sun, Apr 20, 11:30 PM
F15458404: D10043.id.diff
Mar 30 2025, 11:45 PM
F15458204: D10043.id24164.diff
Mar 30 2025, 9:40 PM
F15457892: D10043.id24164.diff
Mar 30 2025, 7:52 PM
F15454236: D10043.diff
Mar 29 2025, 5:10 PM
F15426604: D10043.diff
Mar 23 2025, 9:56 AM
Subscribers

Details

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.

Screen_Shot_2014-07-24_at_4.17.29_PM.png (543×418 px, 24 KB)

Diff Detail

Repository
rPHU libphutil
Branch
list1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 1879
Build 1880: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

epriestley retitled this revision from to Fix crazystairs with non-stairlike reverse-indented lists.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added reviewers: asherkin, chad, btrahan.
chad edited edge metadata.
This revision is now accepted and ready to land.Jul 25 2014, 4:05 AM
epriestley updated this revision to Diff 24164.

Closed by commit rPHU2603d59f43b0 (authored by @epriestley).