| Summary: | [ecma6] poor error reporting when import statements have syntax errors | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Olivier Thomann <Olivier_Thomann> |
| Component: | JS Tools | Assignee: | Olivier Thomann <Olivier_Thomann> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | curtis.windatt.public, Michael_Rennie |
| Version: | 11.0 | ||
| Target Milestone: | 12.0 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Olivier Thomann
For reference, here is the syntax for import statements: https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Instructions/import I opened https://github.com/ternjs/acorn/issues/409 against acorn. I expected the acorn_loose to handle this and provide a recovered identifier for the missing local inside the import specifier. In the meantime, I will provide a fix locally for orion. |