Page MenuHomePhabricator

Refine handling of "@task" attributes in Diviner
ClosedPublic

Authored by epriestley on Apr 6 2020, 6:49 PM.
Tags
None
Referenced Files
F13161867: D21062.id50181.diff
Mon, May 6, 10:31 AM
Unknown Object (File)
Fri, May 3, 9:44 AM
Unknown Object (File)
Mon, Apr 29, 7:22 PM
Unknown Object (File)
Thu, Apr 25, 3:21 AM
Unknown Object (File)
Sat, Apr 20, 5:10 PM
Unknown Object (File)
Apr 5 2024, 10:25 PM
Unknown Object (File)
Apr 5 2024, 1:47 PM
Unknown Object (File)
Mar 14 2024, 6:09 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