| Summary: | [acorn] No parse error shown for bad import statement | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Michael Rennie <Michael_Rennie> |
| Component: | JS Tools | Assignee: | Olivier Thomann <Olivier_Thomann> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | curtis.windatt.public, Olivier_Thomann |
| Version: | 12.0 | ||
| Target Milestone: | 12.0 | ||
| Hardware: | PC | ||
| OS: | Mac OS X | ||
| Whiteboard: | |||
|
Description
Michael Rennie
Closing as INVALID. You need to sourceType to be "module" in order to get the syntax error. Otherwise you get another error that the source type needs to be "module" to use import statements. Yeah, I forgot about that. In 13.0 we should do a pass over all the module vs. script roughness to make it 'better' - i.e. don't lint module-like statements when not configured to properly do so, as a place to start (maybe) |