diff --git a/src/dynamic-import/no-rest-param.case b/src/dynamic-import/no-rest-param.case new file mode 100644 index 0000000000000000000000000000000000000000..03320b5359e701621d30c42f97ef80a6605e7ead --- /dev/null +++ b/src/dynamic-import/no-rest-param.case @@ -0,0 +1,20 @@ +// 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(...[''])