early-dup-export-star-as-dflt.js 532 B

12345678910111213141516171819
  1. // Copyright (C) 2018 Valerie Young. All rights reserved.
  2. // This code is governed by the BSD license found in the LICENSE file.
  3. /*---
  4. esid: sec-module-semantics-static-semantics-early-errors
  5. description: >
  6. It is a Syntax Error if the ExportedNames of ModuleItemList contains any
  7. duplicate entries.
  8. flags: [module]
  9. features: [export-star-as-namespace-from-module]
  10. negative:
  11. phase: parse
  12. type: SyntaxError
  13. ---*/
  14. $DONOTEVALUATE();
  15. var x;
  16. export default x;
  17. export * as default from './early-dup-export-start-as-dflt.js';