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)
Tue, Feb 18, 4:07 PM
Unknown Object (File)
Mon, Feb 17, 1:57 AM
Unknown Object (File)
Mon, Feb 17, 1:57 AM
Unknown Object (File)
Mon, Feb 17, 1:56 AM
Unknown Object (File)
Sun, Feb 16, 1:11 PM
Unknown Object (File)
Wed, Feb 12, 5:06 AM
Unknown Object (File)
Sun, Feb 9, 8:50 AM
Unknown Object (File)
Sun, Feb 9, 8:50 AM
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