summaryrefslogtreecommitdiff
path: root/vala/valareturnstatement.vala
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2021-10-23 15:27:12 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2021-10-23 15:27:12 +0200
commit0751a9e3bf46fc830d3e7ca3d0cfd3ae48846e68 (patch)
tree464634917a26c07c3aabacbe21f8d2c4a37111c2 /vala/valareturnstatement.vala
parentd1232b99558aa7367605ab49e7a8511d4ea98162 (diff)
downloadvala-0751a9e3bf46fc830d3e7ca3d0cfd3ae48846e68.tar.gz
Use ErrorType-based collection for CodeNode.get_error_types()
Diffstat (limited to 'vala/valareturnstatement.vala')
-rw-r--r--vala/valareturnstatement.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/vala/valareturnstatement.vala b/vala/valareturnstatement.vala
index 3873083ee..7a9f14c45 100644
--- a/vala/valareturnstatement.vala
+++ b/vala/valareturnstatement.vala
@@ -70,7 +70,7 @@ public class Vala.ReturnStatement : CodeNode, Statement {
}
}
- public override void get_error_types (Collection<DataType> collection, SourceReference? source_reference = null) {
+ public override void get_error_types (Collection<ErrorType> collection, SourceReference? source_reference = null) {
if (return_expression != null) {
return_expression.get_error_types (collection, source_reference);
}