language: Add cast expressions

This commit is contained in:
James Westman 2022-12-23 23:24:29 -06:00
parent 2033bd9e16
commit 5cf9b63547
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6
15 changed files with 122 additions and 20 deletions

View file

@ -5,5 +5,5 @@ Overlay {
}
Label {
label: bind (label.parent).child.label;
label: bind (label.parent) as (Overlay).child as (Label).label;
}

View file

@ -8,9 +8,9 @@
</object>
<object class="GtkLabel">
<binding name="label">
<lookup name="label">
<lookup name="child">
<lookup name="parent">
<lookup name="label" type="GtkLabel">
<lookup name="child" type="GtkOverlay">
<lookup name="parent" type="GtkLabel">
<constant>label</constant>
</lookup>
</lookup>