| Summary: | [assist] completion is broken after <B base R> after a base guard | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] Objectteams | Reporter: | Stephan Herrmann <stephan.herrmann> | ||||
| Component: | OTDT | Assignee: | Stephan Herrmann <stephan.herrmann> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | 2.0 | ||||||
| Target Milestone: | 2.1 M3 | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Stephan Herrmann
Created attachment 205956 [details] test & proposed fix This patch improves recovery parsing for method mappings in several ways: + update the grammar rules for RecoveryCallinHeader adding the option to recognized a guard predicate in this position. -> this way the parser properly consumes the predicate and can thus re-enable base as a keyword This then broke a few tests from bug 340083 because short base specs were dropped during recovery. + make sure short method specs are added to their RecoveredMethodMapping if syntax indicates that's where they belong. Patch has been committed for 2.1 M3 (r2068/9) Verified using build 2.2.1.201209182002 |