dillon1000/react

Commit

Fix test262 preprocessor

The test262 preprocessor was correctly running forget against all the functions 
in each test file, but it was incorrectly transforming the file contents 
overall. Previously we swapped the contents of the file for the transformed 
output of the last function, now we use the babel plugin to rewrite functions in 
place and keep the rest of the file intact. 

Of course, the tests that failed before still fail. But when we fix them the 
tests will work now.
Browse files
Changed paths1 file
First-parent comparison
M compiler/forget/scripts/test262-preprocessor.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…