QQmlJSImporter: Pass the source location to the result
Change-Id: I8c52efc752fbeae4485d7cc2112d615707e2afd1 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
parent
a45e31a42d
commit
bf3e56d823
|
@ -84,6 +84,7 @@ QQmlJSScope::Ptr QQmlJSImportVisitor::result() const
|
||||||
result->addEnum(enumerator);
|
result->addEnum(enumerator);
|
||||||
|
|
||||||
result->resolveTypes(m_rootScopeImports);
|
result->resolveTypes(m_rootScopeImports);
|
||||||
|
result->setSourceLocation(m_qmlRootScope->sourceLocation());
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue