Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.3
-
64a3e205edfe0de8283bbc83d65ec808464d0ab5 (qt/qtdeclarative/dev)
Description
I build qmllint from 14a3b34906be5b749ebc6b6c1d8f6807fff8fd88 in qtdeclarative.
And for such code:
MyListView.qml
import QtQuick 2.15
MyListView {
MyMouseArea {}
}
MyMouseArea
import QtQuick 2.11
MouseArea {
enabled: visible
}
qmllint hangs. Interesting that if remove `MyMouseArea {}` from MyListView.qml qmllint detects inheritance cycle:
/usr/local/qt6_tools/bin/qmllint MyListView.qml Warning: MyListView.qml: MyListView is part of an inheritance cycle: MyListView -> MyListView
qmllint that I use everyday and that build from a1c91787264f6f535b5cf094b57ee53058856df4 with my patches on top of it (because I can not find any revision later that have no bugs) produces warnings for both cases about inheritance cycle.
Attachments
For Gerrit Dashboard: QTBUG-96343 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
371096,5 | qmllint: Ignore scopes affected by inheritance cycles | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |