diff options
Diffstat (limited to 'src/qmlcompiler/qqmljstypepropagator_p.h')
-rw-r--r-- | src/qmlcompiler/qqmljstypepropagator_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qmlcompiler/qqmljstypepropagator_p.h b/src/qmlcompiler/qqmljstypepropagator_p.h index bab88a003a..4b48fe064d 100644 --- a/src/qmlcompiler/qqmljstypepropagator_p.h +++ b/src/qmlcompiler/qqmljstypepropagator_p.h @@ -208,9 +208,10 @@ private: bool needsMorePasses = false; }; - void handleUnqualifiedAccess(const QString &name) const; + void handleUnqualifiedAccess(const QString &name, bool isMethod) const; void checkDeprecated(QQmlJSScope::ConstPtr scope, const QString &name, bool isMethod) const; bool checkRestricted(const QString &propertyName) const; + bool isCallingProperty(QQmlJSScope::ConstPtr scope, const QString &name) const; bool isMissingPropertyType(QQmlJSScope::ConstPtr scope, const QString &type) const; QQmlJS::SourceLocation getCurrentSourceLocation() const; QQmlJS::SourceLocation getCurrentBindingSourceLocation() const; |