Skip to content

Commit 6ecdd3a

Browse files
SamChou19815meta-codesync[bot]
authored andcommitted
[flow] Stop caching LookupT and GetPropT use_ts in constraint cache
Summary: They don't seem to depend on the constraint cache to ensure termination. Changelog: [internal] Reviewed By: panagosg7 Differential Revision: D85918436 fbshipit-source-id: a9a7164ff389fe9d433b4384ae6c019cc90b9ce3
1 parent 5ac6ff5 commit 6ecdd3a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/typing/flow_cache.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ module FlowConstraint = struct
3030
| (_, ConcretizeT _) ->
3131
false
3232
| ( _,
33-
( BindT _ | CallT _ | MethodT _ | PrivateMethodT _ | ConstructorT _ | ObjRestT _
34-
| ObjTestT _ | ArrRestT _ )
33+
( BindT _ | CallT _ | MethodT _ | PrivateMethodT _ | ConstructorT _ | LookupT _ | GetPropT _
34+
| ObjRestT _ | ObjTestT _ | ArrRestT _ )
3535
) ->
3636
false
3737
| _ ->

0 commit comments

Comments
 (0)