mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
InferReferenceEffects needs to be able to pass around the function's Environment, but there is already a local class with that name. It's confusing to have two "environment" concepts in one file, so this PR renames that local class to the more appropriate `InferenceState` and renames local variables and updates comments accordingly.