Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.4, 6.5
-
f693fb3d1b (qt/qtdeclarative/dev) f693fb3d1b (qt/tqtc-qtdeclarative/dev)
Description
The attached example triggers an assert when running qmllint/cachegen/etc.
ASSERT: "it != registers.end()" in file qtdeclarative/src/qmlcompiler/qqmljscompilepass_p.h, line 80
The reason seems to be that StoreReg seems to expect that the Accumulator contains a value, but that's not set up when using optional chaining.
Attachments
For Gerrit Dashboard: QTBUG-107047 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
435709,4 | Do not store the accumulator in optional chaining call | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
435766,2 | WIP: This should fail _some_ tests? | dev | qt/qtdeclarative | Status: ABANDONED | -2 | 0 |
436138,1 | Do not store the accumulator in optional chaining call | 6.4 | qt/qtdeclarative | Status: ABANDONED | +2 | 0 |