prepack/scripts
Dominic Gannaway d38f0570c2 Fixes a bunch of serialization bugs
Summary:
Release notes: none

This PR came about from trying to fix https://github.com/facebook/prepack/issues/1771. This PR fails on the tests still, so I need some help getting them resolved.

- `_emitProperty` should account for the fact a `key` can be an `AbstractValue`, thus needs to serialize the value.
- `visitObjectPropertiesWithComputedNames` in the visitor and `_getNestedAbstractValues` in the serializer both need to take into account cases where `alternate` and `consequent` might not be `AbstractValue`s.
Closes https://github.com/facebook/prepack/pull/1781

Differential Revision: D7777483

Pulled By: trueadm

fbshipit-source-id: 1b94489ec9c800a68414031e0bc63b06061fe559
2018-04-26 14:22:19 -07:00
..
__snapshots__ Fixes an issue with getDerivedStateFromProps 2018-04-26 01:58:46 -07:00
debug-fb-www.js Adds more exclusions to the fb-www lint whitelist 2018-04-17 08:41:52 -07:00
detect_bad_deps.js Fix cycle detection script. 2018-04-02 22:28:32 -07:00
generate-sourcemaps-test.js Fix: Test output percentage should round down instead of up 2017-12-13 12:00:48 -08:00
instrumentor.js Always use fast traversal function when trivially possible. 2017-07-24 16:39:31 -07:00
multi-runner.js Fix prettier and lint failures 2017-10-23 00:00:47 -07:00
prettier.js Making Prettier a check-in gate 2017-07-07 11:35:32 -07:00
publish-gh-pages.sh Website publication script should remove its temporary directories 2018-01-01 14:27:47 -08:00
test262-filters.yml Use integration api to run Test262 tests 2017-12-01 17:46:29 -08:00
test262-runner.js Fix Flow v68 errors 2018-03-19 11:57:38 -07:00
test262.js Fixes Prettier issues on master 2018-04-19 08:53:06 -07:00
test-error-handler.js Removing --abstractEffectsInAdditionalFunctions option 2018-03-20 15:04:24 -07:00
test-internal-react.js Add React-related internal regression test to Prepack 2018-04-23 09:09:00 -07:00
test-internal.js Fixes Prettier issues on master 2018-04-19 08:53:06 -07:00
test-node-cli-mode.sh Add minimal test case for the node-cli mode 2017-05-18 15:08:39 -07:00
test-react.js Fixes a bunch of serialization bugs 2018-04-26 14:22:19 -07:00
test-residual.js Partial evaluation of throw statements 2018-02-22 12:31:52 -08:00
test-runner.js Fixes Prettier issues on master 2018-04-19 08:53:06 -07:00
test-sourcemaps.sh Extract scripts from npm package (#463) 2017-04-26 12:26:18 -07:00
test-std-in.sh fix #1239 - Command-line based syntax errors now print location 2017-12-18 13:56:26 -08:00