From 8e5eaf821ff52c8b995b784217edee986e2d739d Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Mon, 13 Dec 2010 16:46:29 +0100 Subject: QMlJSCheck: Components have their own scope for ids Each Components starts a new scope for ids. Using a stack to check this properly. --- src/libs/qmljs/qmljscheck.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libs/qmljs/qmljscheck.h') diff --git a/src/libs/qmljs/qmljscheck.h b/src/libs/qmljs/qmljscheck.h index 9bbb6595fa..e6df22db14 100644 --- a/src/libs/qmljs/qmljscheck.h +++ b/src/libs/qmljs/qmljscheck.h @@ -131,7 +131,7 @@ private: const Interpreter::Value *_lastValue; QList _chain; - QSet m_ids; + QStack m_idStack; QStack m_propertyStack; }; -- cgit v1.2.1