Page MenuHomePhabricator

Refine handling of "@task" attributes in Diviner
ClosedPublic

Authored by epriestley on Apr 6 2020, 6:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 25, 3:21 AM
Unknown Object (File)
Sat, Apr 20, 5:10 PM
Unknown Object (File)
Fri, Apr 5, 10:25 PM
Unknown Object (File)
Fri, Apr 5, 1:47 PM
Unknown Object (File)
Mar 14 2024, 6:09 PM
Unknown Object (File)
Mar 14 2024, 6:08 PM
Unknown Object (File)
Mar 14 2024, 6:08 PM
Unknown Object (File)
Mar 14 2024, 6:08 PM
Subscribers
None

Details

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.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable