Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.6.1, 5.10.1
-
None
Description
Let's say there are 2 js files:
Bar.js:
function say() {
console.log("BAR")
}
Foo.js:
function say() { console.log("FOO") } this.say = say;
and the main.qml:
... import "Foo.js" as Foo import "Bar.js" as Bar ... Component.onCompleted: { Foo.say(); Bar.say(); // ! say(); // !!! }
The output is wrong:
qml: FOO qml: FOO qml: FOO
Attachments
Issue Links
- relates to
-
QTBUG-51581 JavaScript object corruption due to Array.concat
- Closed