| Summary: | wrong datatype if a cast is used in Array declaration | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Bernd Buschinski <b.buschinski> |
| Component: | Language Support: CPP (old) | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | cponnapalli |
| Priority: | NOR | ||
| Version First Reported In: | git master | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 5.0.0 | |
| Sentry Crash Report: | |||
| Attachments: |
patch adds tests for this bug, no fix
Data type displayed if a cast is used in array declaration |
||
|
Description
Bernd Buschinski
2011-08-24 16:07:36 UTC
Created attachment 65013 [details]
patch adds tests for this bug, no fix
test runs fine for simple case
"bool Array[3];"
but fails with
"bool Array[(int)3];"
Created attachment 98851 [details]
Data type displayed if a cast is used in array declaration
Reproduced the steps as described in the issue:
1. Created array of bool as shown:
bool Array[(int)4];
2. The resultant datatype after pointing the mouse at it, is shown correctly as array of bool and not as "int Array".
3. The issue is fixed.
4. Attached screenshot for reference.
Appears fixed under KDevelop 5 |