early-dup-attribute-key-export.js (670B)
1 // |reftest| error:SyntaxError module 2 // Copyright (C) 2021 the V8 project authors. All rights reserved. 3 // This code is governed by the BSD license found in the LICENSE file. 4 /*--- 5 description: WithClause may not have duplicate keys (export declaration) 6 esid: sec-modules 7 info: | 8 WithClause: AttributesKeyword { WithEntries,opt } 9 10 - It is a Syntax Error if WithClauseToAttributes of WithClause has two 11 entries a and b such that a.[[Key]] is b.[[Key]]. 12 features: [import-attributes] 13 flags: [module] 14 negative: 15 phase: parse 16 type: SyntaxError 17 ---*/ 18 19 $DONOTEVALUATE(); 20 21 export * from './import-attribute-3_FIXTURE.js' with { 22 type: 'json', 23 'typ\u0065': '' 24 };