typelib: Fix crash when handling array types

This commit is contained in:
James Westman 2023-02-16 20:39:43 -06:00
parent 1df46b5a06
commit 9fcb63a013
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6
5 changed files with 36 additions and 4 deletions

View file

@ -0,0 +1,6 @@
using Gtk 4.0;
using Adw 1;
Adw.AboutWindow {
developers: Gtk.StringList {};
}

View file

@ -0,0 +1 @@
5,15,17,Cannot assign Gtk.StringList to string[]

View file

@ -231,6 +231,7 @@ class TestSamples(unittest.TestCase):
self.assert_sample_error("signal_object_dne")
self.assert_sample_error("size_group_non_widget")
self.assert_sample_error("size_group_obj_dne")
self.assert_sample_error("strv")
self.assert_sample_error("styles_in_non_widget")
self.assert_sample_error("two_templates")
self.assert_sample_error("uint")