aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmllint
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2021-11-16 10:26:51 +0100
committerUlf Hermann <ulf.hermann@qt.io>2021-11-18 11:23:01 +0100
commitd1aade8efda4f59926ff60e7c53e8a941921d96e (patch)
treec428ce47ca29b05fe09ac4818ac71d4fefb7c785 /tools/qmllint
parent84b3e889b8a9b281be6c19f747e4d230163d3909 (diff)
Remove QQmlJSTypeResolver::Semantics
We only support dynamic semantics here. Task-number: QTBUG-98305 Change-Id: I520da912062917e40e5628d003558fe80b612948 Reviewed-by: Maximilian Goldstein <max.goldstein@qt.io>
Diffstat (limited to 'tools/qmllint')
-rw-r--r--tools/qmllint/codegen.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/qmllint/codegen.cpp b/tools/qmllint/codegen.cpp
index 78336ac3c3..7404ce220d 100644
--- a/tools/qmllint/codegen.cpp
+++ b/tools/qmllint/codegen.cpp
@@ -54,8 +54,7 @@ void Codegen::setDocument(QmlIR::JSCodeGen *codegen, QmlIR::Document *document)
m_unitGenerator = &document->jsGenerator;
m_entireSourceCodeLines = document->code.split(u'\n');
m_typeResolver = std::make_unique<QQmlJSTypeResolver>(
- m_importer, document,
- QQmlJSTypeResolver::Indirect, QQmlJSTypeResolver::Dynamic, m_logger);
+ m_importer, document, QQmlJSTypeResolver::Indirect, m_logger);
// Type resolving is using document parent mode here so that it produces fewer false positives
// on the "parent" property of QQuickItem. It does produce a few false negatives this way