Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.9.1
-
Windows 10 + MSVC 2015 + Qt 5.9.1
Description
Javascript code using with statement like this
var myItem = {'a': 3, 'b': 4} with (myItem) { console.log("a = " + a) }
When using quick compiler it produces an error
.qtquickcompiler\main_qml.cpp(67): error C2664: 'void QV4::Runtime::method_pushWithScope(const QV4::Value &,QV4::NoThrowEngine *)': cannot convert argument 2 from 'QV4::ExecutionEngine *' to 'QV4::NoThrowEngine *' .qtquickcompiler\main_qml.cpp(67): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Attachments
For Gerrit Dashboard: QTBUG-63287 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
205901,2 | Fix compilation of generated code when using with statement | 5.9 | qt/tqtc-qmlcompiler | Status: MERGED | +2 | 0 |