Validate object types

This commit is contained in:
James Westman 2021-11-05 00:44:33 -05:00
parent a0ba59af77
commit d89f2356b4
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6
11 changed files with 126 additions and 33 deletions

View file

@ -0,0 +1,6 @@
using Gtk 4.0;
Box box {}
Label {
label: box;
}

View file

@ -0,0 +1 @@
5,10,3,Cannot assign Gtk.Box to string

View file

@ -0,0 +1,5 @@
using Gtk 4.0;
Scale {
adjustment: Label {};
}

View file

@ -0,0 +1 @@
4,3,21,Cannot assign Gtk.Label to Gtk.Adjustment

View file

@ -0,0 +1,5 @@
using Gtk 4.0;
Label {
label: my_label;
}

View file

@ -0,0 +1 @@
4,10,8,Could not find object with ID my_label