Details
-
Bug
-
Resolution: Done
-
P0: Blocker
-
6.4
-
None
-
-
827193b3a1 (qt/qtdeclarative/dev) 827193b3a1 (qt/tqtc-qtdeclarative/dev)
Description
script bindings with an empty block like this:
import QtQuick
Item {
x: {}
}
will hit an assert:
➜ dev.build ./qtbase/bin/qmllint Crash.qml ASSERT: "blockStatement->statements" in file /Users/max/qt-dev/dev/qtdeclarative/src/qmlcompiler/qqmljsimportvisitor.cpp, line 1689 [1] 7858 abort ./qtbase/bin/qmllint Crash.qml
Crashes everything using qmlcompiler including cachegen/qmlsc.
Does not affect 6.3.x or lower.
Attachments
For Gerrit Dashboard: QTBUG-103707 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
412167,3 | qqmljsimportvisitor: Fix assert being hit on empty block bindings | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |