Disallow SpreadElement inside dynamic import (#529)

* Disallow SpreadElement inside dynamic import

* tweak error message
This commit is contained in:
Brian Ng
2017-05-17 11:07:09 -05:00
committed by Henry Zhu
parent 23ff45fcfa
commit dcef4012a0
3 changed files with 13 additions and 2 deletions

View File

@@ -0,0 +1 @@
import(...[1])

View File

@@ -0,0 +1,3 @@
{
"throws": "... is not allowed in import() (1:7)"
}