diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2021-02-18 10:32:53 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2021-02-19 13:14:16 +0100 |
commit | e59957d2c46bb52ab5fefeb91ace7e192558373a (patch) | |
tree | 30d00552dff87d66a376df7f35706c7e7ffd52ab /src/qmlcompiler/qqmljsscope_p.h | |
parent | 33937b28180d8e653e47b9e34c03972553976c6f (diff) |
qmllint: Resolve attached property scopes
Previously, all attached property scopes were just ignored.
Task-number: QTBUG-84369
Change-Id: I324becf92402eacea9d150e6e51359edae562dde
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
(cherry picked from commit f34ecc8f99522b69d1aaa3d5d233add9ed9b6da9)
Diffstat (limited to 'src/qmlcompiler/qqmljsscope_p.h')
-rw-r--r-- | src/qmlcompiler/qqmljsscope_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qmlcompiler/qqmljsscope_p.h b/src/qmlcompiler/qqmljsscope_p.h index 9cb08c655e..8f095cffbf 100644 --- a/src/qmlcompiler/qqmljsscope_p.h +++ b/src/qmlcompiler/qqmljsscope_p.h @@ -95,7 +95,8 @@ public: JSFunctionScope, JSLexicalScope, QMLScope, - GroupedPropertyScope + GroupedPropertyScope, + AttachedPropertyScope }; enum class AccessSemantics { @@ -260,7 +261,6 @@ public: } void resolveTypes(const QHash<QString, ConstPtr> &contextualTypes); - void resolveGroupedScopes(); void setSourceLocation(const QQmlJS::SourceLocation &sourceLocation) { |