Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.2.1
-
None
-
Qt 5.2.1 for 32bit Visual C++ 2010 32bit on Windows 7
-
de11a78c625b0865f8cd3d0cfe446cba2bdb719e
Description
I wanted to add '|| {}' as a default for a potentially uninitiallized y.
Evaluation of the following two lines then resulted in a crash:
var y = {};
for(var x in y || {}) ;
I'm not sure whether this is valid JavaScript at all. However even when it's not there should be an error instead of an crash.
Attachments
For Gerrit Dashboard: QTBUG-38187 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
83362,1 | V4 IR: only mark blocks after iterator calculation as loop blocks. | stable | qt/qtdeclarative | Status: ABANDONED | -1 | 0 |
83365,1 | V4 IR: only mark blocks after iterator calculation as loop blocks. | release | qt/qtdeclarative | Status: MERGED | +2 | 0 |