| Summary: | Inner type in array var declaration not highlighted | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Nicolás Alvarez <nalvarez> |
| Component: | Language Support: CPP (old) | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | cponnapalli |
| Priority: | NOR | ||
| Version First Reported In: | 4.6.1 | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 5.0.0 | |
| Sentry Crash Report: | |||
| Attachments: | Screenshot showing the highlighting of the Inner identifier in the initialization of the array and the variable type | ||
Created attachment 98504 [details]
Screenshot showing the highlighting of the Inner identifier in the initialization of the array and the variable type
1. Executed the code as provided.
2. As shown in the screenshot, the inner identifier in the Initialization of the array, as well as in the variable type is highlighted properly.
Confirmed. Looks fine using KDevelop 5. |
In this code: struct Root { struct Inner {}; }; Root::Inner foo[] = { Root::Inner() }; The 'Inner' identifier in the initialization of the array is highlighted properly, but the 'Inner' in the variable type is not. Removing the brace initialization makes the problem go away.