Support array type

This commit is contained in:
Diego Augusto 2024-07-04 22:02:51 +00:00 committed by Sonny Piers
parent f1cf70b6eb
commit da5b9909fc
16 changed files with 133 additions and 4 deletions

View file

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

View file

@ -0,0 +1 @@
4,12,3,Cannot assign array to string

View file

@ -0,0 +1,6 @@
using Gtk 4.0;
AboutDialog about {
valign: center;
authors: [1];
}

View file

@ -0,0 +1 @@
5,15,1,Cannot convert number to string

View file

@ -0,0 +1,6 @@
using Gtk 4.0;
AboutDialog about {
valign: center;
authors: ["Olimar\n"];
}

View file

@ -0,0 +1 @@
5,15,10,String literals inside arrays can't contain newlines

View file

@ -0,0 +1,6 @@
using Gtk 4.0;
AboutDialog about {
valign: center;
authors: ["Olimar\n", "Luie\nPresident"];
}

View file

@ -0,0 +1,2 @@
5,15,10,String literals inside arrays can't contain newlines
5,27,17,String literals inside arrays can't contain newlines