Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.8.3
-
None
-
-
e29d00056 (dev), ab39e11d0 (6.9)
Description
Using this simple qml, qmlls will crash
import QtQuick
Rectangle {
MouseArea {
id: handler
anchors.fill: parent
drag.axis: Drag.XAxis
drag.minimumX: 0
}
}
#0 0x00007fb8bcc2996c in QQmlJSScope::hasEnumerationKey(QString const&) const () from tools/Qt6/bin/../../../lib/libQt6QmlCompiler.so.6 #1 0x000055e2bd6c5059 in QQmlLSUtils::resolveIdentifierExpressionType(QQmlJS::Dom::DomItem const&, QQmlLSUtils::ResolveOptions) () #2 0x000055e2bd6baeac in QQmlLSUtils::resolveExpressionType(QQmlJS::Dom::DomItem const&, QQmlLSUtils::ResolveOptions) () #3 0x000055e2bd71855b in HighlightingVisitor::highlightBySemanticAnalysis(QQmlJS::Dom::DomItem const&, QQmlJS::SourceLocation) () #4 0x000055e2bd713ca1 in HighlightingVisitor::operator()(QQmlJS::Dom::Path, QQmlJS::Dom::DomItem const&, bool) () ....