prepack/test
Chris Blappert 2b600a3d56 Fix additional functions refactor
Summary:
Fix for bug NTillmann encountered with the additional functions refactor.

Every function references itself through its `arguments`, so additional functions were recursively trying to visit themselves while visiting their arguments. It doesn't make sense to visit a function from its own scope, so we add a check to the visitor preventing this.
Closes https://github.com/facebook/prepack/pull/1508

Differential Revision: D7130078

Pulled By: cblappert

fbshipit-source-id: ecb0497456169f3ff41c89f2fcf17e3ae9670d96
2018-03-01 16:16:26 -08:00
..
error-handler Change PP0023 error code to PP0026 2018-02-21 15:02:35 -08:00
node-cli Add minimal test case for the node-cli mode 2017-05-18 15:08:39 -07:00
react Handle React component render props 2018-02-28 22:12:07 -08:00
residual Partial evaluation of throw statements 2018-02-22 12:31:52 -08:00
serializer Fix additional functions refactor 2018-03-01 16:16:26 -08:00
source-maps Initial commit 2017-03-28 20:52:41 -07:00
std-in fix #1239 - Command-line based syntax errors now print location 2017-12-18 13:56:26 -08:00
test262@098f9ca3de Initial commit 2017-03-28 20:52:41 -07:00