forked from qt-creator/qt-creator
QmlJS: Introduce UnknownValue.
To distinguish known-to-be-undefined from a genuinely unknown value. Change-Id: I606b4ea4d726f94553400b8950d3c0a4e76564a8 Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
This commit is contained in:
@@ -165,7 +165,7 @@ Link::Link(const Snapshot &snapshot, const QStringList &importPaths, const Libra
|
||||
if (!cppTypeName.isEmpty())
|
||||
value = d->valueOwner->cppQmlTypes().objectByCppName(cppTypeName);
|
||||
if (!value)
|
||||
value = d->valueOwner->undefinedValue();
|
||||
value = d->valueOwner->unknownValue();
|
||||
global->setMember(it.key(), value);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user