Commit Graph

2 Commits

Author SHA1 Message Date
Dan Abramov
ec37b77b6e Run Prettier for serializer tests too (#2234)
Summary:
Follow-up to https://github.com/facebook/prepack/pull/2212.
Pull Request resolved: https://github.com/facebook/prepack/pull/2234

Differential Revision: D8788834

Pulled By: gaearon

fbshipit-source-id: 08937736bed3df0ea13d5e7a3925fb2f58633d5c
2018-07-11 03:55:11 -07:00
Simon Jensen
989210d5b8 When conditionally returning, add condition to non returning path
Summary:
Release note: Use conditional returns to refine the path condition. Fixes #1182

When one branch of a conditional is an abrupt completion add the join condition to the path condition. The previous path condition is stored in the saved completion and restored at join point.
Closes https://github.com/facebook/prepack/pull/1212

Reviewed By: hermanventer

Differential Revision: D6562943

Pulled By: simonhj

fbshipit-source-id: fcf53a7c54118628bd3f62e5010f4c1046fd1145
2017-12-13 17:09:45 -08:00