This repository was archived by the owner on Jul 31, 2018. It is now read-only.
This repository was archived by the owner on Jul 31, 2018. It is now read-only.
Prelude Loader violates 10.1.1 and user-functions may be hoisted above prelude #9
Open
Description
Concatenation of separate JS programs into one Program means that we do not use the correct strictness for them all if they differ.
We should read each Program in separately.
Additionally, prelude functions, such as those used by conrad for his global object setup may be shadowed by user-code functions that are hoisted above them.
jscert_dev/interp/src/run_js.ml
Line 87 in 8e82674
https://es5.github.io/#x10.1.1
Activity
Prelude scripts now run first, producing a modified initial state for…
IgnoredAmbience commentedon Apr 30, 2015
I think this is causing the failure of ch10/10.4/10.4.3/10.4.3-1-17gs.js
IgnoredAmbience commentedon Apr 30, 2015
and tests/test262/ch10/10.4/10.4.3/10.4.3-1-19gs.js
IgnoredAmbience commentedon May 11, 2015
Can confirm the commit on this ticket hasn't fixed the listed test cases.
Prelude scripts now run first, producing a modified initial state for…
Begin testing harness: Add support for keeping heap between executions
Begin testing harness: Add support for keeping heap between executions