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)
Mon, May 5, 3:16 PM
Unknown Object (File)
Apr 18 2025, 6:51 AM
Unknown Object (File)
Apr 10 2025, 8:11 AM
Unknown Object (File)
Apr 7 2025, 10:22 PM
Unknown Object (File)
Apr 5 2025, 12:30 AM
Unknown Object (File)
Mar 31 2025, 9:01 PM
Unknown Object (File)
Mar 31 2025, 5:24 PM
Unknown Object (File)
Mar 30 2025, 7:36 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