You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary: Implements the write_targs method for OutputWithLocations to handle type arguments in generic types. For non-empty type arguments, writes opening bracket "[", then iterates through each type argument calling write_type (which will recursively capture locations), inserting ", " separators between arguments, and finally writes closing bracket "]". This ensures that each type in a generic like List[int] gets its own location. Empty type arguments produce no output. Includes tests verifying correct bracket structure, comma separation, and integration with write_type calls.
Reviewed By: ndmitchell
Differential Revision: D87712004
fbshipit-source-id: d082709ff1a57b24eba75fabcf73b57129024672
0 commit comments