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.
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.