Skip to content
Snippets Groups Projects
Commit bf5cab4f authored by Leo Balter's avatar Leo Balter Committed by Rick Waldron
Browse files

Add test for import with a rest parameter, invalid syntax

parent 51a0bad7
No related branches found
No related tags found
No related merge requests found
// 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( AssignmentExpression[+In, ?Yield] )
Forbidden Extensions
- ImportCall must not be extended.
This production doesn't allow the following production from ArgumentsList:
... AssignmentExpression
---*/
//- import
import(...[''])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment