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.