DescriptionSimplify error message logic in ParseImportNames
The new logic ensures that the error messages are the same in the
"import { <reserved word> }" and "import { foo as <reserved ord> }"
cases.
Also prepares ParseImportNames for returning both the import and local
names to ParseImportClause.
BUG=v8:1569
LOG=n
Committed: https://crrev.com/8b33567fd37e3151d3ea707f7fb47b67196a5fc2
Cr-Commit-Position: refs/heads/master@{#26863}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Fixed nit #
Messages
Total messages: 10 (3 generated)
|