From: JCWasmx86 Date: Sat, 4 Jun 2022 17:17:17 +0000 (+0200) Subject: Don't use arrays in generics X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b5fce811de5614e55a0808150c8571e02551c36;p=thirdparty%2Fvala.git Don't use arrays in generics --- diff --git a/dbusgen/valadbusvariantmodule.vala b/dbusgen/valadbusvariantmodule.vala index e9ee82aaa..d8503ae71 100644 --- a/dbusgen/valadbusvariantmodule.vala +++ b/dbusgen/valadbusvariantmodule.vala @@ -177,7 +177,7 @@ public class Vala.DBusVariantModule { var res = dictionary_type.copy (); var key = get_variant_type (element.key ()); var value = get_variant_type (element.value ()); - if (key != null && value != null) { + if (key != null && value != null && !(key is ArrayType) && !(value is ArrayType)) { res.add_type_argument (key); res.add_type_argument (value); return res;