aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qqmltypecompiler_p.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2014-02-10 20:55:20 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-17 08:49:01 +0100
commit9aaf693e40616943c64c4c60637251bd2e940e69 (patch)
treedcd980ec842af4d74aa5d12213da4d1be946f9f5 /src/qml/compiler/qqmltypecompiler_p.h
parent43b7788b395b663f64d50652d46a2ac434b0d7c6 (diff)
[new compiler] Implement compile time error handling for lists
Change-Id: Ic26e8a01995c296ab9cd4deb8714a5cf17cfdf2b Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/compiler/qqmltypecompiler_p.h')
-rw-r--r--src/qml/compiler/qqmltypecompiler_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/compiler/qqmltypecompiler_p.h b/src/qml/compiler/qqmltypecompiler_p.h
index 2e97d13481..0a20e0dd54 100644
--- a/src/qml/compiler/qqmltypecompiler_p.h
+++ b/src/qml/compiler/qqmltypecompiler_p.h
@@ -232,6 +232,8 @@ private:
bool isComponent(int objectIndex) const { return objectIndexToIdPerComponent.contains(objectIndex); }
+ bool canCoerce(int to, QQmlPropertyCache *fromMo);
+
QQmlEnginePrivate *enginePrivate;
const QV4::CompiledData::QmlUnit *qmlUnit;
const QHash<int, QQmlCompiledData::TypeReference*> &resolvedTypes;