[kde] [Bug 485686] New: Doxyqml: restore handling of array-typed attributes
Olaf Mandel
bugzilla_noreply at kde.org
Wed Apr 17 17:24:41 BST 2024
https://bugs.kde.org/show_bug.cgi?id=485686
Bug ID: 485686
Summary: Doxyqml: restore handling of array-typed attributes
Classification: I don't know
Product: kde
Version: unspecified
Platform: Other
OS: Other
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: unassigned-bugs at kde.org
Reporter: o.mandel at menlosystems.com
Target Milestone: ---
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
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list