summaryrefslogtreecommitdiff
path: root/vala/valaforeachstatement.vala
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2021-10-25 09:13:51 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2021-10-25 09:15:30 +0200
commit01affa4019bab9c4cc2366cd2224148c1bfb3bea (patch)
treeeb1715d9c17a0d8d05e6d744a35435d6a59a75ea /vala/valaforeachstatement.vala
parent9c2566584ec7f50715a7490c7d4e112506045585 (diff)
downloadvala-01affa4019bab9c4cc2366cd2224148c1bfb3bea.tar.gz
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.
Diffstat (limited to 'vala/valaforeachstatement.vala')
-rw-r--r--vala/valaforeachstatement.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/vala/valaforeachstatement.vala b/vala/valaforeachstatement.vala
index ef957839d..3d8ce2ba9 100644
--- a/vala/valaforeachstatement.vala
+++ b/vala/valaforeachstatement.vala
@@ -413,7 +413,7 @@ public class Vala.ForeachStatement : Block {
return !error;
}
- public override void get_error_types (Collection<ErrorType> collection, SourceReference? source_reference = null) {
+ public override void get_error_types (Collection<DataType> collection, SourceReference? source_reference = null) {
if (source_reference == null) {
source_reference = this.source_reference;
}