From 01affa4019bab9c4cc2366cd2224148c1bfb3bea Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Mon, 25 Oct 2021 09:13:51 +0200 Subject: Revert "Use ErrorType-based collection for CodeNode.get_error_types()" Unfortunately, it is causing issues with the way the GIR/GIDL parser works. This reverts commit 0751a9e3bf46fc830d3e7ca3d0cfd3ae48846e68. --- vala/valadeclarationstatement.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vala/valadeclarationstatement.vala') diff --git a/vala/valadeclarationstatement.vala b/vala/valadeclarationstatement.vala index c6841ea2d..30732b4a6 100644 --- a/vala/valadeclarationstatement.vala +++ b/vala/valadeclarationstatement.vala @@ -62,7 +62,7 @@ public class Vala.DeclarationStatement : CodeNode, Statement { declaration.accept (visitor); } - public override void get_error_types (Collection collection, SourceReference? source_reference = null) { + public override void get_error_types (Collection collection, SourceReference? source_reference = null) { if (source_reference == null) { source_reference = this.source_reference; } -- cgit v1.2.1