mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
typelib: Fix crash when handling array types
This commit is contained in:
parent
1df46b5a06
commit
9fcb63a013
5 changed files with 36 additions and 4 deletions
6
tests/sample_errors/strv.blp
Normal file
6
tests/sample_errors/strv.blp
Normal file
|
@ -0,0 +1,6 @@
|
|||
using Gtk 4.0;
|
||||
using Adw 1;
|
||||
|
||||
Adw.AboutWindow {
|
||||
developers: Gtk.StringList {};
|
||||
}
|
1
tests/sample_errors/strv.err
Normal file
1
tests/sample_errors/strv.err
Normal file
|
@ -0,0 +1 @@
|
|||
5,15,17,Cannot assign Gtk.StringList to string[]
|
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue