From 6d7d47551de18509a382185e1216632f3d862f01 Mon Sep 17 00:00:00 2001 From: Robin Burchell Date: Wed, 5 Dec 2012 02:12:30 +0100 Subject: 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 Reviewed-by: Lars Knoll --- tests/auto/declarative/qdeclarativeimportorder/data/w.js | 1 + 1 file changed, 1 insertion(+) create mode 100644 tests/auto/declarative/qdeclarativeimportorder/data/w.js (limited to 'tests/auto/declarative/qdeclarativeimportorder/data/w.js') 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") -- cgit v1.2.3