From 4f1aa4d686291d05d5fcab2bdcf691bb375d6fec Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Thu, 26 May 2022 15:09:37 -0700 Subject: [PATCH] Turn on env-mode ssa Summary: Turns on the ssa env mode in Flow, which supercedes constrained writes with additional fixes to refinement invalidation. Reviewed By: SamChou19815 Differential Revision: D36717890 fbshipit-source-id: 20ee963591e8b454458273ac5aa86798e94a8bbd --- .flowconfig | 2 +- .flowconfig.android | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.flowconfig b/.flowconfig index 51f8f2f5f5d..c6d1116723b 100644 --- a/.flowconfig +++ b/.flowconfig @@ -51,7 +51,7 @@ suppress_type=$FlowFixMeProps suppress_type=$FlowFixMeState suppress_type=$FlowFixMeEmpty -experimental.env_mode=constrain_writes +experimental.env_mode=ssa [lints] sketchy-null-number=warn diff --git a/.flowconfig.android b/.flowconfig.android index 839ab2c1815..0d3f9a3f7dd 100644 --- a/.flowconfig.android +++ b/.flowconfig.android @@ -51,7 +51,7 @@ suppress_type=$FlowFixMeProps suppress_type=$FlowFixMeState suppress_type=$FlowFixMeEmpty -experimental.env_mode=constrain_writes +experimental.env_mode=ssa [lints] sketchy-null-number=warn