QmlJS: Add semantic errors to task window.

Task-number: QTCREATORBUG-4103
Reviewed-by: Leandro Melo
This commit is contained in:
Christian Kamm
2011-04-21 11:09:29 +02:00
parent e21311132b
commit c504d28eb5
11 changed files with 203 additions and 51 deletions

View File

@@ -626,7 +626,7 @@ static void find_helper(QFutureInterface<FindReferences::Usage> &future,
if (!doc)
return;
Link link(&context, doc, snapshot, ModelManagerInterface::instance()->importPaths());
Link link(&context, snapshot, ModelManagerInterface::instance()->importPaths());
ScopeBuilder builder(&context, doc, snapshot);
ScopeAstPath astPath(doc);
builder.push(astPath(offset));