mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
f4809b3524
This has always been awkward: `FunctionExpression.context` places have locations set to the declaration of the identifier, whereas other references have locations pointing to the reference itself. Here, we update context operands to have their location point to the first reference of that variable within the function.