Add flag to enable lazy lookup of class information from shallow declarations
commitcae156fec2eea8361548de49aab2d8ded3501644
authorJake Bailey (Hacklang) <jakebailey@fb.com>
Wed, 17 Apr 2019 19:24:57 +0000 (17 12:24 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Wed, 17 Apr 2019 19:32:33 +0000 (17 12:32 -0700)
treed0043d5348c135329aa93c5f5f86db92eeb378ca
parent4bd9777e6a37f02d380c3e23da164d086cf15bac
Add flag to enable lazy lookup of class information from shallow declarations

Summary: When this flag is enabled, we will look up class members lazily from shallow declarations instead of eagerly computing folded declarations representing the entire class type. The remainder of this stack adds lazy-lookup implementations for the Typing_classes_heap API.

Reviewed By: pittsw

Differential Revision: D14876507

fbshipit-source-id: 42173aa82c7126bea1d2e3585d79e9b8e248dcff
hphp/hack/src/options/globalOptions.ml
hphp/hack/src/options/globalOptions.mli
hphp/hack/src/options/typecheckerOptions.ml
hphp/hack/src/server/serverConfig.ml
hphp/hack/src/server/serverLocalConfig.ml