HomePhorge

Refine handling of "@task" attributes in Diviner

Description

Refine handling of "@task" attributes in Diviner

Summary: Ref T13505. See that task for details. When a class has exactly one "@task" block, this API returns a string. Some day, this should be made more consistent.

Test Plan: Viewed a class with exactly one "@task", no more fatal. Viewed classes with zero and more than one "@task" attributes, got clean renderings.

Maniphest Tasks: T13505

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

Details

Provenance
epriestleyAuthored on Apr 6 2020, 11:47 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP271e104c7ea4: Update DivinerAtomController for a long-ago change to the docblock parser API
Branches
Unknown
Tags
Unknown

Event Timeline