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
F3397402: D10015.id33659.diff
Sun, Dec 1, 5:32 PM
Unknown Object (File)
Fri, Nov 29, 4:20 PM
Unknown Object (File)
Fri, Nov 29, 1:04 PM
Unknown Object (File)
Sat, Nov 23, 2:44 PM
Unknown Object (File)
Wed, Nov 6, 7:17 AM
Unknown Object (File)
Oct 17 2024, 11:49 AM
Unknown Object (File)
Oct 17 2024, 11:49 AM
Unknown Object (File)
Oct 17 2024, 11:49 AM
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
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 24456
Build 210172: arc lint + arc unit

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)