| Summary: | Program AST node range is wrong after recovery | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Michael Rennie <Michael_Rennie> |
| Component: | JS Tools | Assignee: | Michael Rennie <Michael_Rennie> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | critical | ||
| Priority: | P3 | CC: | mamacdon |
| Version: | unspecified | ||
| Target Milestone: | 6.0 M2 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Pushed fix + test updates to: http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=39eee7f8db3da811b2ebfd67dafc1c3f52d378e5 |
Consider the following snippet: function f() { return { }; } var f = { one }; If you visit the AST, you will notice that the range for the Program node is [37, 56] when it should be [0, 56]