forked from qt-creator/qt-creator
QmlJS: Reactivate instantiating component scope detection.
* Bind::usesQmlPrototype is now significantly more performant * type environments are no longer hashed by filename, but rather by Document * * duplicate scope builds are avoided Task-number: QTCREATORBUG-2835 Reviewed-by: Erik Verbruggen
This commit is contained in:
@@ -342,7 +342,7 @@ private:
|
||||
|
||||
QSharedPointer<Engine> _engine;
|
||||
QHash<const ObjectValue *, Properties> _properties;
|
||||
QHash<QString, const TypeEnvironment *> _typeEnvironments;
|
||||
QHash<const Document *, const TypeEnvironment *> _typeEnvironments;
|
||||
ScopeChain _scopeChain;
|
||||
int _qmlScopeObjectIndex;
|
||||
bool _qmlScopeObjectSet;
|
||||
|
||||
Reference in New Issue
Block a user