| Summary: | [tern] Uncaught type error from tern/acorn | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Curtis Windatt <curtis.windatt.public> |
| Component: | JS Tools | Assignee: | Michael Rennie <Michael_Rennie> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | Michael_Rennie |
| Version: | 8.0 | ||
| Target Milestone: | 9.0 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Curtis Windatt
This is caused by the 'statement' property of the ExpressionStatement node being null (when it should be a RecoveredNode) (function (console, args, readFileFunc) {
};
There was another issue in the file causing a very similar stack trace, I reduced it to a mismatched bracket snippet.
Fix: http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=5e97e8592ba8797892028cabc49c4ffdb3948b1d Curtis, please verify. +1, works on my large test files as well as the snippets. |