Page MenuHomePhabricator

Refine handling of "@task" attributes in Diviner
ClosedPublic

Authored by epriestley on Apr 6 2020, 6:49 PM.
Tags
None
Referenced Files
F19499402: D21062.id50181.diff
Thu, Jan 8, 1:49 PM
F19467842: D21062.diff
Sat, Jan 3, 6:18 PM
F19454452: D21062.diff
Tue, Dec 30, 11:26 PM
F19315348: D21062.diff
Thu, Dec 25, 3:35 AM
F19083218: D21062.id50181.diff
Dec 2 2025, 12:32 PM
F19036102: D21062.id.diff
Nov 25 2025, 7:01 PM
F19029233: D21062.diff
Nov 24 2025, 5:15 PM
F18985384: D21062.id50180.diff
Nov 17 2025, 1:00 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