prepack/test
Herman Venter afc77da9a0 Allow PossiblyNormalCompletion to have both forks be normal (#2230)
Summary:
Release note: none

I'd like to get rid of ErasedAbruptCompletion and restore the invariant that any subclass of AbruptCompletion is strictly abrupt. To do that, I need to relax some invariants in PossiblyNormalCompletion.

This is also a first step towards fixing the code for composing possibly normal completions correctly.

I've pulled this out into a relatively small PR to make reviewing easier. Hence, the remaining TODO in the code.

Even this smallish change results in some regression because previously different code paths were followed that allowed simplification to succeed that will now fail. Fixing that is too ambitious for this PR and will have to wait.
Pull Request resolved: https://github.com/facebook/prepack/pull/2230

Differential Revision: D8808922

Pulled By: hermanventer

fbshipit-source-id: 4afce5e27bc30290b2b237b40c1e92f8c22bd100
2018-07-11 12:13:37 -07:00
..
error-handler Run Prettier for serializer tests too (#2234) 2018-07-11 03:55:11 -07:00
node-cli Run Prettier for serializer tests too (#2234) 2018-07-11 03:55:11 -07:00
react Run Prettier checks on CI (#2212) 2018-07-10 09:55:23 -07:00
residual Run Prettier for serializer tests too (#2234) 2018-07-11 03:55:11 -07:00
serializer Allow PossiblyNormalCompletion to have both forks be normal (#2230) 2018-07-11 12:13:37 -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