diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2020-11-20 13:13:23 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2020-11-20 20:41:13 +0100 |
commit | 89636733ba3872b9c29ed712e0723b576f65f3ff (patch) | |
tree | e6a955df4b8db878e70438b1c98fbde2a2028fc1 /tests/auto/qml/qmllint/data/jsmoduleimport.qml | |
parent | f1a9c9b4273ec6104a0543b5cf48281141f613e6 (diff) |
qmllint: Don't crash when importing ES modules
Change-Id: Ica93a3e3fb0eb99be1498f1fcb94b09c113272d7
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/qml/qmllint/data/jsmoduleimport.qml')
-rw-r--r-- | tests/auto/qml/qmllint/data/jsmoduleimport.qml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/jsmoduleimport.qml b/tests/auto/qml/qmllint/data/jsmoduleimport.qml new file mode 100644 index 0000000000..c1fad7fee2 --- /dev/null +++ b/tests/auto/qml/qmllint/data/jsmoduleimport.qml @@ -0,0 +1,6 @@ +import QtQml 2.0 +import "script.mjs" as Script + +QtObject { + property bool ok: Script.ok() +} |