This commit is contained in:
legendecas 2021-08-20 00:41:21 +08:00 committed by Rick Waldron
parent ddff7c5ded
commit c1c1ed47db
2 changed files with 4 additions and 9 deletions

View File

@ -1,7 +1,7 @@
// Copyright (C) 2015 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 10.2.1
esid: sec-module-semantics-static-semantics-early-errors
description: >
It is a Syntax Error if the LexicallyDeclaredNames of ModuleItemList
contains any duplicate entries.

View File

@ -2,7 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 10.2.1
esid: sec-module-semantics-static-semantics-early-errors
description: >
It is a Syntax Error if the LexicallyDeclaredNames of ModuleItemList
contains any duplicate entries.
@ -16,10 +16,5 @@ negative:
$DONOTEVALUATE();
function x() {
}
async function x() {
}
function x() {}
async function x() {}