Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
None
-
5.0.0
-
None
-
fff130ee6c4b4a06d0f90fa8ed8c3a6c4218035f
Description
Using V8 Javascript engine, using the prefix in-place addition operator in a signal handler in QML causes a crash:
I.e. the following qml code causes a crash:
onFooChanged: ++bar
It seems to work fine in the onClicked handler, and bar++ works fine too.
A simple example is attached.
Attachments
For Gerrit Dashboard: QTBUG-21310 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
8349,1 | Don't crash on invalid expression | master | qt/qtdeclarative | Status: MERGED | +2 | 0 |
8616,1 | Fix parsing of unary expressions. | master | qt/qtdeclarative | Status: MERGED | +2 | 0 |