]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
libvaladoc: Don't filter-out generic type-parameters of delegates
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 19 Oct 2020 11:51:58 +0000 (13:51 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 3 Jan 2021 11:47:48 +0000 (12:47 +0100)
libvaladoc/api/delegate.vala

index 9db4d9f104fba2dc0c1bc5e0c0b574dd81391bb1..2eaf4c24bb3e36090729102ae0b04d9a96ed462c 100644 (file)
@@ -96,7 +96,7 @@ public class Valadoc.Api.Delegate : TypeSymbol, Callable {
                signature.append_content (return_type.signature);
                signature.append_symbol (this);
 
-               var type_parameters = get_children_by_type (NodeType.TYPE_PARAMETER);
+               var type_parameters = get_children_by_type (NodeType.TYPE_PARAMETER, false);
                if (type_parameters.size > 0) {
                        signature.append ("<", false);
                        bool first = true;