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

@ -0,0 +1,5 @@
using Gtk 4.0;
Overlay overlay {
margin-bottom: bind overlay.child as (Adjustment).value;
}

View file

@ -0,0 +1 @@
4,37,15,Invalid cast. No instance of Gtk.Widget can be an instance of Gtk.Adjustment.

View file

@ -0,0 +1,5 @@
using Gtk 4.0;
Overlay overlay {
margin-bottom: bind overlay.child as (Label).not-a-property;
}

View file

@ -0,0 +1 @@
4,48,14,Gtk.Label does not have a property called not-a-property

View file

@ -0,0 +1,5 @@
using Gtk 4.0;
Overlay overlay {
margin-bottom: bind overlay.margin-bottom.what;
}

View file

@ -0,0 +1 @@
4,45,4,Type int does not have properties

View file

@ -1 +1 @@
4,3,19,Class Gtk.Label does not contain a property called not-a-real-property
4,3,19,Class Gtk.Label does not have a property called not-a-real-property