fix hot shallow declsnightly-2021.10.22
commit3810d4e2a0ac99d38f28536bf8b87b06c34f1b2c
authorBob Ren <[email protected]>
Fri, 22 Oct 2021 02:11:02 +0000 (21 19:11 -0700)
committerFacebook GitHub Bot <[email protected]>
Fri, 22 Oct 2021 02:13:06 +0000 (21 19:13 -0700)
tree550e455d2fb9b8c773d5d6ebf0524b8d24475ac5
parente4dfeef49f67e947f0cbe9c25e4206d64d1f00ef
fix hot shallow decls

Summary: We need to make sure force_load_hot_shallow_decls is checked everywhere load_decls_from_saved_state is checked because we have invalidation machinery for hot decls that is seperate from the loading of the hot decls.

Differential Revision: D31845179

fbshipit-source-id: 4f1842a7056ba3c4d8271758aed9d9fc34a7aad8
hphp/hack/src/server/serverLazyInit.ml