Page MenuHomePhabricator

[Flow202][native][skip-ci] [31/x] Address missing-local-annot type errors
ClosedPublic

Authored by ashoat on Nov 27 2023, 12:50 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 7, 9:57 PM
Unknown Object (File)
Sun, Apr 21, 5:56 AM
Unknown Object (File)
Mar 5 2024, 7:43 AM
Unknown Object (File)
Mar 5 2024, 7:43 AM
Unknown Object (File)
Mar 5 2024, 7:43 AM
Unknown Object (File)
Mar 5 2024, 7:43 AM
Unknown Object (File)
Dec 13 2023, 6:49 PM
Unknown Object (File)
Dec 11 2023, 9:46 PM
Subscribers
None

Details

Summary

The new version of Flow wants more annotations for function and member definitions. This diff adds all of the required annotations to the native codebase necessary to clear all missing-local-annot errors.

This is the native equivalent of D9771 (web), D9697 (lib), and D9873 (keyserver).

NOTE: CI will fail on this diff. I considered the possibility of fixing Flow errors BEFORE upgrading Flow, but it wasn't possible... in some cases, the fixes to support the new version of Flow caused errors in the old version. I could have hidden these type errors with $FlowFixMe lines and then later revert those, but that seemed like too much busy work.

Depends on D10014

Test Plan

Confirm the Flow errors go away

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ashoat created this revision.
This revision is now accepted and ready to land.Nov 27 2023, 6:57 AM
ashoat retitled this revision from t b[Flow202][native][skip-ci] [31/x] Address missing-local-annot type errors to [Flow202][native][skip-ci] [31/x] Address missing-local-annot type errors.Nov 27 2023, 8:51 AM
ashoat edited the summary of this revision. (Show Details)