prepack/test
Chris Blappert 473470a9a5 Filter ModifiedBindings by environment's creating optimized function (#2551)
Summary:
Release Notes: None

Changes the logic for determining which ModifiedBindings need serialization to work properly in the face of nested optimized functions. We should only serialize `ModifiedBinding`s if their environment was not created by the optimized function or its children (i.e. the binding should not be local to the optimized function).

This also solves the issue that React components don't have a parent chain which is important for properly handling nested optimized functions. Solves #2550.

Solves #2430, Solves #2426, Solves #2423, Solves #2422 (some were solved by previous PRs, just adding the tests here as well).
Pull Request resolved: https://github.com/facebook/prepack/pull/2551

Differential Revision: D10010048

Pulled By: cblappert

fbshipit-source-id: 2a855017514832a70d024f1ae9a91e9f07736ce0
2018-10-03 11:25:04 -07:00
..
error-handler Model aliasing effects for array loop operators (#2570) 2018-10-02 12:39:46 -07:00
react Adds support for abstract length arrays in React reconcilation and serialization (#2571) 2018-09-27 00:50:24 -07:00
serializer Filter ModifiedBindings by environment's creating optimized function (#2551) 2018-10-03 11:25:04 -07:00
source-maps Run Prettier for serializer tests too (#2234) 2018-07-11 03:55:11 -07:00
std-in fix #1239 - Command-line based syntax errors now print location 2017-12-18 13:56:26 -08:00
test262@e9a5a7f918 Update test262 submodule hash 2018-07-06 14:25:54 -07:00