Debian Codegraph @

js/src/tests/test262/language/expressions/dynamic-import/syntax/invalid/top-level-not-extensible-args.js

raw
1 // |reftest| error:SyntaxError
2 // This file was procedurally generated from the following sources:
3 // - src/dynamic-import/not-extensible-args.case
4 // - src/dynamic-import/syntax/invalid/top-level.template
5 /*---
6 description: ImportCall is not extensible - no arguments list (top level syntax)
7 esid: sec-import-call-runtime-semantics-evaluation
8 features: [dynamic-import]
9 flags: [generated]
10 negative:
11 phase: parse
12 type: SyntaxError
13 info: |
14 ImportCall :
15 import( AssignmentExpression )
16
17
18 ImportCall :
19 import( AssignmentExpression[+In, ?Yield, ?Await] ,opt )
20 import( AssignmentExpression[+In, ?Yield, ?Await] , AssignmentExpression[+In, ?Yield, ?Await] ,opt )
21
22 Forbidden Extensions
23
24 - ImportCall must not be extended.
25 ---*/
26
27 $DONOTEVALUATE();
28
29 import('./empty_FIXTURE.js', {}, '');