Bug 485686 - Doxyqml: restore handling of array-typed attributes
Summary: Doxyqml: restore handling of array-typed attributes
Status: RESOLVED FIXED
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-17 16:24 UTC by Olaf Mandel
Modified: 2024-04-17 16:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olaf Mandel 2024-04-17 16:24:41 UTC
This is about the Doxyqml tool (https://invent.kde.org/sdk/doxyqml).

SUMMARY

Since commit 5328ede, parsing stops at array-typed class attributes, e.g.:

```qml
Item {
    transitions: [ ]

    /**
     * This is missing from the output
     */
    property int after
}
```

STEPS TO REPRODUCE
1. Run doxyqml over a file that assigns an array to one of the base-classes properties
2. Note that the output is missing everything from this attribute till the end of the class

OBSERVED RESULT

```c++
class NameOfInputFile : public QtQuick.Item {
var transitions;
};
```

EXPECTED RESULT

```c++
class NameOfInputFile : public QtQuick.Item {
var transitions;
public:
/**
 * This is missing from the output
 */
Q_PROPERTY(int after READ dummyGetter_after_ignore)
};
```

SOFTWARE/OS VERSIONS

Linux, Python 3.10

ADDITIONAL INFORMATION
Comment 1 Olaf Mandel 2024-04-17 16:50:35 UTC
https://invent.kde.org/sdk/doxyqml/-/merge_requests/22 was merged