| Summary: | Labeled statements are not scoped when finding occurrences | ||
|---|---|---|---|
| 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: | 6.0 | ||
| Target Milestone: | 7.0 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
| Bug Depends on: | 436728 | ||
| Bug Blocks: | |||
http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=7480e9ac979f3b0f5f800043d5b89208ade254a2 Fixed in master + tests added |
loop: while(true){ break loop; } loop: while(true){ break loop; } We don't create a scope when a labeled statement is found, so if the same identifier is used elsewhere it will be marked. I will also add a test checking that scopes are handled correctly when they are nested.