mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
tests: Test custom types in lookup expressions
This commit is contained in:
parent
76a482affb
commit
cd33266452
11 changed files with 93 additions and 7 deletions
|
@ -70,7 +70,7 @@ class UI(AstNode, Scope):
|
|||
xml.end_tag()
|
||||
|
||||
return {
|
||||
id: ScopeVariable(id, obj.gir_class, lambda xml: emit_xml(xml, id))
|
||||
id: ScopeVariable(id, obj.gir_class, lambda xml, id=id: emit_xml(xml, id), obj.glib_type_name)
|
||||
for id, obj in self.objects_by_id.items()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue