test262/test/language/statements
Mike Pennisi 1d96e25784 Refactor function literal tests for parsers
A number of tests for the parsing of function literals were expressed
using `eval`. This made the tests more complex than necessary and also
prevented the tests from providing value to ECMAScript parsers.

Remove the use of `eval` in the relevant tests and instead express the
expectations with literal source text.
2018-02-03 23:25:41 -05:00
..
async-function Rename negative test "phase" for parsing 2018-01-05 15:17:50 -05:00
async-generator Rename negative test "phase" for parsing 2018-01-05 15:17:50 -05:00
block Fix esid: static-semantics-hasproductionintailposition => sec-static-semantics-hascallintailposition 2018-01-10 15:44:56 -05:00
break Rename negative test "phase" for parsing 2018-01-05 15:17:50 -05:00
class Remove unused includes 2018-01-25 13:59:37 -05:00
const Rename negative test "phase" for parsing 2018-01-05 15:17:50 -05:00
continue Rename negative test "phase" for parsing 2018-01-05 15:17:50 -05:00
debugger Rename negative test "phase" for parsing 2018-01-05 15:17:50 -05:00
do-while Fix esid: static-semantics-hasproductionintailposition => sec-static-semantics-hascallintailposition 2018-01-10 15:44:56 -05:00
empty Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
expression Rename negative test "phase" for parsing 2018-01-05 15:17:50 -05:00
for Fix esid: static-semantics-hasproductionintailposition => sec-static-semantics-hascallintailposition 2018-01-10 15:44:56 -05:00
for-await-of Rename negative test "phase" for parsing 2018-01-05 15:17:50 -05:00
for-in Rename negative test "phase" for parsing 2018-01-05 15:17:50 -05:00
for-of Frontmatter: updates to ForIn/OfBodyEvaluation tests 2018-01-11 10:47:10 -05:00
function Refactor function literal tests for parsers 2018-02-03 23:25:41 -05:00
generators Rename negative test "phase" for parsing 2018-01-05 15:17:50 -05:00
if Fix esid: static-semantics-hasproductionintailposition => sec-static-semantics-hascallintailposition 2018-01-10 15:44:56 -05:00
labeled Fix esid: static-semantics-hasproductionintailposition => sec-static-semantics-hascallintailposition 2018-01-10 15:44:56 -05:00
let Rename negative test "phase" for parsing 2018-01-05 15:17:50 -05:00
return Fix esid: static-semantics-hasproductionintailposition => sec-static-semantics-hascallintailposition 2018-01-10 15:44:56 -05:00
switch Fix esid: static-semantics-hasproductionintailposition => sec-static-semantics-hascallintailposition 2018-01-10 15:44:56 -05:00
throw Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
try Fix esid: static-semantics-hasproductionintailposition => sec-static-semantics-hascallintailposition 2018-01-10 15:44:56 -05:00
variable Update remaining tests to use 'parse' instead of 'early' error phase 2018-01-25 13:59:37 -05:00
while Fix esid: static-semantics-hasproductionintailposition => sec-static-semantics-hascallintailposition 2018-01-10 15:44:56 -05:00
with Rename negative test "phase" for parsing 2018-01-05 15:17:50 -05:00