Generate tests

This commit is contained in:
Leo Balter 2018-10-08 11:05:09 -04:00
parent 4388d5dc25
commit 9e4fc1b1c2
17 changed files with 51 additions and 51 deletions

View File

@ -21,9 +21,9 @@ info: |
9. Return promiseCapability.[[Promise]].
---*/
// It is a Syntax Error if ModuleItemList Contains NewTarget
// This is still valid in script code
new.target;
// This is still valid in script code, and should not be valid for module code
// https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
var x; function x() {}
let f = () => import('./script-code-valid.js');

View File

@ -21,9 +21,9 @@ info: |
9. Return promiseCapability.[[Promise]].
---*/
// It is a Syntax Error if ModuleItemList Contains NewTarget
// This is still valid in script code
new.target;
// This is still valid in script code, and should not be valid for module code
// https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
var x; function x() {}
let f = () => {

View File

@ -21,9 +21,9 @@ info: |
9. Return promiseCapability.[[Promise]].
---*/
// It is a Syntax Error if ModuleItemList Contains NewTarget
// This is still valid in script code
new.target;
// This is still valid in script code, and should not be valid for module code
// https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
var x; function x() {}
async function f() {

View File

@ -21,9 +21,9 @@ info: |
9. Return promiseCapability.[[Promise]].
---*/
// It is a Syntax Error if ModuleItemList Contains NewTarget
// This is still valid in script code
new.target;
// This is still valid in script code, and should not be valid for module code
// https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
var x; function x() {}
async function f() {

View File

@ -21,9 +21,9 @@ info: |
9. Return promiseCapability.[[Promise]].
---*/
// It is a Syntax Error if ModuleItemList Contains NewTarget
// This is still valid in script code
new.target;
// This is still valid in script code, and should not be valid for module code
// https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
var x; function x() {}
async function f() {

View File

@ -21,9 +21,9 @@ info: |
9. Return promiseCapability.[[Promise]].
---*/
// It is a Syntax Error if ModuleItemList Contains NewTarget
// This is still valid in script code
new.target;
// This is still valid in script code, and should not be valid for module code
// https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
var x; function x() {}
label: {

View File

@ -21,9 +21,9 @@ info: |
9. Return promiseCapability.[[Promise]].
---*/
// It is a Syntax Error if ModuleItemList Contains NewTarget
// This is still valid in script code
new.target;
// This is still valid in script code, and should not be valid for module code
// https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
var x; function x() {}
{

View File

@ -21,9 +21,9 @@ info: |
9. Return promiseCapability.[[Promise]].
---*/
// It is a Syntax Error if ModuleItemList Contains NewTarget
// This is still valid in script code
new.target;
// This is still valid in script code, and should not be valid for module code
// https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
var x; function x() {}
do {

View File

@ -21,9 +21,9 @@ info: |
9. Return promiseCapability.[[Promise]].
---*/
// It is a Syntax Error if ModuleItemList Contains NewTarget
// This is still valid in script code
new.target;
// This is still valid in script code, and should not be valid for module code
// https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
var x; function x() {}
if (false) {

View File

@ -21,9 +21,9 @@ info: |
9. Return promiseCapability.[[Promise]].
---*/
// It is a Syntax Error if ModuleItemList Contains NewTarget
// This is still valid in script code
new.target;
// This is still valid in script code, and should not be valid for module code
// https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
var x; function x() {}
if (false) {

View File

@ -21,9 +21,9 @@ info: |
9. Return promiseCapability.[[Promise]].
---*/
// It is a Syntax Error if ModuleItemList Contains NewTarget
// This is still valid in script code
new.target;
// This is still valid in script code, and should not be valid for module code
// https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
var x; function x() {}
function fn() {

View File

@ -21,9 +21,9 @@ info: |
9. Return promiseCapability.[[Promise]].
---*/
// It is a Syntax Error if ModuleItemList Contains NewTarget
// This is still valid in script code
new.target;
// This is still valid in script code, and should not be valid for module code
// https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
var x; function x() {}
function fn() {

View File

@ -21,9 +21,9 @@ info: |
9. Return promiseCapability.[[Promise]].
---*/
// It is a Syntax Error if ModuleItemList Contains NewTarget
// This is still valid in script code
new.target;
// This is still valid in script code, and should not be valid for module code
// https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
var x; function x() {}
if (true) import('./script-code-valid.js');

View File

@ -21,9 +21,9 @@ info: |
9. Return promiseCapability.[[Promise]].
---*/
// It is a Syntax Error if ModuleItemList Contains NewTarget
// This is still valid in script code
new.target;
// This is still valid in script code, and should not be valid for module code
// https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
var x; function x() {}
if (true) {

View File

@ -21,9 +21,9 @@ info: |
9. Return promiseCapability.[[Promise]].
---*/
// It is a Syntax Error if ModuleItemList Contains NewTarget
// This is still valid in script code
new.target;
// This is still valid in script code, and should not be valid for module code
// https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
var x; function x() {}
let x = 0;

View File

@ -21,9 +21,9 @@ info: |
9. Return promiseCapability.[[Promise]].
---*/
// It is a Syntax Error if ModuleItemList Contains NewTarget
// This is still valid in script code
new.target;
// This is still valid in script code, and should not be valid for module code
// https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
var x; function x() {}
with ({}) {

View File

@ -11,9 +11,9 @@ info: |
import( AssignmentExpression )
---*/
// It is a Syntax Error if ModuleItemList Contains NewTarget
// This is still valid in script code
new.target;
// This is still valid in script code, and should not be valid for module code
// https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
var x; function x() {}
import('./script-code-valid.js');