Fix completion and checking for Script elements. Update Qml type xml.

* The "Script" type is now implicitly available without imports.
* No errors for bindings inside a Connections element.

Reviewed-by: Roberto Raggi
This commit is contained in:
Christian Kamm
2010-03-03 11:36:42 +01:00
parent 93dbb3a5fc
commit 08b9323f0c
5 changed files with 1493 additions and 1339 deletions

View File

@@ -170,7 +170,7 @@ ObjectValue *Bind::bindObject(UiQualifiedId *qualifiedTypeNameId, UiObjectInitia
// Script blocks all contribute to the same scope
parentObjectValue = switchObjectValue(_functionEnvironment);
processScript(qualifiedTypeNameId, initializer);
return switchObjectValue(parentObjectValue);
switchObjectValue(parentObjectValue);
}
// normal component instance