summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeimportorder/data/w.js
diff options
context:
space:
mode:
authorRobin Burchell <robin.burchell@jollamobile.com>2012-12-05 02:12:30 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-12-12 00:37:41 +0100
commit6d7d47551de18509a382185e1216632f3d862f01 (patch)
tree036489386a42fba4009772c24700f335380daeb4 /tests/auto/declarative/qdeclarativeimportorder/data/w.js
parentcae858768f7d16b79f3627cd5b077da89dc0c7c9 (diff)
Process imports in the order they appear in the code.
By placing imports into a hash keyed by the qualifier, imports were not processed in the order they appeared in the source. This is perhaps not a major problem, but it is nice to have predictability. This becomes more important in Qt 5, when QHash is randomly seeded at application startup, as alterations to order could have strange side effects on code. Reported-by: Maciej Blomberg Change-Id: Ibd34fab1eed4bc727b498ba4684c62d801ae713b Reviewed-by: Matthew Vogt <matthew.vogt@qinetic.com.au> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'tests/auto/declarative/qdeclarativeimportorder/data/w.js')
-rw-r--r--tests/auto/declarative/qdeclarativeimportorder/data/w.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativeimportorder/data/w.js b/tests/auto/declarative/qdeclarativeimportorder/data/w.js
new file mode 100644
index 00000000..ecefb1d0
--- /dev/null
+++ b/tests/auto/declarative/qdeclarativeimportorder/data/w.js
@@ -0,0 +1 @@
+console.log("w.js")