Bug 413167 - Syntax highlighting of std::array data type has mismatched square brackets
Summary: Syntax highlighting of std::array data type has mismatched square brackets
Status: REPORTED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (show other bugs)
Version: 5.4.2
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-19 03:18 UTC by kogiokkafrms
Modified: 2019-10-19 03:18 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Mismatched operator[] (22.68 KB, image/png)
2019-10-19 03:18 UTC, kogiokkafrms
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kogiokkafrms 2019-10-19 03:18:35 UTC
Created attachment 123329 [details]
Mismatched operator[]

SUMMARY
The operator[] of std::array type variables has different syntax highlight colors.

STEPS TO REPRODUCE

#include <array>
int main()
{
  std::array<double, 5> data;
  data[0] = 1;
  return 0;
}

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System: Fedora 30
KDE Plasma Version: 5.15.5
KDE Frameworks Version: 5.59.0
Qt Version: 5.12.5
Kernel Version: 5.3.5-200.fc30.x86_64
OS Type: 64-bit

ADDITIONAL INFORMATION