In many cases, we were passing a fresh scope to the QQmlJSImportVisitor as the target. Add a new constructor whih takes care of this, and use it wherever possilbe. This allows disambiguating between call-sites that update an existing scope, and those which will create a new one. Change-Id: I140c349ac2f17371b7916d38225170420053a718 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> |
||
---|---|---|
.. | ||
QQmlJSScopeTests | ||
QualifiedNamesTests | ||
data | ||
CMakeLists.txt | ||
tst_qqmljsscope.cpp |