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)
Sun, Dec 22, 8:57 AM
Unknown Object (File)
Sun, Dec 22, 8:57 AM
Unknown Object (File)
Sun, Dec 22, 8:57 AM
Unknown Object (File)
Sun, Dec 22, 8:57 AM
Unknown Object (File)
Tue, Dec 17, 1:10 AM
Unknown Object (File)
Sun, Dec 1, 5:32 PM
Unknown Object (File)
Fri, Nov 29, 4:20 PM
Unknown Object (File)
Fri, Nov 29, 1:04 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)