src/Lsp.vala
authorAlan Knowles <alan@roojs.com>
Thu, 18 Jan 2024 15:23:39 +0000 (23:23 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 18 Jan 2024 15:23:39 +0000 (23:23 +0800)
src/Lsp.vala

index be22342..85b7ee3 100644 (file)
@@ -368,10 +368,13 @@ namespace Lsp {
 
                public bool deserialize_property (string property_name, out Value value, ParamSpec pspec, Json.Node property_node) 
            {
+               
+               
                if (property_name != "children") {
                    return default_deserialize_property (property_name, out value, pspec, property_node);
                }
                if (property_node.get_node_type () != Json.NodeType.ARRAY) {
+                       value = Value (typeof (Array));
                    warning ("unexpected property node type for 'arguments' %s", property_node.get_node_type ().to_string ());
                    return false;
                }