From 2fff849ae12e3cdaa1fcb28817c72bc95a6d44e6 Mon Sep 17 00:00:00 2001
From: Christian Kamm <christian.d.kamm@nokia.com>
Date: Tue, 28 Sep 2010 15:50:42 +0200
Subject: [PATCH] QmlJS: Fix initializer of property declaration not being
 visited in Bind

This lead to the semantic checker reporting incorrect errors in these
initializers.

Task-number: QTCREATORBUG-2340
Reviewed-by: Roberto Raggi
---
 src/libs/qmljs/qmljsbind.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libs/qmljs/qmljsbind.cpp b/src/libs/qmljs/qmljsbind.cpp
index d1f0847c994..1cdf8e2b5e0 100644
--- a/src/libs/qmljs/qmljsbind.cpp
+++ b/src/libs/qmljs/qmljsbind.cpp
@@ -232,7 +232,7 @@ bool Bind::visit(UiImport *ast)
 bool Bind::visit(UiPublicMember *)
 {
     // nothing to do.
-    return false;
+    return true;
 }
 
 bool Bind::visit(UiObjectDefinition *ast)
-- 
GitLab