]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
WIP
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 12 Jun 2023 15:42:59 +0000 (17:42 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 30 Jan 2024 14:19:43 +0000 (15:19 +0100)
vala/valaclass.vala
vala/valadelegate.vala
vala/valainterface.vala
vala/valamethod.vala
vala/valaobjecttypesymbol.vala
vala/valastruct.vala

index cf2943e4de15a4bd6455b8580f003833671c769c..f8bf6f785e6f3ddaab1c69ee82807a3c6b53c5c1 100644 (file)
@@ -571,10 +571,6 @@ public class Vala.Class : ObjectTypeSymbol {
                        context.analyzer.check_type (type);
                }
 
-               foreach (TypeParameter p in get_type_parameters ()) {
-                       p.check (context);
-               }
-
                if (base_class != null && base_class.is_singleton) {
                        error = true;
                        Report.error (source_reference, "`%s' cannot inherit from SingleInstance class `%s'", get_full_name (), base_class.get_full_name ());
index 348ce56309ba2c66f2b1b3f4a94f60e7d0102f09..b118d38e149de325474d80c486761ba2617e5b3f 100644 (file)
@@ -314,7 +314,7 @@ public class Vala.Delegate : TypeSymbol, Callable, GenericSymbol {
                        context.analyzer.current_source_file = source_reference.file;
                }
 
-               foreach (TypeParameter p in type_parameters) {
+               foreach (TypeParameter p in get_type_parameters ()) {
                        if (!p.check (context)) {
                                error = true;
                        }
index 91c81789708596f6f0ee3390ed97d8b83c058eda..a8e1e77c3c69d5b5aa6add7faed5f0e277a0f8b3 100644 (file)
@@ -211,10 +211,6 @@ public class Vala.Interface : ObjectTypeSymbol {
                        context.analyzer.check_type (type);
                }
 
-               foreach (TypeParameter p in get_type_parameters ()) {
-                       p.check (context);
-               }
-
                foreach (Enum en in get_enums ()) {
                        en.check (context);
                }
index 6122e45fe21c359b6b76be8db74c2772f42ae99b..7876a76f250fe1de3d25ef7759905d9f6443b1fd 100644 (file)
@@ -901,7 +901,7 @@ public class Vala.Method : Subroutine, Callable, GenericSymbol {
                        return TraverseStatus.CONTINUE;
                });
 
-               foreach (TypeParameter p in type_parameters) {
+               foreach (TypeParameter p in get_type_parameters ()) {
                        if (!p.check (context)) {
                                error = true;
                        }
index 11735cf11bf4ae9f61b22ae4cd6a7d605a5a6fa7..0ba8c6d70155aabedaa03530551d0ce6d1f94344 100644 (file)
@@ -386,7 +386,7 @@ public abstract class Vala.ObjectTypeSymbol : TypeSymbol, GenericSymbol {
                        Report.error (source_reference, "gio-2.0 package required for DBus support");
                }
 
-               foreach (TypeParameter p in type_parameters) {
+               foreach (TypeParameter p in get_type_parameters ()) {
                        if (!p.check (context)) {
                                error = true;
                        }
index 48092517765434223c14d05bf4c13de787d01081..70a184ef413d83c700a67a4c5fdd8a9324e8a6bf 100644 (file)
@@ -522,7 +522,7 @@ public class Vala.Struct : TypeSymbol, GenericSymbol {
                        }
                }
 
-               foreach (TypeParameter p in type_parameters) {
+               foreach (TypeParameter p in get_type_parameters ()) {
                        if (!p.check (context)) {
                                error = true;
                        }