| Summary: | Open implementation must follow member expressions with assignments | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Curtis Windatt <curtis.windatt.public> |
| Component: | JS Tools | Assignee: | Curtis Windatt <curtis.windatt.public> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 10.0 | ||
| Target Milestone: | 10.0 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
| Bug Depends on: | 470617 | ||
| Bug Blocks: | |||
|
Description
Curtis Windatt
http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=cf8223f2c99ccfc543caaa4150e509b627c4aa9b Fix + Tests If the current node is a member expression with an assignment (a.b=1) we want to follow the assignment. If it isn't an assignment, we just need to do a typeDef lookup on the member expression and Tern will return the object expression if it exists (a = {b: 1}; a.b;). |