mirror of
https://github.com/tc39/test262.git
synced 2025-08-21 01:48:30 +02:00
These tests are all based on the existing dynamic import syntax tests, just updated to use the new syntax. This PR does not contain any manually written tests -- they are all generated.
19 lines
539 B
Plaintext
19 lines
539 B
Plaintext
// Copyright (C) 2025 Igalia, S.L. All rights reserved.
|
|
// Copyright (C) 2018 Leo Balter. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
/*---
|
|
desc: ImportCall is not extensible - no rest parameter
|
|
template: syntax/invalid
|
|
info: |
|
|
ImportCall :
|
|
import . defer ( AssignmentExpression[+In, ?Yield] )
|
|
|
|
This production doesn't allow the following production from ArgumentsList:
|
|
|
|
... AssignmentExpression
|
|
features: [import-defer]
|
|
---*/
|
|
|
|
//- import
|
|
import.defer(...['./empty_FIXTURE.js'])
|