aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qqmlcodegenerator_p.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-09-17 17:23:49 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-20 14:26:59 +0200
commitc5a8d5b331352e9a1a0a4be7571add641b22238c (patch)
tree10619b0b49fd1df82437a93147282daf01c3f193 /src/qml/compiler/qqmlcodegenerator_p.h
parent9702c226edbb58aede140af91b13136b7cd810d8 (diff)
[new compiler] Improve error handling and sanity checking for object ids
Disallow properties called id.foo.bar as well as id: Object {} Change-Id: I3e31875a5863b5b4d4f9f7dd6c74d337eea3dfb2 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/compiler/qqmlcodegenerator_p.h')
-rw-r--r--src/qml/compiler/qqmlcodegenerator_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/compiler/qqmlcodegenerator_p.h b/src/qml/compiler/qqmlcodegenerator_p.h
index 4562e88d34..0fecd84684 100644
--- a/src/qml/compiler/qqmlcodegenerator_p.h
+++ b/src/qml/compiler/qqmlcodegenerator_p.h
@@ -230,7 +230,7 @@ public:
// resolves qualified name (font.pixelSize for example) and returns the last name along
// with the object any right-hand-side of a binding should apply to.
- AST::UiQualifiedId *resolveQualifiedId(AST::UiQualifiedId *name, QmlObject **object);
+ bool resolveQualifiedId(AST::UiQualifiedId **nameToResolve, QmlObject **object);
bool sanityCheckPropertyName(const AST::SourceLocation &nameLocation, int nameIndex, bool isListItem = false);