Page MenuHomePhabricator

Replace the informal "array" subtype map with a more formal "SubtypeMap" object
ClosedPublic

Authored by epriestley on Dec 6 2018, 4:15 PM.
Tags
None
Referenced Files
F13205733: D19852.diff
Wed, May 15, 2:19 AM
F13189753: D19852.diff
Sat, May 11, 6:20 AM
Unknown Object (File)
Tue, May 7, 10:06 AM
Unknown Object (File)
Fri, May 3, 10:09 AM
Unknown Object (File)
Mon, Apr 29, 6:15 PM
Unknown Object (File)
Sun, Apr 28, 8:40 PM
Unknown Object (File)
Sun, Apr 28, 6:53 PM
Unknown Object (File)
Sun, Apr 28, 12:26 PM
Subscribers
None

Details

Summary

Ref T13222. Ref T12588. See PHI683. To make "Create Subtask..." fancier, we need slightly more logic around subtype maps. Upgrade the plain old array into a proper object so it can have relevant methods, notably "get a list of valid child subtypes for some parent subtype".

Test Plan

Created and edited tasks, changed task subtypes. Grepped for affected symbols (newEditEngineSubtypeMap, newSubtypeMap).

Diff Detail

Repository
rP Phabricator
Branch
subtype1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 21257
Build 28916: Run Core Tests
Build 28915: arc lint + arc unit