QmlJS: Fix type detection for alias properties.

Task-number: QTCREATORBUG-2306
This commit is contained in:
Christian Kamm
2011-05-04 11:12:45 +02:00
parent 6bb08f1bf9
commit 02b7eacf4b
17 changed files with 84 additions and 115 deletions

View File

@@ -52,7 +52,7 @@ class QMLJS_EXPORT Check: protected AST::Visitor
typedef QSet<QString> StringSet;
public:
Check(Document::Ptr doc, const Snapshot &snapshot, const Interpreter::Context *linkedContextNoScope);
Check(Document::Ptr doc, const Interpreter::Context *linkedContextNoScope);
virtual ~Check();
QList<DiagnosticMessage> operator()();
@@ -125,7 +125,6 @@ private:
AST::Node *parent(int distance = 0);
Document::Ptr _doc;
Snapshot _snapshot;
Interpreter::Context _context;
ScopeBuilder _scopeBuilder;